Created
December 17, 2014 03:00
-
-
Save aguegu/5d48fe5e22e5f60b0a31 to your computer and use it in GitHub Desktop.
python script to batch converting from mkv 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
#!/usr/bin/env python | |
from subprocess import call | |
for i in range(4, 25): | |
call(["avconv", "-i", "DFTV.Ipartment.S03E%02d.720p.HDTV.x264-NGB.mkv" % i, "-acodec", "aac", "-strict", "experimental", "DFTV.Ipartment.S03E%02d.720p.HDTV.x264-NGB.mp4" % i]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment