[FFmpeg-user] -bsf hevc_metadata

Phoney at neo.rr.com Phoney at neo.rr.com
Fri Sep 1 20:04:43 EEST 2023


Hi,

I'm trying to correct bad SARs via '-bsf' -- DARs are also bad but
I'll fix them next.
The error is: "Codec 'aac' (86018) is not supported by the bitstream
filter 'hevc_metadata'."
I'm not transcoding. I'm not using 'aac'.
I don't see why the command is failing.
Thanks for any suggestions.
-- Mark.

E:>ffmpeg -i "SOURCE.mp4" -bsf hevc_metadata=sample_aspect_ratio=64/45
"TARGET.mp4"
ffmpeg version 2023-08-10-git-d9d5695390-full_build-www.gyan.dev
Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib
--enable-li
brist --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2
--enable-libaribb24 --enable-libaribcaption --enable-libdav1d
--enable-libdavs2 --enable-libuavs3d --enable-libzvbi
--enable-librav1e --en
able-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation
--enable-libass --enable-frei0r --enable-libfreetype --enable-lib
fribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libs
haderc --enable-vulkan --enable-libplacebo --enable-opencl
--enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc
--enable-libcodec2 --enable-libilbc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
--enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromapr
int
 libavutil 58. 16.101 / 58. 16.101
 libavcodec 60. 23.100 / 60. 23.100
 libavformat 60. 10.100 / 60. 10.100
 libavdevice 60. 2.101 / 60. 2.101
 libavfilter 9. 10.100 / 9. 10.100
 libswscale 7. 3.100 / 7. 3.100
 libswresample 4. 11.100 / 4. 11.100
 libpostproc 57. 2.100 / 57. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SOURCE.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 512
 compatible_brands: isomiso2mp41
 creation_time : 2023-09-01T00:21:35.000000Z
 encoder : HandBrake 1.3.3 2020061300
 Duration: 01:54:19.20, start: 0.000000, bitrate: 5275 kb/s
 Chapters:
 Chapter #0:0: start 0.000000, end 182.520000
 Metadata:
 title : Chapter 1
 Chapter #0:1: start 182.520000, end 830.960000
 Metadata:
 title : Chapter 2
 Chapter #0:2: start 830.960000, end 1079.000000
 Metadata:
 title : Chapter 3
 Chapter #0:3: start 1079.000000, end 1351.480000
 Metadata:
 title : Chapter 4
 Chapter #0:4: start 1351.480000, end 1683.760000
 Metadata:
 title : Chapter 5
 Chapter #0:5: start 1683.760000, end 2032.160000
 Metadata:
 title : Chapter 6
 Chapter #0:6: start 2032.160000, end 2486.640000
 Metadata:
 title : Chapter 7
 Chapter #0:7: start 2486.640000, end 2960.360000
 Metadata:
 title : Chapter 8
 Chapter #0:8: start 2960.360000, end 3660.280000
 Metadata:
 title : Chapter 9
 Chapter #0:9: start 3660.280000, end 4004.000000
 Metadata:
 title : Chapter 10
 Chapter #0:10: start 4004.000000, end 4285.840000
 Metadata:
 title : Chapter 11
 Chapter #0:11: start 4285.840000, end 4541.680000
 Metadata:
 title : Chapter 12
 Chapter #0:12: start 4541.680000, end 4943.120000
 Metadata:
 title : Chapter 13
 Chapter #0:13: start 4943.120000, end 5324.280000
 Metadata:
 title : Chapter 14
 Chapter #0:14: start 5324.280000, end 5857.280000
 Metadata:
 title : Chapter 15
 Chapter #0:15: start 5857.280000, end 6709.040000
 Metadata:
 title : Chapter 16
 Chapter #0:16: start 6709.040000, end 6859.180000
 Metadata:
 title : Chapter 17
 Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668),
yuv420p(tv, bt470bg), 720x576 [SAR 1:1 DAR 5:4], 3913 kb/s, 50 fp
s, 50 tbr, 90k tbn (default)
 Metadata:
 creation_time : 2023-09-01T00:21:35.000000Z
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz,
stereo, fltp, 448 kb/s (default)
 Metadata:
 creation_time : 2023-09-01T00:21:35.000000Z
 handler_name : Stereo
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:2[0x3](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz,
5.1(side), fltp, 448 kb/s
 Metadata:
 creation_time : 2023-09-01T00:21:35.000000Z
 handler_name : Surround
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:3[0x4](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz,
5.1(side), fltp, 448 kb/s
 Metadata:
 creation_time : 2023-09-01T00:21:35.000000Z
 handler_name : Surround
 vendor_id : [0][0][0][0]
 Side data:
 audio service type: main
 Stream #0:4[0x5](eng): Subtitle: dvd_subtitle (mp4s / 0x7334706D),
720x576, 2 kb/s (default)
 Metadata:
 creation_time : 2023-09-01T00:21:35.000000Z
 handler_name : SubtitleHandler
 Stream #0:5[0x6](eng): Data: bin_data (text / 0x74786574)
 Metadata:
 creation_time : 2023-09-01T00:21:35.000000Z
 handler_name : SubtitleHandler
Stream mapping:
 Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
 Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[hevc_metadata @ 0000000000393d00] Codec 'aac' (86018) is not
supported by the bitstream filter 'hevc_metadata'. Supported codecs
are: hevc (173)
[aost#0:1/aac @ 0000000003f63c80] Error initializing bitstream filter:
hevc_metadata
Error while filtering: Invalid argument
[out#0/mp4 @ 0000000000427840] Nothing was written into output file,
because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=N/A bitrate=N/A speed=N/A
[aac @ 0000000003dc7ec0] Qavg: nan
Conversion failed!




More information about the ffmpeg-user mailing list