Open XuShiSheng opened 4 years ago
Below configs match your setting with ffmpeg. Hang can be reproduced every time with -rc 2
.
./SvtVp9EncApp -i ../../../../yuv/bbb_1920x1080_420p.yuv -w 1920 -h 1080 -intra-period 249 -lp 24 -enc-mode 8 -tune 0 -fps 30 -rc 2
-rc 1
also hangs but with a much lower chance.
./SvtVp9EncApp -i ../../../../yuv/bbb_1920x1080_420p.yuv -w 1920 -h 1080 -intra-period 249 -lp 24 -enc-mode 8 -tune 0 -fps 30 -rc 1
We will look into it. Thanks for reporting.
Hi, I found that svt-vp9 is likely to get stuck used with intra-period >150, please take a look and let me know if I understand it wrong. @tianjunwork
FFmpeg cli
./ffmpeg -i input -r 30/1 -vsync 2 -copyts -filter_complex "[0]scale=w=1920:h=1080:flags=lanczos[scale_1_out]" -map [scale_1_out]:v? -an -pix_fmt yuv420p -color_primaries bt709 -colorspacebt709 -color_trc iec61966-2-1 -color_range 0 -vcodec libsvt_vp9 -preset 8 -rc 2 -g 250 -vb 4000k output.mp4
test seq https://share.weiyun.com/fPZbLH6k
Other info Number of logical cores available: 24 Number of PPCS 37 SVT [config]: Profile [0] Level (auto) SVT [config]: EncoderMode / Tune : 8 / 0 SVT [config]: EncoderBitDepth : 8 SVT [config]: SourceWidth / SourceHeight : 1920 / 1080 SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size : 30 / 1 / 250 SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2 SVT [config]: RCMode / TargetBitrate : CBR / 4000000