Changes between Initial Version and Version 1 of Ticket #10663


Ignore:
Timestamp:
Nov 14, 2023, 1:34:53 PM (3 years ago)
Author:
kebs00n
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10663 – Description

    initial v1  
    1 Hello. I'm trying to hardware decode 444 HEVC video frame using VAAPI, but it always fallback in software decoding with this error {{{Hardware does not offer any usable surface formats}}}.
     1Hello. I'm trying to hardware decode 444 HEVC video frame using VAAPI, but it always fallback in software decoding with this error
     2{{{
     3% ./ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -y -i ../chromium-video-format-tests/media/test/data/blackwhite_yuv444p-frame.hevc 444.yuv -report
     4ffmpeg started on 2023-11-14 at 14:33:10
     5Report written to "ffmpeg-20231114-143310.log"
     6Log level: 48
     7ffmpeg version n6.0.1 Copyright (c) 2000-2023 the FFmpeg developers
     8  built with gcc 10 (Debian 10.2.1-6)
     9  configuration: --prefix=/home/mou/Documents/Dev/FFmpeg/build
     10  libavutil      58.  2.100 / 58.  2.100
     11  libavcodec     60.  3.100 / 60.  3.100
     12  libavformat    60.  3.100 / 60.  3.100
     13  libavdevice    60.  1.100 / 60.  1.100
     14  libavfilter     9.  3.100 /  9.  3.100
     15  libswscale      7.  1.100 /  7.  1.100
     16  libswresample   4. 10.100 /  4. 10.100
     17Input #0, hevc, from '../chromium-video-format-tests/media/test/data/blackwhite_yuv444p-frame.hevc':
     18  Duration: N/A, bitrate: N/A
     19  Stream #0:0: Video: hevc (Rext), yuv444p(tv), 240x240 [SAR 1:1 DAR 1:1], 25 tbr, 1200k tbn
     20Stream mapping:
     21  Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
     22Press [q] to stop, [?] for help
     23[hevc @ 0x56076e89c680] Hardware does not offer any usable surface formats.
     24[hevc @ 0x56076e89c680] Failed setup for format vaapi: hwaccel initialisation returned error.
     25Output #0, rawvideo, to '444.yuv':
     26  Metadata:
     27    encoder         : Lavf60.3.100
     28  Stream #0:0: Video: rawvideo (444P / 0x50343434), yuv444p(tv, progressive), 240x240 [SAR 1:1 DAR 1:1], q=2-31, 34560 kb/s, 25 fps, 25 tbn
     29    Metadata:
     30      encoder         : Lavc60.3.100 rawvideo
     31frame=    1 fps=0.0 q=-0.0 Lsize=     169kB time=00:00:00.04 bitrate=34560.0kbits/s speed=13.2x   
     32video:169kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
     33
     34}}}
     35
    236See attached logs
    337