-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi,
many thanks first for you precompiled Windows ARM64 ffmpeg packages.
For me everything works, except MV-HEVC and i see in your Release notes only MV-HEVC decoding
On my system i can encode videos wirh handbrake
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.26100.0
CPU: Microsoft SQ3
and
H.265 (MediaFoundation)
This works fine.
But when i try to encode the same video with your latest ffmpeg version, which supports hevc MediaFoundation
V....D hevc_mf HEVC via MediaFoundation (codec hevc)
the encoding fails - with h264_mf it works.
i use the n7.1-241205 GPL version
ffmpeg -version ffmpeg version b08d796 Copyright (c) 2000-2024 the FFmpeg developers built with Microsoft (R) C/C++ Optimizing Compiler Version 19.42.34435 for ARM64 configuration: --toolchain=msvc --arch=arm64 --enable-static --pkg-config-flags=--static --enable-cross-compile --disable-asm --enable-gpl --enable-version3 --enable-zlib --enable-libfreetype --enable-libharfbuzz --enable-libass --enable-sdl --enable-libjxl --enable-libvpx --enable-libwebp --enable-libx265 --enable-libx264 libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.100 / 61. 19.100 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100
here the output of the working h264_mf encoding
ffmpeg -i file_example_MP4_1920_18MG.mp4 -c:v h264_mf -b:v 2M -c:a aac -b:a 128k output_hevc.mp4 ffmpeg version b08d796 Copyright (c) 2000-2024 the FFmpeg developers built with Microsoft (R) C/C++ Optimizing Compiler Version 19.42.34435 for ARM64 configuration: --toolchain=msvc --arch=arm64 --enable-static --pkg-config-flags=--static --enable-cross-compile --disable-asm --enable-gpl --enable-version3 --enable-zlib --enable-libfreetype --enable-libharfbuzz --enable-libass --enable-sdl --enable-libjxl --enable-libvpx --enable-libwebp --enable-libx265 --enable-libx264 libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.100 / 61. 19.100 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file_example_MP4_1920_18MG.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41isomavc1 creation_time : 2015-08-07T09:13:36.000000Z Duration: 00:00:30.53, start: 0.000000, bitrate: 4675 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 4486 kb/s, 30 fps, 30 tbr, 30 tbn (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Video Handler vendor_id : [0][0][0][0] encoder : AVC Coding Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Audio Handler vendor_id : [0][0][0][0] Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_mf)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [h264_mf @ 000001A9F77BC9D0] MFT name: 'H264 Encoder MFT' Output #0, mp4, to 'output_hevc.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41isomavc1 encoder : Lavf61.7.100 Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 2000 kb/s, 30 fps, 15360 tbn (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Video Handler vendor_id : [0][0][0][0] encoder : Lavc61.19.100 h264_mf Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Audio Handler vendor_id : [0][0][0][0] encoder : Lavc61.19.100 aac [out#0/mp4 @ 000001A9F7139E90] video:7129KiB audio:8KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.377141% frame= 901 fps=188 q=-0.0 Lsize= 7164KiB time=00:00:30.00 bitrate=1956.3kbits/s speed=6.27x [aac @ 000001A9F76F79B0] Qavg: 65536.000
here the output of the non working hevc_mf encoding
ffmpeg -i file_example_MP4_1920_18MG.mp4 -c:v hevc_mf -b:v 2M -c:a aac -b:a 128k output_hevc.mp4 ffmpeg version b08d796 Copyright (c) 2000-2024 the FFmpeg developers built with Microsoft (R) C/C++ Optimizing Compiler Version 19.42.34435 for ARM64 configuration: --toolchain=msvc --arch=arm64 --enable-static --pkg-config-flags=--static --enable-cross-compile --disable-asm --enable-gpl --enable-version3 --enable-zlib --enable-libfreetype --enable-libharfbuzz --enable-libass --enable-sdl --enable-libjxl --enable-libvpx --enable-libwebp --enable-libx265 --enable-libx264 libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.100 / 61. 19.100 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file_example_MP4_1920_18MG.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41isomavc1 creation_time : 2015-08-07T09:13:36.000000Z Duration: 00:00:30.53, start: 0.000000, bitrate: 4675 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 4486 kb/s, 30 fps, 30 tbr, 30 tbn (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Video Handler vendor_id : [0][0][0][0] encoder : AVC Coding Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Audio Handler vendor_id : [0][0][0][0] Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_mf)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [hevc_mf @ 0000016E8113A7E0] MFT name: 'HEVCVideoExtensionEncoder' [hevc_mf @ 0000016E8113A7E0] failed processing input: 80004005 [vost#0:0/hevc_mf @ 0000016E817BCD70] Error submitting video frame to the encoder [vost#0:0/hevc_mf @ 0000016E817BCD70] Error encoding a frame: Generic error in an external library [vost#0:0/hevc_mf @ 0000016E817BCD70] Task finished with error code: -542398533 (Generic error in an external library) [vost#0:0/hevc_mf @ 0000016E817BCD70] Terminating thread with return code -542398533 (Generic error in an external library) Output #0, mp4, to 'output_hevc.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41isomavc1 encoder : Lavf61.7.100 Stream #0:0(und): Video: hevc (hev1 / 0x31766568), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 2000 kb/s, 30 fps, 15360 tbn (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Video Handler vendor_id : [0][0][0][0] encoder : Lavc61.19.100 hevc_mf Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: creation_time : 2015-08-07T09:13:36.000000Z handler_name : L-SMASH Audio Handler vendor_id : [0][0][0][0] encoder : Lavc61.19.100 aac [out#0/mp4 @ 0000016E816FD9D0] video:0KiB audio:8KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 75.396825% frame= 0 fps=0.0 q=0.0 Lsize= 15KiB time=N/A bitrate=N/A speed=N/A [aac @ 0000016E816F7FB0] Qavg: 65536.000 Conversion failed!
The quetion is - should it work, when it works also with handbrake or is this not possible with ffmpeg ?
Thanks
Miro