본문 바로가기
카테고리 없음

[x264] 인코딩 옵션

by 김뿡한 2016. 1. 27.
  • x264 setting(x264 설정)

This page explains the purpose and use of all x264 parameter. Parameters are ordered the same as their appearance in x264 --fullhelp.

See also x264 Stats Output, x264 Stats File and x264 Encoding Suggestions.


  • Preset

A system designed to reduce the work needed to generate sane,


  • Frame-type option

--keyint [default:250]

Sets the maximum interval between IDR-frames.


--min-keyint [Default : auto(MIN(--keyint / 10. --fps))

Sets the minimum length between IDR-frames. [IDR 프레임 사이의 최소 간격을 설정한다.]

See --keyint for an explanation of IDR-frames. Very small keyint ranges can cause "incorrect" IDR-frame placement (for example, a stobing scene.) This option 

limits the minimum length in frames after IDR-frame before another can be placed.

The maximum allowed value for --min-keyint/2+1

Recommendation : [Default], or [1 x framerate].


--no-scenecut [Default : Not Set]

Completely disable adaptive I-frams decision.



--scenecut[Default:40]

Sets the threshold for I/IDR frame placement (read : scene change detection)

x264 calculates a metric for every for every frame to estimate how different it is from the previous frame. If the value is lower than scenecut, a 'scenecut' is detected.

An I-frame is placed if it has been less than --min-keyint frames since the last IDR-frame is placed. Higher values of scenecut increase the number of scenecuts

detected.

For more information on how the scenecut comparison works, see this doom9 thread.

Setting scenecut to 0 is equivalent to setting --no-scenecut


--intra-refresh



--slices [default : 0]

Sets the number of slices per frame, and forces rectangular slices. (Overriden by either --slice-max-size or --slice-max-mbs if they are set.)

If you are encoding for Blu-ray, set this to four. Otherwise, don't use this unless you know you need to.


--slice-max-size [Default : 0]

Sets the maximum slice size in bytes, including estimated NAL overhead.(Currently is not compatable width --interlaced.)


--slice-max-mb [Default : 0]

Sets the maximum slice size in macroblocks(Currently is not compatable width --interlaced.)