Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Batch Convert FLV to MP4 Then Delete the FLV fileI'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" |
Tags: batch, convert, delete, file, flv, mp4, the, then |
Thread Tools | |
Display Modes | |
|
|