From 566ce3c2125564bb1eeaa793b5172822956c8dd8 Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Thu, 25 Jul 2013 13:56:11 +0900 Subject: [PATCH] delete ffmpeg option -fs. --- rec10/ts2x264.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rec10/ts2x264.py b/rec10/ts2x264.py index d47e9aa..36e6939 100644 --- a/rec10/ts2x264.py +++ b/rec10/ts2x264.py @@ -363,7 +363,7 @@ def encodeFfmpegSar(pin,pout,size,is24fps,quality,crf,deinterlace=1,usebluray=0, def getMovieBaseSize2(pin):##動画開始後すぐに解像度が変更されたときに対処 ffmpeg=configreader.getConfPath("ffmpeg") os.environ['LANG']="ja_JP.UTF-8" - exe=ffmpeg+u" -ss 5 -fs 1 -t 10 -i \""+pin+"\" \""+pin+".size.ts\" 2>&1" + exe=ffmpeg+u" -ss 5 -t 10 -i \""+pin+"\" \""+pin+".size.ts\" 2>&1" try: recdblist.addCommandSelfLog(pin, exe) except Exception, inst: @@ -401,7 +401,7 @@ def getMovieBaseSize2(pin):##動画開始後すぐに解像度が変更された def getMoviePAR2(pin): ffmpeg=configreader.getConfPath("ffmpeg") os.environ['LANG']="ja_JP.UTF-8" - exe=ffmpeg+u" -ss 5 -fs 1 -t 10 -i \""+pin+"\" \""+pin+".size.ts\" 2>&1" + exe=ffmpeg+u" -ss 5 -t 10 -i \""+pin+"\" \""+pin+".size.ts\" 2>&1" try: recdblist.addCommandSelfLog(pin, exe) except Exception, inst: -- 2.11.0