View Single Post
Old 8th May 2019, 08:27   #1  |  Link
TEB
Registered User
 
Join Date: Feb 2003
Location: Palmcoast of Norway
Posts: 363
x265 not honoring slice config

hi, im trying to encode some hevc files for use in an ABR stack where the config is:

4 sec GOP
IDR at the start on each GOP
I-frames on scenecut

Syntax:
Code:
./ffmpeg -loglevel verbose -i test.mov -codec:v libx265 -x265-params keyint=100:min-keyint=100:no-open-gop=1:nal-hrd=VBR:force-cfr -preset fast -crf 23 -maxrate 15M -bufsize 15M -force_key_frames "expr:eq(mod(n,100),0)" -c:a:0 aac -ac:a:0 2 -ab:a:0 128k -y   hevc.mp4
Still i notice when ffmpeg starts :
Code:
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
both 25 as minimum is wrong, and 250 as max is wrong.. as i locked them both at 100 (25fps x 4sec)

Harmonic's AV analyzer tells me that x265 is actually encoding IDRs as CRA slices instead.. with some Iframes mixed in here an there..
in X264, this is all correct, but x265 this fails..

Anyone have any idea whats going on here?

Last edited by TEB; 8th May 2019 at 11:34.
TEB is offline   Reply With Quote