[FFmpeg-trac] #10281(avfilter:new): regression: hwupload, hwdownload, hwmap faile
FFmpeg
trac at avcodec.org
Fri Mar 24 17:20:25 EET 2023
#10281: regression: hwupload, hwdownload, hwmap faile
-------------------------------------+-------------------------------------
Reporter: U. Artie | Type: defect
Eoff |
Status: new | Priority: critical
Component: avfilter | Version:
| unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10281>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list