Guest User

Untitled

a guest
Jun 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. @REM Remove the quotes from %1 variable for vlc paramters
  2. @SET infile=%1
  3. @SET infile=%infile:"=%
  4. @REM Strip directory paths from %1 ...
  5. @FOR /F "delims=" %%i in ("%infile%") do SET filename=%%~ni
  6. @SET outdir=%userprofile%\My Documents\ipod video\
  7. @SET outfile=%outdir%%filename%.mp4
  8. @REM The following command should be on ONE line only.
  9. @REM Be sure to remove the carriage returns in your batch file.
  10. "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