Opened 21 months ago
Closed 21 months ago
#10262 closed defect (fixed)
FFMPEG-QSV 1:N Transcoding with deinterlace errors out at end
Reported by: | sanasar | Owned by: | haihao |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | 6.0 | Keywords: | QSV |
Cc: | sanasar, dvrogozh | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
We have identified regression with latest public FFMPEG: Command line below fails with error
- 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
- Clip location https://repositories.intel.com/media/bbb_sunflower_1080p_60fps_4Mbps_38kframes.h264 (This clip is progressive, but we treat it as interlace. We don't have public interlaced clip available. Issue can be replicated with our internal interlaced clip also)
ffmpeg -y -hwaccel qsv -hwaccel_device /dev/dri/renderD128 \ -extra_hw_frames 8 -c:v h264_qsv -re -i bbb_sunflower_1080p_60fps_4Mbps_38kframes.h264 \ -filter_complex '[0:v]split=3[e_1080i60][in_480i][in_DI];[in_480i]scale_qsv=720:480[e_480i60];[in_DI]deinterlace_qsv[s1080p];[s1080p]split[in_720p][in_1080p];[in_720p]scale_qsv=1280:720[e_720p60];[in_1080p]fps=fps=30[in_1080p30];[in_1080p30]split[e_1080p30][in_720p30];[in_720p30]scale_qsv=1280:720[s720p];[s720p]split[e_720p30][in_360p];[in_360p]scale_qsv=640:360[s360];[s360]split[e_360p30][in_288p];[in_288p]scale_qsv=352:288[s288];[s288]split[e_288p30][in_180p];[in_180p]scale_qsv=240:180[e_180p30]' \ -map [e_1080i60] -c:v h264_qsv -preset medium -b:v 5M -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 10M -bufsize 20M -y -f null - \ -map [e_480i60] -c:v h264_qsv -preset medium -b:v 1500k -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 3M -bufsize 6M -y -f null - \ -map [e_720p60] -c:v h264_qsv -preset medium -b:v 3M -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 6M -bufsize 12M -y -f null - \ -map [e_1080p30] -c:v h264_qsv -preset medium -b:v 5M -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 10M -bufsize 20M -y -f null - \ -map [e_720p30] -c:v h264_qsv -preset medium -b:v 3M -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 6M -bufsize 12M -y -f null - \ -map [e_360p30] -c:v h264_qsv -preset medium -b:v 1M -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 2M -bufsize 4M -y -f null - \ -map [e_288p30] -c:v h264_qsv -preset medium -b:v 800k -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -async_depth 2 -maxrate 1600k -bufsize 3200k -y -f null - \ -map [e_180p30] -c:v h264_qsv -preset medium -b:v 500k -g 256 -b_strategy 1 -low_power 1 -refs 5 -bf 7 -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.
[h264_qsv @ 0x5570c93ee940] A decode call did not consume any data: expect more data at input (-10)13 bitrate=N/A speed= 1x peed=N/A Last message repeated 2 times [Parsed_scale_qsv_7 @ 0x5570c9c971c0] Can't allocate a surface. [Parsed_scale_qsv_7 @ 0x5570c9c971c0] Failed to query an output frame. Error marking filters as finished Conversion failed!
Change History (4)
comment:1 by , 21 months ago
comment:2 by , 21 months ago
Cc: | added |
---|
comment:3 by , 21 months ago
Owner: | set to |
---|---|
Status: | new → open |
comment:4 by , 21 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