-
-
Save cawa0505/73e8012c109f7e22f7e093529e8e656f to your computer and use it in GitHub Desktop.
Convert VOB to MP4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
for %%i in (*.vob) do ffmpeg -i %%i -vcodec h264 -s 720x576 -vf yadif -sn -map 0:m:language:rus "%%~ni.mpg" | |
ffmpeg -i concat:"VTS_01_1.mpg|VTS_01_2.mpg|VTS_01_3.mpg|VTS_01_4.mpg|VTS_01_5.mpg|VTS_01_6.mpg|VTS_01_7.mpg|VTS_01_8.mpg" -c copy output.mpg | |
ffmpeg -i output.mpg -qscale:v 0 film.mp4 | |
mkdir result_dir | |
move *.mp4 result_dir | |
erase *.mpg | |
echo press any key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment