Opened 19 months ago
Closed 19 months ago
#10281 closed defect (fixed)
regression: hwupload, hwmap failure
Reported by: | U. Artie Eoff | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | avfilter |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
Since https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=8562 hwupload, hwdownload and hwmap fail.
How to reproduce:
ffmpeg -v verbose -hwaccel vaapi \ -init_hw_device vaapi=hw:/dev/dri/renderD128 \ -hwaccel_output_format vaapi -f rawvideo \ -pix_fmt yuv420p -s:v 720x480 -i 720x480p.yuv \ -vf 'format=nv12,hwupload' -an -c:v hevc_vaapi \ -rc_mode CQP -profile:v main -qp 28 -compression_level 4 \ -g 30 -bf 2 -slices 1 -low_power 0 -vframes 150 \ -y output.h265 (pid: 769928) ffmpeg version N-110068-g90488e144081 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 11 (GCC) configuration: --prefix=/home/uaeoff/Work/workspace/media/install --disable-static --enable-shared --enable-libdrm --enable-vaapi --enable-libmfx --disable-amf --disable-audiotoolbox --disable-cuda --disable-cuda-sdk --disable-cuvid --disable-d3d11va --disable-dxva2 --disable-libnpp --disable-mmal --disable-nvdec --disable-nvenc --disable-omx --disable-omx-rpi --disable-rkmpp --disable-v4l2-m2m --disable-vdpau --disable-videotoolbox --enable-gpl --enable-libx264 --enable-libx265 libavutil 58. 5.100 / 58. 5.100 libavcodec 60. 6.101 / 60. 6.101 libavformat 60. 4.100 / 60. 4.100 libavdevice 60. 2.100 / 60. 2.100 libavfilter 9. 5.100 / 9. 5.100 libswscale 7. 2.100 / 7. 2.100 libswresample 4. 11.100 / 4. 11.100 libpostproc 57. 2.100 / 57. 2.100 [AVHWDeviceContext @ 0xe195c0] libva: VA-API version 1.18.0 [AVHWDeviceContext @ 0xe195c0] libva: User environment variable requested driver 'iHD' [AVHWDeviceContext @ 0xe195c0] libva: Trying to open /home/uaeoff/Work/workspace/media/install/lib/dri/iHD_drv_video.so [AVHWDeviceContext @ 0xe195c0] libva: Found init function __vaDriverInit_1_18 [AVHWDeviceContext @ 0xe195c0] libva: va_openDriver() returns 0 [AVHWDeviceContext @ 0xe195c0] Initialised VAAPI connection: version 1.18 [AVHWDeviceContext @ 0xe195c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.4 (). [AVHWDeviceContext @ 0xe195c0] Driver not found in known nonstandard list, using standard behaviour. [rawvideo @ 0xe45500] Estimating duration from bitrate, this may be inaccurate Input #0, rawvideo, from '/home/uaeoff/Work/workspace/media/src/otc-media/assets/bat/yuv/720x480p.yuv': Duration: 00:00:51.52, start: 0.000000, bitrate: 103680 kb/s Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 720x480, 103680 kb/s, 25 tbr, 25 tbn Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (hevc_vaapi)) Press [q] to stop, [?] for help [graph 0 input from stream 0:0 @ 0xf1f400] w:720 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:0/1 [hwupload @ 0xf1de80] A hardware device reference is required to upload frames to. [Parsed_hwupload_1 @ 0xf1ee00] Query format failed for 'Parsed_hwupload_1': Invalid argument Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0 [AVIOContext @ 0xf1ac40] Statistics: 0 bytes written, 0 seeks, 0 writeouts [in#0/rawvideo @ 0xe45380] Terminating demuxer thread [AVIOContext @ 0xe46c00] Statistics: 1555200 bytes read, 0 seeks Conversion failed!
cc: @elenril
Change History (6)
comment:1 by , 19 months ago
comment:2 by , 19 months ago
Summary: | regression: hwupload, hwdownload, hwmap faile → regression: hwupload, hwdownload, hwmap failure |
---|
comment:4 by , 19 months ago
Summary: | regression: hwupload, hwdownload, hwmap failure → regression: hwupload, hwmap failure |
---|
comment:5 by , 19 months ago
Can we get closure on this please? We have continuous test suites that are broken because of this.
comment:6 by , 19 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fix: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=8590