-I can get anything that is already an mp4 to transcode into a iphone compatible mp4 just fine.
-I can get an avi into an mp4 that itunes can play, but the iphone can't.
-If I transcode the mp4 made from an avi (that wont work on iphone) again with the same parameters, it will now work with the iphone (but obviously looks terrible).
My script is below--it's called from another script that iterates over each avi in the directory. Eventually I'm going to translate it into VB and add some more functionality.
Code: Select all
SET infile=%1
SET outfile="%CD%\iphone\%1"
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv "%CD%\%infile%" --sout=#transcode{width=320,height=240,vcodec=mp4v,vb=1000,canvas-aspect=1.5:1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=%outfile%.mp4}} vlc://quit
Thanks!
-Brian