Log in

View Full Version : X264/Avisynth wrong parameters


asafb
30th April 2010, 05:05
Hello,
I'm using QSource plug-in for AVISYNTH along with x264 for blu-ray encoding. My avs file is:

QTInput("proress1080i.mov")
AssumeFPS("ntsc_video")

When running x264 it reports it as:

avs [info]: 1920x1080p 1:1 @ 30000/1001 fps (cfr)

The fps portion is right (29.97fps)
however it is NOT 1080p --- the file is 1080i! Is this a bug?
Thanks!
Asaf.

poisondeathray
30th April 2010, 05:21
did you set --interlaced or --tff (top field first) flag in the command line? you have to tell the encoder to encode as interlaced

since most prores are 4:2:2, don't forget when you convert to yv12 to set interlaced=true for interlaced sources (since you are encoding to 4:2:0 for h.264)

ConvertToYV12(interlaced=true)

J_Darnley
30th April 2010, 09:53
x264's avisynth input module will now only tell x264 that the video is interlaced if it is field based video. This is because too many things incorrectly say that video is interlaced. See the commit here: http://git.videolan.org/?p=x264.git;a=commitdiff;h=2efd119bbe485c70f637efc8ba089eca61808711

kemuri-_9
30th April 2010, 13:12
use --bff or --tff on x264's commandline to set the proper flagging for whichever field is first.