@echo off echo VLC .REC to .MP4 BATCH FILE echo by Snuftop, Feb 2008, version 1.1 echo. echo This utility uses VLC media player to convert .rec files into PAL .mp4 files. echo. echo If you wish to stop the process early, close this window before closing VLC. echo. :transcode if not (%1)==() echo VLC is Transcoding %1. echo. "c:\Program Files\VideoLAN\VLC\vlc" -vvv %1 :sout=#transcode{fps=25,width=720,height=576,no-hurry-up,venc=ffmpeg,vcodec=mp4v,scale=1,aenc=ffmpeg,acodec=a52,ab=448}:duplicate{dst=std{access=file,mux=asf,dst=%1x }} vlc:quit ren *.recx *.mp4 echo Finished transcoding. An .mp4 file has been created. rem del %1 rem echo The .rec file has now been DELETED. echo. echo. shift if not (%1)==() goto transcode echo Finished. All the target .rec files have been transcoded into .mp4 format. Pause