OSDN Git Service

implement new x264 version encode.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Tue, 3 Aug 2010 02:21:21 +0000 (02:21 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Tue, 3 Aug 2010 02:21:21 +0000 (02:21 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@660 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/ts2x264.py

index cb112b0..284203e 100644 (file)
@@ -243,7 +243,7 @@ def encode_ffmpeg_sar(pin,pout,size,is24fps,quality,crf,deinterlace=1):
         x264profile=" --level 32 --profile baseline "
     else:
         x264profile=" --level 42 --profile high "
-    x264crf=u"--crf "+str(crf)
+    x264crf=str(crf)
     txt=""
     os.environ['LANG']="ja_JP.UTF-8"
     exe=ffmpeg+u" -y -i \""+pin+"\" -vsync 400 -vcodec rawvideo -pix_fmt yuv420p "+s+fps+"-deinterlace -an -f rawvideo - | "