Gauze
9th May 2008, 01:47
I have several AVI's that are encoded with DivX (fourcc: DX50) video and MP3 audio that I want to batch convert to a format my phone can handle (MPEG4-SP video, AAC audio, mp4 container). I'm trying to use AVIDemux since it can handle .mp4 outputs. However, I'm having a few problems.
When viewing any of this videos in AVIDemux 2.4.1, the movements are extremely choppy and any outputted video has the same problem. However, if I use avisynth script, the video looks fine. However, when using avisynth script with AVIDemux, I can never get an output file with any audio. Also, the first frame is always a copy of a different frame (usually the last frame I viewed or a dark green frame) instead being a black frame.
Now I pretty sure I can't batch AVIDemux to load avisynth scripts and output them (though I would love to be told otherwise), but I did try to write a few batch files to automate some of the process.
Since for some reason I never had audio, I tried to write a batch file that would copy the audio stream from the AVIs into seperate files using the general syntax:
avidemux_cli.exe --load input.avi --save-raw-audio outputfilename
Out of the 20 or so videos I had, the script I wrote worked for 3 of them...not a really high success rate.
Am I writing the syntax wrong or are there other commands to improve my success rate?
When viewing any of this videos in AVIDemux 2.4.1, the movements are extremely choppy and any outputted video has the same problem. However, if I use avisynth script, the video looks fine. However, when using avisynth script with AVIDemux, I can never get an output file with any audio. Also, the first frame is always a copy of a different frame (usually the last frame I viewed or a dark green frame) instead being a black frame.
Now I pretty sure I can't batch AVIDemux to load avisynth scripts and output them (though I would love to be told otherwise), but I did try to write a few batch files to automate some of the process.
Since for some reason I never had audio, I tried to write a batch file that would copy the audio stream from the AVIs into seperate files using the general syntax:
avidemux_cli.exe --load input.avi --save-raw-audio outputfilename
Out of the 20 or so videos I had, the script I wrote worked for 3 of them...not a really high success rate.
Am I writing the syntax wrong or are there other commands to improve my success rate?