Log in

View Full Version : Encoding 480i with x264 cli : help :(


lutinor
30th April 2011, 10:46
Hi all,

I need to encode an mp4 media, here's his info :


Codec ID/Info : Advanced Video Coding
Bit rate mode : 1 100 Kbps
Maximum bit rate : 11.5 Mbps
Width : 720 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Frame rate mode:Constant
Frame rate: 29.970 fps


The output must be blueray compliant, here's what i think right :


x264 --bitrate 1100 --vf resize:width=720,height=480,method=spline --fake-interlaced --fps 30000/1001 --force-cfr --ref 6 --preset slower --tune animation --bluray-compat --vbv-maxrate 10000 --vbv-bufsize 10000 --level 4.0 --keyint 30 --open-gop --slices 1 --tff --colorprim "smpte170m" --transfer "smpte170m" --colormatrix "smpte170m" --sar 40:33 --pass 1 -o out.264 input.file

Is it right ? :confused:

(i have a msg error :( swscale is not compatible with interlaced vertical resizing)

J_Darnley
30th April 2011, 11:28
If you have interlaced content, you don't need --fake-interlaced. You will also need to use avisynth to bob, resize, then remake the fields.

If you don't, use --no-interlaced and --fake-interlaced if that's required.

sneaker_ger
30th April 2011, 15:35
What's with the resolution? NTSC SD with more than 480 lines? Are there any borders you could crop away?
You also need to use a SAR of 40:33 or 10:11 if you want to stay SD.

You will also need to use avisynth to bob, resize, then remake the fields.

Sure? I think it's either separate fields, resize (to 480p), weave or bob, resize (to 720p).
Only specific combinations of frame rate, resolution and scan type are allowed:
http://forum.doom9.org/showthread.php?t=154533

lutinor
1st May 2011, 08:24
it's a 720x480 full screen media in 16/9 prog ( i already mod the resolution , now the resolution is standart)

Well, the compliant blueray require interlaced in 720x480, right ? That's why i must use --fake interlaced

Have i miss something in my previous lines ?

nm
1st May 2011, 09:11
Well, the compliant blueray require interlaced in 720x480, right ? That's why i must use --fake interlaced

As J_Darnley said, if your source is progressive, then yes. The information you provided in the first post points to an interlaced source though, so which is it? Provide a sample clip if unsure.