
Script for batch converting flv to mp4
1. Copy ffmpeg.exe in „C:\Windows\System32“
2. Create *.bat script , and copy this code :
@echo off
:next
if "%~1" == "" goto done
ffmpeg -i "%~1" -y -c:v libx264 -preset ultrafast "%~1.mp4"
del "%~1"
shift
goto next
:done
exit
3. Now you can drag and drop *.flv video on this this icon and ffmpeg will start encoding.
4. Please pay attention , that source file will be deleted after encoding.
To avoid deletion , remove line with "del "%~1""
0 comments :
Post a Comment
Comment: