#9784 closed defect (fixed)
ffmpeg.exe & ffprobe.exe: -codecs » Invalid Flags for 9 Codecs
Reported by: | Thomas | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | ffmpeg |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hello
Thank you very much for your great and useful work!
Summary of the bug:
The codecs listing
% ffprobe.exe -v quiet -codecs % ffmpeg.exe -v quiet -codecs
declares those Flags in the header:
Codecs: D..... = Decoding supported .E.... = Encoding supported ..V... = Video codec ..A... = Audio codec ..S... = Subtitle codec ...I.. = Intra frame-only codec ....L. = Lossy compression .....S = Lossless compression -------
Now, ffmpeg.exe & ffprobe.exe lists the following 9 Codecs with invalid Flags because (according to the codecs header) at position 3, it is impossible to have a 'D' Flag:
..D... bin_data binary data ..D... dvd_nav_packet DVD Nav packet ..D... epg Electronic Program Guide ..D... klv SMPTE 336M Key-Length-Value (KLV) metadata ..D... mpegts raw MPEG-TS stream ..D... otf OpenType font ..D... scte_35 SCTE 35 Message Queue ..D... timed_id3 timed ID3 metadata ..D... ttf TrueType font
How to reproduce:
% ffprobe.exe -v quiet -codecs % ffmpeg.exe -v quiet -codecs % ffmpeg -version ffmpeg version N-105295-g641c4346b3-20220118 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11.2.0 (crosstool-NG 1.24.0.498_5075e1f) configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20220118 libavutil 57. 18.100 / 57. 18.100 libavcodec 59. 20.100 / 59. 20.100 libavformat 59. 17.101 / 59. 17.101 libavdevice 59. 5.100 / 59. 5.100 libavfilter 8. 26.100 / 8. 26.100 libswscale 6. 5.100 / 6. 5.100 libswresample 4. 4.100 / 4. 4.100 libpostproc 56. 4.100 / 56. 4.100
Thanks a lot, kind regards,
Thomas
Change History (5)
comment:1 by , 2 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 2 years ago
Thank you for your answer!,
The third column indicates the media type.
Although not shown in the header description, D stands for Data.
T for attachment is the other undocumented media type.
Why don't you just extend the header description, so that it will never get questions again?
It would be even useful for other / new developers because they do not have to use reverse engineering to understand undocumented flags :-)
Thanks a lot, kind regards,
Thomas
comment:3 by , 2 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Hello
The third column indicates the media type. Although not shown in the header description, D stands for Data. T for attachment is the other undocumented media type.
Does it make sense not to fix this small issue and display all information to the user?
It helps a lot to get useful information right from the tool and not to have to google for this kind of question :-)
Thanks a lot, kind regards,
Thomas
comment:4 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Already fixed in 9ab20b1614194280b862d98dfcdb7b1bcff03329
comment:5 by , 2 years ago
Component: | undetermined → ffmpeg |
---|---|
Priority: | normal → minor |
Version: | unspecified → git-master |
The third column indicates the media type. Although not shown in the header description, D stands for Data. T for attachment is the other undocumented media type.