#11612: Vulkan HEVC decode 1st frame broken -------------------------------------+------------------------------------- Reporter: Andrew-R | Type: defect Status: new | Priority: normal Component: avcodec | Version: git- Keywords: vulkan, | master hevc | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: How to reproduce: {{{ Download https://drive.google.com/file/d/1Ic9DZXMSo07EJMqCFaQRKSSrSw6y1mYv/view
Run ffmpeg like this: RADV_PERFTEST=video_decode ~/bin/ffmpeg8-vk -hwaccel vulkan -i ~/K38_sdcard1/Documents/iPhone11_4K-recorder_59.940HDR10.mov -vframes 1 frame-vulkan.png ffmpeg version N-118546-g903b085f91 Copyright (c) 2000-2025 the FFmpeg developers built with gcc 11.2.0 (GCC) configuration: --enable-opencl --disable-debug --enable-libx265 --enable-libx264 --enable-gpl --enable-libplacebo --enable-vulkan --enable-libshaderc --enable-libzimg --enable-libaom --enable-libdav1d --enable-libsoxr --enable-libfontconfig --enable-libfreetype --enable- libfribidi --enable-gnutls --enable-libass --enable-libbluray --enable- libcdio --enable-frei0r --enable-libgsm --enable-openal --enable-libopus --enable-librtmp --enable-libsnappy --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable- libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp libavutil 60. 3.100 / 60. 3.100 libavcodec 62. 3.101 / 62. 3.101 libavformat 62. 0.102 / 62. 0.102 libavdevice 62. 0.100 / 62. 0.100 libavfilter 11. 0.100 / 11. 0.100 libswscale 9. 0.100 / 9. 0.100 libswresample 6. 0.100 / 6. 0.100 [aist#0:1/pcm_s16le @ 0xba830c0] Guessed Channel Layout: stereo Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/guest/K38_sdcard1/Documents /iPhone11_4K-recorder_59.940HDR10.mov': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt creation_time : 2020-12-18T22:20:29.000000Z com.apple.quicktime.creationdate: 2020-12-18T17:20:29-0500 com.apple.quicktime.location.ISO6709: +33.4233-084.5802/ Duration: 00:00:19.16, start: 0.000000, bitrate: 69140 kb/s Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(pc, bt2020nc/bt2020/smpte2084), 3840x2160, 64166 kb/s, 59.92 fps, 59.94 tbr, 600 tbn (default) Metadata: creation_time : 2020-12-18T22:20:29.000000Z handler_name : Core Media Video vendor_id : [0][0][0][0] encoder : HEVC Stream #0:1[0x2](und): Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, stereo, s16, 1536 kb/s (default) Metadata: creation_time : 2020-12-18T22:20:29.000000Z handler_name : Core Media Audio vendor_id : [0][0][0][0] Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> png (native)) Press [q] to stop, [?] for help Output #0, image2, to 'frame-vulkan.png': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt com.apple.quicktime.location.ISO6709: +33.4233-084.5802/ com.apple.quicktime.creationdate: 2020-12-18T17:20:29-0500 encoder : Lavf62.0.102 Stream #0:0(und): Video: png, rgb48be(pc, gbr/bt2020/smpte2084, progressive), 3840x2160, q=2-31, 200 kb/s, 59.94 fps, 59.94 tbn (default) Metadata: encoder : Lavc62.3.101 png creation_time : 2020-12-18T22:20:29.000000Z handler_name : Core Media Video vendor_id : [0][0][0][0] [image2 @ 0xba825c0] The specified filename 'frame-vulkan.png' does not contain an image sequence pattern or a pattern is invalid. [image2 @ 0xba825c0] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image. [out#0/image2 @ 0xba672c0] video:14788KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown frame= 1 fps=0.2 q=-0.0 Lsize=N/A time=00:00:00.01 bitrate=N/A speed=0.00299x elapsed=0:00:05.57 }}} Observe that frame-vulkan.png broken relative to software decoding. Problem also exist in ffmpeg 7.1.1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/11612> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".