Opened 22 months ago
Closed 22 months ago
#10261 closed defect (fixed)
FFMPEG-QSV 1:N transcoding error/hang
Reported by: | sanasar | Owned by: | haihao |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | 6.0 | Keywords: | QSV |
Cc: | dvrogozh | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
We have identified regression with latest public FFMPEG: Command line below will either error out or hang.
- version n6.0 bad
- version a6e9d01f88 bad (Latest master)
- version d4f853f4ed good
Following configuration was used running on ArcticSound M
- libva: 2.17.0
- libva-utils: 2.17.1
- gmmlib: 22.3.4
- media-driver: 23.1.3
- onevpl-gpu: 23.1.3
- mediasdk: 23.1.3
- oneVPL: v2023.1.2
ffmpeg -y -hwaccel qsv -hwaccel_device /dev/dri/renderD128 \ -extra_hw_frames 8 -c:v hevc_qsv -re -i bbb_sunflower_1080p_60fps_4Mbps_38kframes.h265 \ -filter_complex '[0:v]split[e_4k60][in1080p];[in1080p]scale_qsv=1920:1080[s1080p];[s1080p]split=3[e_1080p60][in720p60][in1080p30];[in720p60]scale_qsv=1280:720[s720p];[s720p]split[e_720p60][out720p60];[in1080p30]fps=fps=30[e_1080p30];[out720p60]fps=fps=30[f_720p30];[f_720p30]split[e_720p30][in_360p];[in_360p]scale_qsv=640:360[s360p];[s360p]split[e_360p30][in_288p];[in_288p]scale_qsv=352:288[s288p];[s288p]split[e_288p30][in_180p];[in_180p]scale_qsv=240:180[e_180p30]' \ -map [e_4k60] -c:v hevc_qsv -preset veryslow -b:v 9M -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 18M -bufsize 36M -y -f null - \ -map [e_1080p60] -c:v hevc_qsv -preset veryslow -b:v 5M -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 10M -bufsize 20M -y -f null - \ -map [e_1080p30] -c:v hevc_qsv -preset veryslow -b:v 5M -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 10M -bufsize 20M -y -f null - \ -map [e_720p60] -c:v hevc_qsv -preset veryslow -b:v 3M -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 6M -bufsize 12M -y -f null - \ -map [e_720p30] -c:v hevc_qsv -preset veryslow -b:v 3M -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 6M -bufsize 12M -y -f null - \ -map [e_360p30] -c:v hevc_qsv -preset veryslow -b:v 1M -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 2M -bufsize 4M -y -f null - \ -map [e_288p30] -c:v hevc_qsv -preset veryslow -b:v 800k -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 1600k -bufsize 3200k -y -f null - \ -map [e_180p30] -c:v hevc_qsv -preset veryslow -b:v 500k -g 256 -look_ahead_depth 0 -extbrc 1 -b_strategy 1 -adaptive_i 0 -adaptive_b 0 -low_power 1 -async_depth 2 -maxrate 1M -bufsize 2M -y -f null -
Following error is observed. Sometimes we do see hang after error is printed and ffmpeg needs to be killed.
[hevc_qsv @ 0x5566744eb380] A decode call did not consume any data: expect more data at input (-10)95 bitrate=N/A speed= 1x peed=N/A Last message repeated 2 times [out_2_0 @ 0x5566749f09c0] 100 buffers queued in out_2_0, something may be wrong. [out_2_0 @ 0x5566749f09c0] 1000 buffers queued in out_2_0, something may be wrong. [out_2_0 @ 0x5566749f09c0] 10000 buffers queued in out_2_0, something may be wrong. [out_2_0 @ 0x5566749f09c0] 100000 buffers queued in out_2_0, something may be wrong. [out_2_0 @ 0x5566749f09c0] 1000000 buffers queued in out_2_0, something may be wrong. [out_2_0 @ 0x5566749f09c0] 10000000 buffers queued in out_2_0, something may be wrong. [out_2_0 @ 0x5566749f09c0] 100000000 buffers queued in out_2_0, something may be wrong. Error marking filters as finished Conversion failed!
Change History (4)
comment:1 by , 22 months ago
comment:2 by , 22 months ago
Cc: | added |
---|
comment:3 by , 22 months ago
Owner: | set to |
---|---|
Status: | new → open |
comment:4 by , 22 months ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Note:
See TracTickets
for help on using tickets.
FFMPEG bisection was done and issue started from below commit