From 1aaddd8938c520055977eadc59bc6793ba6b8c07 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 5 Feb 2013 00:15:56 +0100 Subject: [PATCH] fix media remux : ffmpeg -ss in seconds with python-ebml 0.2 --- tools/trans/fix_chk_media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/trans/fix_chk_media.py b/tools/trans/fix_chk_media.py index f564e8a3..6dc1f678 100644 --- a/tools/trans/fix_chk_media.py +++ b/tools/trans/fix_chk_media.py @@ -68,7 +68,7 @@ class FixCheckMedia(object): print command os.system(command) ebml_obj = EBMLData(tmp_file) - offset = ebml_obj.get_first_cluster_timecode() + offset = ebml_obj.get_first_cluster_seconds() command = '/usr/local/bin/ffmpeg -loglevel 0 -ss ' + str(offset) + ' -i ' + tmp_file + ' -vcodec copy -acodec copy -f webm -y ' + path + ' > /dev/null' print command os.system(command) -- 2.39.5