Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @REM Remove the quotes from %1 variable for vlc paramters
- @SET infile=%1
- @SET infile=%infile:"=%
- @REM Strip directory paths from %1 ...
- @FOR /F "delims=" %%i in ("%infile%") do SET filename=%%~ni
- @SET outdir=%userprofile%\My Documents\ipod video\
- @SET outfile=%outdir%%filename%.mp4
- @REM The following command should be on ONE line only.
- @REM Be sure to remove the carriage returns in your batch file.
- "C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv "%infile%" :sout="#transcode{width=320, canvas-height=240, vcodec=mp4v, vb=768, acodec=mp4a, ab=96, channels=2}:standard{access=file,mux=mp4,url=%outfile%}" vlc:quit
Add Comment
Please, Sign In to add comment