From: gn64_jp Date: Sun, 3 Apr 2011 12:48:04 +0000 (+0000) Subject: add bluray option. X-Git-Url: http://git.osdn.net/view?p=rec10%2Frec10-git.git;a=commitdiff_plain;h=da7a32eeb35c724b6748cc117660dcc1e54a0a72 add bluray option. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@857 4e526526-5e11-4fc0-8910-f8fd03428081 --- diff --git a/rec10/trunk/src/ts2x264.py b/rec10/trunk/src/ts2x264.py index 474244f..9f83b75 100644 --- a/rec10/trunk/src/ts2x264.py +++ b/rec10/trunk/src/ts2x264.py @@ -186,6 +186,9 @@ def encodeMencoderSar(pin,pout,size,is24fps,quality,crf,deinterlace=1,uselavf=0, harddup=",harddup" encvf=encvf+harddup x264streamsize=str(tsize[0])+u"x"+str(tsize[1]) + if usebluray==1: + encvf = encvf + ",scale=-2:1080::0:3,expand=1920:1080"+harddup + x264streamsize=u"1920x1080" if tsize[0] <= 0 or tsize[1] <= 0: encvf="-sws 9 -vf yadif=0,pp=l5" harddup=",hqdn3d=2:1:2,unsharp=l3x3:0.75:c3x3:0.75,harddup" @@ -560,7 +563,7 @@ def getX264Commandline(preset,sar,fps,x264profile,x264tune,pout,pin,x264streamsi x264bluray=u"--ref 3 "+x264bluray elif fps=="30000/1001 --keyint 30" or fps =="30000/1001": if x264streamsize=="1280x720": - x264bluray=u"--ref 6 "+x264bluray + x264bluray=u"--ref 6 --pulldown double "+x264bluray if x264streamsize=="1920x1080": if interlaced==0: x264bluray=u"--ref 3 --fake-interlaced --pic-struct "+x264bluray