Log in

View Full Version : [VirtualDub] *** FAQ *** <11/10/2003>


cofferscuffs
11th February 2002, 15:53
Here is a quick VirtualDub FAQ because I'm getting fed up of people who can't be assed to search the forums... maybe this will help :angry:.

Where is the official VirtualDub website?
The official VirtualDub site is www.virtualdub.org, NOT www.virtualdub.net. See http://forum.doom9.org/showthread.php?s=&postid=165739#post165739 for more info about www.virtualdub.net

How do I get MPEG2 support in VirtualDub?
MPEG2 is not supported nativly in VirtualDub and it never will be according to the author, Avery Lee because of liscensing issues; however, MPEG1 is supported. MPEG2 can be framserved instead to VirtualDub, using an avs script; see http://forum.doom9.org/showthread.php?s=&threadid=27228 for more info. But if you don't want to learn a simple scripting language, do a search for AVSGen and download it, and that will create a script for you ;).
Other possibilites are to use VirtualDubMod or fccHandlers MPEG2 mod.

When I open a mpeg file I get a 'pack synchronization error', what does that mean?
The mpeg file most likely actually is a mpeg2 file which can't be opened by VirtualDub. See previous question for possible solutions.

I opened a avi file with ac3/dts sound and can't play it in virtualdub or convert the sound, why not?
VirtualDub is entirely vfw (Video for Windows) based, so it needs vfw compatible codecs for video and acm (Audio Compression Manager) compatible codecs for sound. To my knowledge there is neither a ac3 nor a dts acm codec (all are direct show and not usable by vdub).
The mpeg2 mod by fccHandler can handle (no pun intended ;)) ac3 sound, but only if the source is a mpeg2 file.

I tried to opened a avi file but I get a "Couldn't locate decompressor for format 'XXXX' (unknown)" error, although it plays fine with my movie player. What's the matter?
This is another facet of the acm/vfw/dshow trouble. You seem to only have a DirectShow filter installed for the respective codec, but VirtualDub needs a vfw (video) or acm (audio) codec. This happens e.g. with xvid when you have only ffdshow installed.
We can't tell you for every content where to get a acm/vfw codec (might even be there isn't such a thing, see previous question). What you can try to do is find out the FourCC value (File->File Information) and google for it (http://www.google.com).

I tried to opened a avi file I get a message "VirtualDub has detected an improper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatibility.". What does that mean?
I means your AVI contains VBR (variable bitrate) audio, usually mp3. Neither VDub nor AVI supports this, writing it into AVI is a hack that can lead to troubles (namely inconsistant desync and uncompressable video frames). If you want to know more about this hack, read the IRC log in the VDubMod FAQ (#14) (http://virtualdubmod.sourceforge.net/faq.php).

Ok, I understood VBR audio is bad, so what do I do when I want to edit AVIs containing VBR audio?
Clean solutions:
Transmux the whole file to a container format supporting vbr audio and edit that (eg Matroska, OGM).
Save AVI with uncompressed audio, do your editting, recompress audio
Demux audio, recompress to cbr mp3, remux, do your editting
Hack solution:
Use NanDub or VDubMod (NanDub compatibility mode). I heard its a bad idea to try to recompress audio on the fly using this option.


Are there settings that I can use every time that will make my output look amazing?
There is no 'perfect' settings for filters, each movie is completly different and thus the settings will be different each time. Get filters & links to more filters here: http://sauron.mordor.net/dgraft/.

I want to capture ASF/RM streams... how can I do that?
There is no filter/plugin for capturing ASF/RM streams. You need ASFRecorder or StreamBoxVCR for that. And no, there is no support for this in VirtualDub

My ASF files don't work in VirtualDub no more!
ASF (NOT the WMV8 format) support is only in VirtualDub 1.3c or earlier. WMV8 support was never done. This also applies to encoding to MPEG4V1,V2 or V3 <- those codecs are locked unless you've downloaded unlocked ones (which are not availible from MS).

What audio formats can be used?
VirtualDub can only mux CBR MP3's when they have a wave-header, use Wavemp3 (availible on software page) to do this. It cannot mux VBR streams whatsoever. For VBR MP3/Vorbis/AC3 muxing, use Nandub (also availible on software page) or VirtualDubMod (no Vorbis muxing to avi, but that doesn't work anyways). If you want to extract audio, use the same programs that you would use to mux it :)

I know the file information dialog is wrong in VirtualDub, is that a problem?
The file info in VirtualDub is not always true. To be sure of the video codec used, look at the FourCC code.

Why can I not encode as fast as other people?
Encoding speed in VirtualDub depends on your CPU, RAM, HD, video source, filters applied etc.... go figure :P

My avs scripts do not load!
If you get an error like this "Cannot determine file type of ..." when opening an AVS file, then AviSynth is not installed correctly.

Why doesn't the frameserver work?
In VirtualDub 1.4.10, the frameserver is broken, fixable by putting msvcr70.dll in your system directory; here's what Avery Lee says:

Yes, the frameserver in 1.4.10 is linked with Visual C++ .NET, and yes, it doesn't include the MSVCR70.DLL file required to use it. No, I didn't intend to that. Yes, I am an idiot. No, I don't plan to include that file. Yes, you should use the 1.4.9 frameserver libraries instead. Yes, they will work with 1.4.10.
If you're using the framserver for the first time, make sure you have run AuxSetup.exe in the VirtualDub directory and clicked install AVI Handler ;)

Why when capturing AVI is my capture resoltuion limited?
This only applies to AVI capture for old cards (ie. my aged ATI AIW 128 16mb :)). VirtualDub uses a VFW WDM wrapper to capture, limiting the resolution on some cards to 352x288 or below... This is best explained by Avery Lee;

For the last time, yes, VirtualDub is compatible with Windows XP. It is, however, not compatible with DirectShow (Windows Driver Model) capture devices except when the Microsoft VFWWDM wrapper is installed, which does not let you capture integrated audio and is not available under XP. A solution is in the works but I can't tell you when it will be finished.
So there is hope, but if new cards don't work (all that utilise the Bt848 / Bt849 / Bt878 & Bt879 Chipsets), install the drivers from http://btwincap.sourceforge.net/ and then check out Koepi's BtWinCap driver mode switcher here (http://forum.doom9.org/showthread.php?s=&threadid=24710).

hakko504
11th February 2002, 16:44
Well done, cofferscuffs! :) :cool: :)

Let's hope that all newbies read it. I've seen a lot of people violating Forum Rule One over the last days.

kastro68
25th February 2002, 15:15
What was forum rule #1?

Thx

cofferscuffs
25th February 2002, 17:05
http://doom9.org/forum-rules.htm It's at the top of every page in this forum ;)

Pirks
30th May 2002, 06:41
I'd consider this link:

http://www.studiodust.com/riffmp3.html

crucial for this faq

cofferscuffs
24th June 2002, 17:19
***Finally updated today (24/06/2002)***

@ Pirks,

WaveMP3 is free, availible on the software page and does exactly the same thing ;)

BaronVlad
12th August 2002, 21:18
Well done FAQ cofferscuffs ;)

in German language you can find it here (http://forum.doom9.de/viewtopic.php?t=519), it was translated in accordance with doom9 (He asked for the translation, he did not look at the contents, so he is not responsible for any mistakes...)

And the new home of Donald Grafts Filters is here:

http://shelob.mordor.net/dgraft/

Cheers

BaronVlad

cofferscuffs
12th August 2002, 23:20
ah the bit about the virtualdub mod site is becoming untrue (thanks to me bitching and everyone pasting that bit everywhere... and also thanks to koepi :))... he has now (grugingly) put the sources up for his 1.4.7 vcr timer... but not 1.4.9... but i have for source for that and the main reason for not posting it is because it actually is quite messed up apparently :)

thanks for translating it :)

Belgabor
29th January 2003, 17:49
FAQ Updated.

BaronVlad
29th January 2003, 19:19
Hi Belgabor,

I miss something very important:

Does it sing, dance and whistle in the dark?
Ah........... No. But we are working on it, honestly! ;p :D

fccHandler
29th January 2003, 20:10
Thanks for including me, but you spelled it wrong ;)

Belgabor
29th January 2003, 20:25
sorry :)

/me shoots typo devil

Belgabor
30th January 2003, 18:48
Another small update.

@BaronVlad: We're working on it for VDubMod, if you want it in VDub you have to ask Avery :p

Belgabor
9th February 2003, 22:31
*Bump* another update.

Belgabor
28th February 2003, 13:29
*Bump* (You can guess, why :))

cofferscuffs
18th July 2003, 23:42
although ive been away for a while, is it possible with the new WMV-9 VCM, to get vdub to support asf again without reverse enginering (if i bothered to read up more id prolly find its encoder only or something.)

Belgabor
20th July 2003, 13:00
I don't quite get that, maybe I missed something because I'm not familiar with the released VCM, but how should a codec enable VDub to read a diffrent file format?

cofferscuffs
20th July 2003, 21:44
wmv9 isnt a different format to asf (msmpeg4v*), vdub used to read in asf files via reverse engineering, i was just thinking aloud that (without reading too much into the vcm) vdub could be slightly modified (to allow the opening of wmv files) and that it could read them perfectly

M_Micky
19th August 2003, 13:44
How can I build own VDMLang???.dll library for VirtualDubMod?

Belgabor
20th August 2003, 13:18
Check out the 'VirtualDubMod15_I18N' module from our cvs and read the '0 Readme.txt' file. Come back to me when you have further questions.

M_Micky
3rd September 2003, 10:23
Thank you for "kick", it's working perfect, but I have another small problem, probably I'm stupid...
I try translate into Czech language and after compiling of resource and running of VirualDubMod I see on places with the special characters another characters, probably used another code page. Where I can say, what code page I want use?

Belgabor
5th September 2003, 15:21
You have to modify the VirtualDubMod.rc file for that. Pretty much at the start there are usually the lines

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

If i remember correctly you'll have to change those.

M_Micky
5th September 2003, 16:44
Thank you very much, you're right, it's working perfectly.
For information, if I want use czech language, I must use these lines:

LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
#pragma code_page(1250)

yakuza
2nd October 2003, 09:40
complete and utter newbie when it comes to Virt.Dub.
can someone simply explain the different steps for compressing a 200mb movie file to 140 mb ? it didnt say how to do this on the Virt. Dub FAQ BTW ...

echooff
2nd October 2003, 15:11
Doom9 Guides (http://www.doom9.org)

Step by step instructions

yakuza
2nd October 2003, 19:02
cofferscuffs, you forgot this question in your notorious faq :
i got the avi, but no sound with it. how do i "put" it in ?

Belgabor
3rd October 2003, 15:02
This is a FAQ for people with frequent problems, not a shortcut for those too lazy to look up info in the excellent guides on the doom9 main page.

yakuza
3rd October 2003, 20:47
and u dont consider what i wrote as a frequent problem ? right ...

Belgabor
5th October 2003, 05:28
Well, you're actally the first one... (thats not very frequently :p)

seiryu
9th October 2003, 05:08
I tried to opened a avi file but I get a "Couldn't locate decompressor for format 'XXXX' (unknown)" error, although it plays fine with my movie player. What's the matter?
This is another facet of the vfw/dshow trouble. You seem to only have a DirectShow filter installed for the respective codec, but VirtualDub needs a vfw codec. This happens e.g. with xvid when you have only ffdshow installed.

With regards to the above FAQ, i would like to know how then do i solve the prob?

Where can i get the VFM compatible codec or how can i made my Virtualdub work ?

Belgabor
11th October 2003, 09:59
Convinced, I updated the FAQ.

shevegen
25th November 2003, 17:46
hehe u gonna hate me but
is there a FAQ only webpage ?

and also, how about you make a wiki page for the faqs here, and set it that only some of the older guys and admins can change the content of these faqs? (btw these two suggestions are independent from each other!)

wiki rulez :)
virtualdub also!

Belgabor
27th November 2003, 01:48
The VDubMod FAQ is on our homepage. The Wiki is actually a good idea. I'll think about it.

Raptus
28th December 2003, 20:23
Originally posted by cofferscuffs
VirtualDub is entirely vfw (Video for Windows) based, so it needs vfw compatible codecs for video and acm (Audio Compression Manager) compatible codecs for sound. To my knowledge there is neither a ac3 nor a dts acm codec (all are direct show and not usable by vdub).
The mpeg2 mod by fccHandler can handle (no pun intended ;)) ac3 sound, but only if the source is a mpeg2 file.
There is a ACM AC3 decoder, too by FccHandler:
http://fcchandler.home.comcast.net/AC3ACM/

Guest
29th December 2003, 18:30
I have a litlle problem with vobsub+virtualdub
I was using the guide to put my avi into a svcd to play on my dvd

Abdul guide step 4 (http://abdul1.netfirms.com/s4.html)

I did everything wat was explained but when get with this part , my computer just don't do anything .. it stays on 0 (after 10 minutes waiting and no activity of my hd I new there was something not working :D )

IU have downloaded the lastest virison virtualdub



File ---> start frameserver...
Je krijgt het volgende te zien, waarbij je op start moet klikken


In het volgende venster dat opent moet je een file naam opgeven
Geef het de naam film.vdr


Nu kom je in de frame-server mode


Dit venster moet je actief laten totdat je klaar bent met encoderen in tmpgenc.
(PS de waarden zullen allemaal nog 0 zijn; dit screenshot is gemaakt toen tmpgenc al bezig was met omzetten)




The avi file is cd 1 of this movie

File ---> start frameserver...
Je krijgt het volgende te zien, waarbij je op start moet klikken


In het volgende venster dat opent moet je een file naam opgeven
Geef het de naam film.vdr


Nu kom je in de frame-server mode

° ° ° °ÞÛ²Ý
° ° ° P R O U D L Y P R E S E N T i N G : ° ° Lord of the Rings The Two Towers Extended Ed. ° Þ²ÛÝ
°ÞÛÛß
THEATRE DATE : 12.05.02 [US] Þ²ÛÝ
RELEASE DATE : 11.07.03 °ÞÛÛÝ
STORE DATE : 11.18.03 ÞÛÛÝ
GENRE : Fantasy / Adventure ÞÛÛÝ
RUNTiME : 222 mins

# SCREENiNGS : 3,622 (Opening)
ViDEO : ~800kbps avg xvid
AUDiO : 128kbps VBR MP3
RESOLUTiON : 576x240
# DiSCS : 2 CD


Someone know what to do???? of what I did wrong

pc : win98 se

cofferscuffs
20th January 2004, 20:12
Originally posted by Raptus
There is a ACM AC3 decoder, too by FccHandler:
http://fcchandler.home.comcast.net/AC3ACM/

heh i havent visited these forums in ages, but people still seem to read what i originally wrote. oh well, i might edit it soon.

Honeyko
19th September 2008, 04:36
It means your AVI contains VBR (variable bitrate) audio, usually mp3. Neither VDub nor AVI supports this, writing it into AVI is a hack that can lead to troubles (namely inconsistant desync and uncompressable video frames)....
I'm not sure if this is true anymore; when ripping to AVI, AutoMKV (for one) creates ABR (average bitrate) Lame audio by default. VdubMod can extract said audio, and AVImuxGUI can recombine it with video without sync issues.

Wu-Tang
4th March 2009, 18:25
Hi
Can i fix it:
sample (http://rapidshare.com/files/203706510/sample.avi)
Is it really?

EasyRider_
23rd August 2009, 21:38
Hi there..

Hey, since the 1,9x series i lost the "save job" option..

Is any new way to do this..? :confused:

(sorry for my English..)

Placio74
23rd August 2009, 21:53
Hey, since the 1,9x series i lost the "save job" option..

Is any new way to do this..? :confused:
Yes. Look at Queue batch operation.
http://img256.imageshack.us/img256/2913/queuebatchoperation.th.jpg (http://img256.imageshack.us/i/queuebatchoperation.jpg/)

From mini-FAQ for VirtualDub 1.9.4 release (http://virtualdub.org/blog/pivot/entry.php?id=265):
Q: What happened to the "defer this job" checkbox in the save dialogs?
A: I took it out because there were too many people who were checking it and then not realizing that it saved, and then thought the program was broken because it didn't do anything on a save operation. The batch commands have all been moved into a "Queue batch operation" submenu. Since this is less convenient than the previous location, 1.9.4 now allows you to configure keyboard shortcuts for any menu command in Options > Keyboard Shortcuts. This allows you to access the batch mode Save as AVI command directly.

EasyRider_
23rd August 2009, 22:35
I see..!! thank you man.. :)