Forum Forum (
-   Capture, Record, Transfer (
-   -   Ffmpeg, VirtualDub alternative (

Hackerpcs 08-01-2020 07:33 PM

Ffmpeg, VirtualDub alternative
3 Attachment(s)
After not having any success with the Timing settings

and despite having 0 dropped/inserted frames and having slow/fast pitch sound (Sync audio to video) or audio synchronization issues (other 2 options, combination of the below two checkboxes), I've tried ffmpeg for the video capture. It's a command line program (cli) so it's a very lightweight and can do many things, with capturing video one of them.
Download the program from here
select your Windows architecture 32 or 64 bit and click Download Build below the options.
I suggest that you make a new folder to have the program there and have it available just by opening the command line. I suggest making a new "tools" folder in C: drive and then "bin" inside tools, where you put the program. After having the folder structure C:\tools\bin, from the zip file you downloaded above, extract only the 3 exe files from folder bin inside the zip file to the above directory. You must then add that folder to the PATH variable, check how to do it here
and add C:\tools\bin to it. Now you can open a command line window, type ffmpeg simply and the program will be available.

First you need to get your capture card's device name. Open a command line window and type

ffmpeg -list_devices true -f dshow -i dummy
you will see something like

[dshow @ 0000018af4c9d980] DirectShow video devices (some may be both video and audio devices)
[dshow @ 0000018af4c9d980]  "ATI TV Wonder 600 USB 2.0"
[dshow @ 0000018af4c9d980]    Alternative name "@device_pnp_\\?\usb#vid_0438&pid_b002#660749000687#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{54353d15-e717-4d94-b574-685ce1a209e9}"
[dshow @ 0000018af4c9d980] DirectShow audio devices
[dshow @ 0000018af4c9d980]  "WDM 2883 Audio"
[dshow @ 0000018af4c9d980]    Alternative name "@device_pnp_\\?\usb#vid_0438&pid_b002#660749000687#{33d9a762-90c8-11d0-bd43-00a0c911ce86}\{8dbf1283-572e-4b01-bfcc-14cfeb772501}"

You need just the name, "ATI TV Wonder 600 USB 2.0".

The capture command is like this

ffmpeg -f dshow -rtbufsize 1G -show_video_device_dialog true -show_video_crossbar_connection_dialog true -i video="ATI TV Wonder 600 USB 2.0":audio="ATI TV Wonder 600 USB 2.0" -t 02:00:00 -video_size 720x576 -framerate 25 -pixel_format yuyv422 -c:v huffyuv -c:a flac "D:\vhs_captures\capture.mkv"
you need to change the card's name if it's not an ATI 600 USB like mine, the resolution and the framerate if you aren't on PAL region and the stop condition if you don't want to stop it yourself with Ctrl+C, in which case remove the whole "-t 02:00:00". The available capture resolutions for your card can be found with

ffmpeg -list_options true -f dshow -i video="ATI TV Wonder 600 USB 2.0"
and this results in something like


[dshow @ 00000149a786d980] DirectShow video device options (from video devices)
[dshow @ 00000149a786d980]  Pin "Capture" (alternative pin name "0")
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=720x576 fps=25 max s=720x576 fps=25
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=176x144 fps=25 max s=352x288 fps=25
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=160x120 fps=25 max s=640x480 fps=25
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=352x576 fps=25 max s=352x576 fps=25
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=480x576 fps=25 max s=480x576 fps=25
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=720x480 fps=29.97 max s=720x480 fps=29.97
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=160x120 fps=29.97 max s=640x480 fps=29.97
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=176x144 fps=14.985 max s=176x144 fps=29.97
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=352x480 fps=29.97 max s=352x480 fps=29.97
[dshow @ 00000149a786d980]  pixel_format=yuyv422  min s=480x480 fps=29.97 max s=480x480 fps=29.97
[dshow @ 00000149a786d980]  Pin "Audio" (alternative pin name "3")
[dshow @ 00000149a786d980] Crossbar Switching Information for ATI TV Wonder 600 USB 2.0:
[dshow @ 00000149a786d980]  Crossbar Output pin 0: "Video Decoder" related output pin: 1 current input pin: 2 compatible input pins: 0 1 2
[dshow @ 00000149a786d980]  Crossbar Output pin 1: "Audio Decoder" related output pin: 0 current input pin: -1 compatible input pins: 3 4
[dshow @ 00000149a786d980]  Crossbar Input pin 0 - "Video Tuner" related input pin: 3
[dshow @ 00000149a786d980]  Crossbar Input pin 1 - "Video Composite" related input pin: 4
[dshow @ 00000149a786d980]  Crossbar Input pin 2 - "S-Video" related input pin: 4
[dshow @ 00000149a786d980]  Crossbar Input pin 3 - "Audio Tuner" related input pin: 0
[dshow @ 00000149a786d980]  Crossbar Input pin 4 - "Audio Line" related input pin: 1

for NTSC it's

-video_size 720x480 -framerate 29.97
Lastly you need to enter the directory and the file name of the capture.

Upon entering the command, you will see the familiar Video=>Capture filter dialog from VirtualDub where you need to select your region, PAL_B if you are on PAL region or NTSC_M if you are on NTSC

and then the dialog (Video => Crossbar in VirtualDub) where you select which connection do you use to capture, Composite or S-Video

after that the capture will start

the resulting file is HuffYUV lossless video and FLAC lossless audio (to reduce the size over uncompressed audio), packaged in matroska MKV. If you don't like the MKV and want the VirtualDub like AVI, just change the extension on the capture command to avi. If you don't like the FLAC audio, change the flac in the command line to copy and ffmpeg will simply copy the uncompressed audio to the file like VirtualDub does without compressing it to FLAC.

To actually see the picture to set up the VCR for the capture, I suggest

that doesn't have the Overlay/Preview problems that VirtualDub may have on Windows 10.

All times are GMT -5. The time now is 10:43 PM

Site design, images and content © 2002-2020 The Digital FAQ,
Forum Software by vBulletin · Copyright © 2020 Jelsoft Enterprises Ltd.