View Full Version : command line AVI muxer
xtknight
31st May 2005, 01:43
ok...i have made a command line AVI muxer in c++. i have one problem. i need an option to delay audio (positive or negative shift). right now i'm just using the directshow AVI mux filter and that doesn't have any option for it. how am i going to do this? I just need a way of doing a virtualdub direct stream copy for both video/audio, yet delaying the audio (or video). is there any filters i could use to do this, or does anyone have any idea how virtualdub does this?
thanks for the help
jeanl
1st June 2005, 06:45
If you know how to create a direct-show filter, then it should be easy... To delay the audio, simply outputs the required amount of zeros before you start outputing the input samples. Same idea for the video...
jeanl
DarkDudae
1st June 2005, 10:31
There is already a directshow filter for that: Stream Shifter by Trombettworks (http://www.trombettworks.com/directshow.php).
Greetings
xtknight
2nd June 2005, 02:47
There is already a directshow filter for that: Stream Shifter by Trombettworks (http://www.trombettworks.com/directshow.php).
Greetings
tried it, can't get it to work because some filter (AVI Splitter) doesn't output a timestamp, something like that. Thanks for the info jeanl.
jeanl
2nd June 2005, 04:35
Not much info really. There also a chance you can play with the time stamps and not have to add zeros or remove the beginning of the audio, but I'm not sure whether it will work with your muxer...
jeanl
DaveEL
3rd June 2005, 09:38
Dshow avi mux filter is evil - produces b0rked avis
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.