Trying to use avi files on a popcorn hour I discovered playback problems. The solution is that the avi's need to be remuxed and the junk removed from the header. I've tried this and it works. I used AVI-Mux GUI as recommended by the person that helped me out.
However I now have a new problem. I have to do this to several hundred files and doing it via a GUI is going to be painful - the tool I used does not seem to have any automation functions. Can anyone recommend a tool that will perform these functions to a large number of files at a time, or will accept command line parameters so I can write a batch script to do this.
Am a relative newbie at this, so don't assume I know anything.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
AVI-Mux GUI does have a command-line interface. There's also MMCL, the Mpeg4modifier command line tool which you can use for unpacking packed bitstream divx files and/or changing the PAR/DAR and FourCC in the header.
The following is an extract from a windows batch script that creates an AMG script for input to AVI-Mux GUI:
Code:echo CLEAR>"%AMG_FILE%" echo LOAD %VIDEO_FILE%>>"%AMG_FILE%" echo LOAD %AUDIO_FILE%>>"%AMG_FILE%" echo SELECT FILE ^1>>"%AMG_FILE%" echo ADD VIDEOSOURCE>>"%AMG_FILE%" echo SET OUTPUT OPTIONS>>"%AMG_FILE%" echo WITH SET OPTION>>"%AMG_FILE%" echo OVERWRITEDLG ^0>>"%AMG_FILE%" echo CLOSEAPP ^1>>"%AMG_FILE%" echo DONEDLG ^0>>"%AMG_FILE%" echo MAXFILES OFF>>"%AMG_FILE%" echo STDOUTPUTFMT AVI>>"%AMG_FILE%" echo AVI ADDJUNKBEFOREHEADERS ^0>>"%AMG_FILE%" echo AUDIO INTERLEAVE 4 FR>>"%AMG_FILE%" echo PRELOAD 20^0>>"%AMG_FILE%" echo AVI HAALIMODE ^0>>"%AMG_FILE%" echo OPENDML ^0>>"%AMG_FILE%" echo LEGACY ^0>>"%AMG_FILE%" echo RECLISTS ^0>>"%AMG_FILE%" echo END WITH>>"%AMG_FILE%" echo START %DST_FILE%>>"%AMG_FILE%"
%AMG_FILE% holds the name of the amg script file (i.e. set AMG_FILE=c:\temp\myscript.amg)
%VIDEO_FILE% holds the name of the video source
%AUDIO_FILE% holds the name of the audio source
%DST_FILE% holds the name of the destination avi file
You can run the script by simply calling AVI-Mux GUI with the name of the script as an argument:
AVIMux_GUI.exe c:\temp\myscript.amg
With your situation you will probably want to modify the script a little since your audio and video source will be taken from the same file; google is your best source for this as I haven't found any definitive documentation as yet.
If you want some pointers with windows batch file processing you might want to check out my batch xvid conversion script.
Slainte
middersVolunteer for https://www.computersforkids.org.uk/
Similar Threads
-
remux from m2ts to m4v/mp4 and remove scan type MBAFF
By jlally in forum Video ConversionReplies: 9Last Post: 18th Apr 2012, 04:01 -
80% MKV remux on H.264 - M2ts remux Aero Theme
By BJ12 in forum Video ConversionReplies: 2Last Post: 12th Aug 2011, 12:59 -
Remux FLV (AVI and MP3) to AVI without VFW?
By vbug in forum Video ConversionReplies: 2Last Post: 26th Mar 2010, 12:32 -
how do i remove DTS from AVI, convert audio then remux..?
By snadge in forum Video ConversionReplies: 6Last Post: 3rd Dec 2009, 06:58 -
How to remove merged Audio Files from AVi's
By rads666 in forum Newbie / General discussionsReplies: 3Last Post: 16th Apr 2008, 15:42