Transcoding avi for iphone-weird problems
Posted: 23 Feb 2009 22:07
So, I'm trying to transcode some XviDs for the iPhone and I'm running into a weird error. I've tried using parameters recommended on the wiki and some on here and here's where I am:
-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.
Also, I have tried going back to 0.86 and still no luck. Anybody have any ideas?
Thanks!
-Brian
-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