View Single Post
  #1  
Old 08-02-2014, 11:32 PM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

Batch Convert FLV to MP4 Then Delete the FLV file


I'm currently trying to make a .bat file to convert FLV (from rtmpdump) to MP4 using FFMPEG then after the FFMPEG command has completed delete the .flv files on a Windows based machine. I've got this so far but it doesn't seem to delete the files afterwards.
Code:
start cmd /k for %%a in ("*.flv") do ffmpeg -i "%%a" -acodec copy -vcodec copy %%~na.mp4
start cmd /k timeout 10 for %%a in ("*.flv") do del "%%a"
anyones help/input would be greatly appreciated.
Reply With Quote