Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Help Me Build A Graph!
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
bentpin
Posted: Apr 6 2014, 08:43 PM


Advanced Member


Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14



Ok,

I realize I have three threads open. There's just so much to read in each, I don't think any one wants to go through that.

I have been puttering around with graphedit, then graphstudio, and now graphstudionext 64.

I made a working render in graphstudio, but couldn't see any 64bit stuff.

Then, I downloaded GSN, and voila! 64bits.



Using VMR9 and the default directsound device, I get playthrough of my capture card! Looks great, sounds fine.


So, now I want to build one that will render to a file.

Here are the specs (I believe) of what is coming out of my capture card:

    AJA Corvid 3G

    18.7 mbit/s 4:2:2

    MPEG-2 MP@ML with I-frame/B-frame GOP structure.
    10:1 compression

    it is not MPEG IMX


    480i @ 29.97
    or
    576i @ 25

    507 active lines per inch

    sampling frequency

    Y= 13.5Mhz
    R-Y/B-Y = 6.75Mhz

    8 bits per sample



    audio

    48 Khz
    16 bits/sample


What needs to go in between the file writer and the capture card to get the best output?

I've tried a few things in 64bit, but no success so far.

Thanks!!

Shawn

 
     Top
-vdub-
Posted: Apr 7 2014, 08:26 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



I'll have a go without any capture device. Thinking about it quaickly maybe something like this could work

Capture Device > Infinite Pin Tee > Video Encoder > Muxer > Destination
___________________________ > Audio Encoder >


I'll have a go at that, few minutes later. The above is correct and works you only need to add replace set properties for what your needing. You maybe could add a few more filters for monitoring what your capturing

WMT Screen Capture Filter > Infinite Pin Tee Filter > Video Encoder (I used Lagarith to test with) > Avi Mux > FileWriter
 
    Top
bentpin
Posted: Apr 7 2014, 09:14 PM


Advanced Member


Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14



THANKS!

I'll try it soon as I get home.

I poked around, and really didn't find a good combination. got one to work, but it was incredibly stuttery..


Thanks!



Shawn
 
     Top
bentpin
Posted: Apr 8 2014, 03:47 AM


Advanced Member


Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14



HAHA!

SUCCESS!!


I did this:

AJA CAPTURE SOURCE 0

Video pin--------------------ffdshow video encoder------->
AVI Mux----- xxxx.avi
Audio 1-2 pin---------------------------------------------->


No stutter. Great with the still output (it says 'video disconnected).

I will test it further with the Beta SX input when I get up tomorrow.

A couple of more questions, sorry...

1- Can I shove this graph into VDub somehow, or must I log footage via GraphStudioNext, then pull the rendered video into Vdub for more processing?

2-Is there a better filter set for the type of video source I am using? I read that some things compress the images too much and they come out looking bad. I can't store a gig every ten seconds of footage, either (I guess I could if I had to).


I'm off to search for a list of mulitplexers!!!

-vdub- THANKYOU THANKYOU THANK YOU THANK YOU biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif

biggrin.gif
 
     Top
-vdub-
Posted: Apr 8 2014, 06:10 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



A quick net search for 'grf to virtualdub' returns many results included these two below

VDFilter v1.6
http://www.infognition.com/VDFilter/
Though only works with RGB32 the developer pookien does post on the forum such as this post for his Video Enhancer http://forums.virtualdub.org/index.php?act...&f=7&t=22060&s=

AviSynth
http://avisynth.org.ru/docs/english/corefi...tshowsource.htm
This will give you further control, AviSynth also could have the above filter in a script if needed in a single script. Unknown if AviSynth yet has sorted out it age old problem for YUV12 and other YUV colorimeters

Capture video lossless or lossy always a big decision maker. If for example you know the capture will need further work using video filters. A trial capture is one way to determine this. Else if still undetermined which better to capture lossless and file will be huge more huge higher the capture resolution and or bitrates. If you do a small trial capture to determine if first capture should be ok. Then you could easily encode to lossy x264vfw, or similar encoder to keep highest lossy video quality. x265 still not fully developed keep an eye on this one it will be bigger than x264 and one all devices will use when it is market ready

For x264vfw there are posts here and on other sites which are the best to use. With you graph grf in virtualdub, with x264vfw downloaded form sourceforge.org and with it setting could be capturing lossy very easily. Else the Largarith encoder still seems the best for lossless video compression. There are other and I do try them as they appear even the new MagicYUV lossless video encoder. MagicYUV try with Predict-Median instead of dynamic seems t work best at least here it does. Difference is half encoding fps doubles and the encoded destination file size is halved note the version v0.9.1beta others will be different. Although as is beta maybe need the same version again to decode the file later (or not unknown)

Caveats:
. The magicYuv site http://magicyuv.com/ has also a test and compare binary so ca test it against other lossless encoders to see which is best on your setup
. MagicYuv doesn't seem to remember it's settings such as predict median (last used setting)


Audio lossless is better pcm and there is flac to compress it with

Lossy AC3 is a good choice as long as the drc limiters are deactivated. I would opt for aac because it has same audio quality with a smaller file size than ac3. Beware they aac bitrates are not the same as other audio encoders. No one actually knows what they really equate to so far they can only guess. Use a bitrate so that you cannot tell it is lossy audio to know test with speech, music and audio effects

Mux to a mp4 and maybe you won't be able to direct copy the audio with virtualdub unless use fcchandlers quicktime plugin to load the mp4 with. That said mux to mkv container and then easy to load normally the video even drag and drop should work with virtualdub also the audio aac direct copies without problem which is useful for later time line editing of the video (if needed)
 
    Top
bentpin
Posted: Apr 8 2014, 10:23 PM


Advanced Member


Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14



So,

here is today's effort.

A large company offered to let me beta test their filter. I said ok.

It doesn't work.with VLC or VDub or anything.


And, I found something else:

When no input to the capture card, card generates video says "Input disconnected" and audio beep tone.

With old software setup, when video playback started, I could see and hear, just not record (hadn't figured out graph stuff yet).

With new setup, no input records great, like last time.
With new setup, no playback is possible. No audio and video looks like Commodore 64 barfed!!



So, I don't know if I can record playback via graph, because I didn't know to try it! sad.gif sad.gif sad.gif


I read your response.

I have avisynth installed, even found a gui for it. Just do not know how to program it to find the capture card.

thank you for explanations on mux and codecs! I printed them out for later.


Shawn

Also, I see phaeron has come and went. Oh well.

PS - sorry if I am confusing. I am turned around and tired. Need to go for a jog
 
     Top
-vdub-
Posted: Apr 8 2014, 11:26 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



I noticed Phaeron visited as no new beta was posted for the problem post someone else posted could be he is coding to correct the problem Then maybe look at your post or already had and not made a reply before checking for your problem.

I have no idea about Input Disconnect in the graph other than have you got the settings correct for all the filters. If so maybe then it is actually driver related the reason why it doesn't work as it should. Did you look over at Linux sites to see if they have a modified driver that is better. You could then maybe use Wine to run Windows Virtualdub on Linux (linux, forks and clones etc). Maybe even look at Mac and use the software their to do the same if Mac has a driver. I would look at Linux et etc first

That said if you have another capture device or a web-cam that you can connect, to see the graph it builds. Or Does graph edit hook to vlc so you can see it's graph. Have you got LAV filters installed they could make more or less of a headache but worth trying deactivate if are installed or activate to see the differences. If can use LAV that takes care of some graph filters been built automatically

Every filter is beta at one time or another using graphedit or similar it's the quickest way. Though the developers can also easily build other filters to make everything connect and work and build drivers, filters, dll files ect (SDK)

Video looks like C64 check the driver and graph filter settings
 
    Top
bentpin
Posted: Apr 10 2014, 12:19 AM


Advanced Member


Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14



Well!

I spent an hour cleaning out any reference to 'AJA', then reloaded a previous driver and ds filter pack.


I can again get video and audio in vdub. I can get video only in vlc.


Most importantly, using the graph thing, I can capture to a file!! Playback works fine, no stutters or dropped frames.


That's good enough for me!!


One little question, though...

My video is interleaved.

Would it be smarter to address this in graphfilter, or run it through some other software once captured?

If it's smart to hit in one pass, is there a preferred filter / setting?


Thanks again for all the help,

Shawn
 
     Top
-vdub-
Posted: Apr 10 2014, 07:33 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Did you mean Interleaved or Interlaced ?

Progressive or Interlace Video: Progressive is always preferred for any video. Interlace ruins any video


AVI = Audio Video Interleaved

Virtualdub help file gives some further info and understanding for interleaving
 
    Top
bentpin
Posted: Apr 11 2014, 08:44 PM


Advanced Member


Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14



I am capturing video from a NTSC video camera. It's interlaced but I don't know what field first. I didn't know that's what the I stood for!
 
     Top
-vdub-
Posted: Apr 12 2014, 10:43 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Using a net search engine will answers your questions faster for the many questions you come across while capturing and more

http://en.wikipedia.org/wiki/Interlaced_video

Also many video capture and other video related help to be found
 
    Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
10 replies since Apr 6 2014, 08:43 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development