+ Reply to Thread
Results 31 to 48 of 48
-
Rgr,
can AviSynth really recognize a variable framerate (VFR in a MP4-video) completely correctly and output it for VirtualDub2 "understandable"?
(If you would have to specify a framerate for Avisynth to recognize it, then it would probably not be really accurate.)
If AviSynth can do so, then what would you have to do, step by step, to set it up for VirtualDub2 (also including the contents of a script-file)? -
Yes.
or better:Code:name1="input.mp4" a=LWLibavAudioSource(name1) AudioDub(LWLibavVideoSource(name1, fpsnum=30000,fpsden=1001), a) # for 29,97fps
but in this variant you must first create a timecode file:Code:name1="input.mp4" a=LWLibavAudioSource(name1) AudioDub(LWLibavVideoSource(name1).TimeCodeFPS(name1+".txt", fpsnum=30000,fpsden=1001), a)
Code:mp4fpsmod.exe "input.mp4" -p "input.mp4.txt"
-
Rgr,
I do not know how to use this code.
Actually I only have VirtualDub2 installed.
What I meant, what I asked for, was an appropriate guide to setting it up (step by step):
What needs to be (additionally to VirtualDub2) installed and where, what needs to be set up and where, what needs to be created and where, ...
What is all to do to make it possible that a VFR of a MP4-video is processed correctly in VirtualDub2?
First, i have to install AviSynth, right? But simply a regular Installation of a program or something special, even to make it work with VirtualDub2?
And then, what is all to do next? -
1. Download and install AviSynth:
https://www.videohelp.com/software/AviSynth-Plus
2. Download, unpack and upload to "C:\Program Files (x86)\AviSynth\plugins64" these plugins (only .dll x64 files):
https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases
https://github.com/Asd-g/TimecodeFPS/releases
3. Create a file input.avs with Notepad and place my code in it (change the file name in the content to the correct one).
4. Load the file into VDub. Done.Last edited by rgr; 5th Jul 2025 at 18:01.
-
That's never been true. VirtualDub2 tends to induce overuse of resources, incur dropped frames, etc. The likely reason is that the software was massively bloated vs. the original VirtualDub. It can sometimes work for capture, but you must have a lean system, essentially only using it for capturing. No other software, not online, nothing. (In some rarer cases, often due to Nvidia drivers, VirtualDub2 works when VirtualDub will not. But that's not even 1% of the time. Or in certain known scenarios, like Tevion/XP, due to audio preview.)
But the issue is that it broke as much as it added or fixed. Certain VirtualDub filters, and VirtualDub 1.9.x capturing, was perfectly fine. Even 1.10.x official wasn't as wonky. And the issue is that the developer of VirtualDub2 did not care. Just more of the modern "it worked for me (so who cares abut you?)" attitude.
But choice for what? I agree, it's fine for some. But terrible for others.Yes, VirtualDub2 is obviously not perfect, but still definitely my choice.
My concern would be that no amount of importing variable framerate video will be a final fix. There's always going to be issues in editing or watching. Variable framerate was such a stupid idea, a 2000s half-baked attempt to save on file size. Not to be confused with TS broadcasting, where it does (or rather did) make sense.Last edited by lordsmurf; 6th Jul 2025 at 17:07. Reason: typo
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
This has always been true, you just need to use it correctly. What I proved:
https://forum.videohelp.com/threads/416658-Nero-Video-Grabber-vs-Hauppauge-WinTV-USBli...-August-VGB300 -
But you just linked a thread that sort-of proved my point?
And it used Easycaps.
But it is nice to see, in that thread, what I've said all along:
I'm just going to back away slowly, carry on.AmaRecTV doesn't report accurately
Last edited by lordsmurf; 6th Jul 2025 at 17:17.
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
-
It's great that it reports what it loses. However, VDub doesn't lose anything, and that's somehow more important.
https://forum.videohelp.com/threads/416658-Nero-Video-Grabber-vs-Hauppauge-WinTV-USBli...e2#post2778478 -
To deal with VFR and other modern incompatibilities that VirtualDub cannot handle by default, I use Handbrake to encode the video to a standard MKV with constant frame rate (CFR), I even convert it to 25fps CFR using Handbrake (audio sync is not affected if done properly). To avoid degrading the video but also keep the file size reasonably small, I use HEVC compression with an insanely high bitrate, such as 4000K for standard definition (1000K is enough) and 10000K for HD. Since Handbrake doesn't export to PCM audio, I use AC3 with 192K bitrate (128K is enough for CD quality). I then open the MKV file in VirtualDub 2 which thanks to the insanely high bitrate is almost lossless and edit as I want. Handbrake also does a really good job to deinterlace the video, so I also do that for TV recordings, because it is done with hardware acceleration (NVEnc HEVC codec) unlike VirtualDub that is software only.
Last edited by spapakons; 30th Jul 2025 at 03:40.
-
Well after more experimentation, I discovered that Virtualdub 2 does the conversion between NTSC to PAL (29.97fps or 23.976fps to 25fps) well without stuttering. However, my HDMI capture card records video at MJPEG 1920x1080 at 60fps (when used in VirtualDub original or VirtualDub 2). These 60fps MJPEG videos are not properly converted to 25fps using the new VirtulDub 2 application. So I reserve the original VirtualDub for converting these videos to 25fps. Anything else is handled OK by VirtualDub 2, so I use that mostly and have the original as backup. Once I also noticed that the conversion from 29.97fps to 25fps was extremely slow, but it wasn't a fair judgement since the computer did a lot stuff in the background affecting performance. One workaround is to open the video in VirtualDub 2, apply the cropping and other filters and then start the Frame Server. This produces a .vdr signpost file which cannot opened directly in other apps. I use a small AVISynth script to open it and save the script as .avs file. Some apps can open .avs files directly. For those that cannot, I open this file with the avfs utility of Vapoursynth to produce virtual .avi and .wav files which can be used in any other application. So I can import the virtual .wav file in Adobe Audition or Audacity to clear and normalize sound and save as .ac3 (Dolby Digital). I can also import the virtual .avi file in Handbrake to convert to .mp4 or .mkv or I can import it in AVSVideo Converter if I need an MPEG 2 version.
So to close this debate, yes VirtualDub 2 can handle standards conversion (NTSC to PAL and vice versa) good, but not any frame rate. It produces stuttering video when the source is 60fps, for example. So I use the original VirtualDub version for such non-standard videos, or I convert them with Handbrake if I don't need any other filters apart from resizing and frame rate conversion.
Similar Threads
-
Help with 8mm frame rate conversion
By Eventide in forum RestorationReplies: 14Last Post: 1st Dec 2022, 23:57 -
Video capture frame rate vs. final output file frame rate
By Theodore in forum Capturing and VCRReplies: 5Last Post: 18th Apr 2021, 18:48 -
Variabel frame rate / constant frame rate problem with free version of VSDC
By danielschut in forum Newbie / General discussionsReplies: 6Last Post: 11th Jun 2020, 03:50 -
Removing the original frame rate
By Nico Darko in forum Video ConversionReplies: 6Last Post: 13th Apr 2020, 15:05 -
Frame rate conversion
By ostatak in forum Video ConversionReplies: 0Last Post: 16th Aug 2019, 15:47


Quote
