harddup=",harddup"\r
encvf=encvf+harddup\r
x264streamsize=str(tsize[0])+u"x"+str(tsize[1])\r
+ if usebluray==1:\r
+ encvf = encvf + ",scale=-2:1080::0:3,expand=1920:1080"+harddup\r
+ x264streamsize=u"1920x1080"\r
if tsize[0] <= 0 or tsize[1] <= 0:\r
encvf="-sws 9 -vf yadif=0,pp=l5"\r
harddup=",hqdn3d=2:1:2,unsharp=l3x3:0.75:c3x3:0.75,harddup"\r
x264bluray=u"--ref 3 "+x264bluray\r
elif fps=="30000/1001 --keyint 30" or fps =="30000/1001":\r
if x264streamsize=="1280x720":\r
- x264bluray=u"--ref 6 "+x264bluray\r
+ x264bluray=u"--ref 6 --pulldown double "+x264bluray\r
if x264streamsize=="1920x1080":\r
if interlaced==0:\r
x264bluray=u"--ref 3 --fake-interlaced --pic-struct "+x264bluray\r