Cooonverting videos for Zune
Posted: 09 Jul 2010 07:09
I'm trying to convert mov and mp4 files for use on Zune. I made the following batch files based on the how-to instructions on this site. When I drag a file to the batch file, it exits without converting. How do I troubleshoot?
Troy
Troy
Code: Select all
@REM Set this next line to where you want your output files:
@SET outdir=e:\video\
@REM No further changes should be needed below for VLC 0.9.8a
@SET infile=%1
@SET infile=%infile:"=%
@FOR /F "delims=" %%i in ("%infile%") do SET filename=%%~ni
@SET outfile=%outdir%%filename%.wmv
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv --sout="#transcode{vcodec=WMV2,vb=750,width=320,canvas-height=240,acodec=wma,ab=128,channels=2}:duplicate{dst=std{access=file,mux=asf,dst=%outfile%}}" "%infile%" --play-and-exit
pause