From 4ea7cd459da04dbde5f5cc1a26b3b343ab35cdce Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sun, 13 Jul 2014 07:58:30 +1000 Subject: [PATCH] Switch from ffmpeg binary to avconv --- common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.py b/common.py index 9ef738a..f51ec53 100644 --- a/common.py +++ b/common.py @@ -174,7 +174,7 @@ def convert_flv_mp4(orig_filename): os.rename(orig_filename, flv_filename) print "Converting %s to mp4" % flv_filename cmd = [ - "ffmpeg", + "avconv", "-i", flv_filename, "-acodec", "copy", "-vcodec", "copy", @@ -188,7 +188,7 @@ def convert_flv_mp4(orig_filename): if abs(flv_size - mp4_size) < 0.05 * flv_size: os.unlink(flv_filename) else: - print >>sys.stderr, "The size of", mp4_filename, "is suspicious, did ffmpeg fail?" + print >>sys.stderr, "The size of", mp4_filename, "is suspicious, did avconv fail?" except Exception, e: print "Conversion failed", e -- 2.39.2