[FFmpeg-user] missing meta data in ffprobe output from mp4 format

Ulf Zibis Ulf.Zibis at CoSoCo.de
Fri Oct 20 20:18:43 EEST 2023


Hi,

in my last post "Codec 0x21000 is not in the full list."
you can see, that also the included metadata is mostly missing in the output of ffprobe. Why?

When I use the same command and the same metadata file for mkv output, beside this message all is fine:



$ ffmpeg -i König_de.meta -t 3:00 -i König_de.mkv -t 3:00 -i König_it.mkv -map_metadata:s:v 0:s:0 -map_metadata:s:a:0 0:s:0 -map_metadata:s:a:1 0:s:1 -map_metadata:s:v 1:s:v -map_metadata:s:a:0 1:s:a -map_metadata:s:a:1 2:s:a -map_metadata 0 -map_metadata 1 -map 1 -map 2:a -c copy -cues_to_front true König_de_3_c.mkv
ffmpeg version 5.1.1-1ubuntu2.1 Copyright (c) 2000-2022 the FFmpeg developers
   built with gcc 12 (Ubuntu 12.2.0-3ubuntu1)
   configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid 
--enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
   libavutil      57. 28.100 / 57. 28.100
   libavcodec     59. 37.100 / 59. 37.100
   libavformat    59. 27.100 / 59. 27.100
   libavdevice    59.  7.100 / 59.  7.100
   libavfilter     8. 44.100 /  8. 44.100
   libswscale      6.  7.100 /  6.  7.100
   libswresample   4.  7.100 /  4.  7.100
   libpostproc    56.  6.100 / 56.  6.100
Input #0, ffmetadata, from 'König_de.meta':
   Metadata:
     title           : Der König, der niemals einer war
     LANGUAGE        : deu
   Duration: 00:03:00.00, start: 0.000000, bitrate: 0 kb/s
   Chapters:
     Chapter #0:0: start 0.000000, end 60.000000
       Metadata:
         title           : chapter 1 Ein Schuss in der Dunkelheit
     Chapter #0:1: start 60.000000, end 120.000000
       Metadata:
         title           : chapter 2 Kettenreaktion
     Chapter #0:2: start 120.000000, end 180.000000
       Metadata:
         title           : chapter 3 Geständnisse
Codec 0x21000 is not in the full list.
   Stream #0:0(deu): Data: unknown_codec
     Metadata:
       title           : Der König, der niemals einer war
       language-iso639_2: deu
       language-simple : Deutsch
       language-description: Deutsch
Codec 0x21000 is not in the full list.
   Stream #0:1(ita): Data: unknown_codec
     Metadata:
       title           : Il principe
       language-iso639_2: ita
       language-simple : Italiano
       language-description: Italiano
Input #1, matroska,webm, from 'König_de.mkv':
   Metadata:
     ENCODER         : Lavf59.27.100
   Duration: 02:08:03.05, start: 0.000000, bitrate: 1148 kb/s
   Stream #1:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x688 [SAR 1:1 DAR 80:43], 24 fps, 24 tbr, 1k tbn
     Metadata:
       ENCODER         : Lavc59.37.100 libx264
       DURATION        : 02:08:03.045000000
   Stream #1:1: Audio: vorbis, 48000 Hz, stereo, fltp
     Metadata:
       ENCODER         : Lavc59.37.100 libvorbis
       DURATION        : 02:08:03.003000000
Input #2, matroska,webm, from 'König_it.mkv':
   Metadata:
     ENCODER         : Lavf59.27.100
   Duration: 02:08:04.42, start: 0.000000, bitrate: 1148 kb/s
   Stream #2:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x688 [SAR 1:1 DAR 80:43], 24 fps, 24 tbr, 1k tbn
     Metadata:
       ENCODER         : Lavc59.37.100 libx264
       DURATION        : 02:08:04.420000000
   Stream #2:1: Audio: vorbis, 48000 Hz, stereo, fltp
     Metadata:
       ENCODER         : Lavc59.37.100 libvorbis
       DURATION        : 02:08:04.410000000
File 'König_de_3_c.mkv' already exists. Overwrite? [y/N] y
Output #0, matroska, to 'König_de_3_c.mkv':
   Metadata:
     title           : Der König, der niemals einer war
     LANGUAGE        : deu
     encoder         : Lavf59.27.100
   Chapters:
     Chapter #0:0: start 0.000000, end 60.000000
       Metadata:
         title           : chapter 1 Ein Schuss in der Dunkelheit
     Chapter #0:1: start 60.000000, end 120.000000
       Metadata:
         title           : chapter 2 Kettenreaktion
     Chapter #0:2: start 120.000000, end 180.000000
       Metadata:
         title           : chapter 3 Geständnisse
   Stream #0:0(deu): Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1280x688 [SAR 1:1 DAR 80:43], q=2-31, 24 fps, 24 tbr, 1k tbn
     Metadata:
       title           : Der König, der niemals einer war
       language-iso639_2: deu
       language-simple : Deutsch
       language-description: Deutsch
       ENCODER         : Lavc59.37.100 libx264
       DURATION        : 02:08:03.045000000
   Stream #0:1(deu): Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
     Metadata:
       title           : Der König, der niemals einer war
       language-iso639_2: deu
       language-simple : Deutsch
       language-description: Deutsch
       ENCODER         : Lavc59.37.100 libvorbis
       DURATION        : 02:08:03.003000000
   Stream #0:2(ita): Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp
     Metadata:
       title           : Il principe
       language-iso639_2: ita
       language-simple : Italiano
       language-description: Italiano
       ENCODER         : Lavc59.37.100 libvorbis
       DURATION        : 02:08:04.410000000
Stream mapping:
   Stream #1:0 -> #0:0 (copy)
   Stream #1:1 -> #0:1 (copy)
   Stream #2:1 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 4321 fps=2069 q=-1.0 Lsize=   33570kB time=00:02:59.99 bitrate=1527.8kbits/s speed=86.2x
video:29421kB audio:3962kB subtitle:0kB other streams:0kB global headers:8kB muxing overhead: 0.556684%


$ ffprobe König_de_3_c.mkv
ffprobe version 5.1.1-1ubuntu2.1 Copyright (c) 2007-2022 the FFmpeg developers
   built with gcc 12 (Ubuntu 12.2.0-3ubuntu1)
   configuration: --prefix=/usr --extra-version=1ubuntu2.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid 
--enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-shared
   libavutil      57. 28.100 / 57. 28.100
   libavcodec     59. 37.100 / 59. 37.100
   libavformat    59. 27.100 / 59. 27.100
   libavdevice    59.  7.100 / 59.  7.100
   libavfilter     8. 44.100 /  8. 44.100
   libswscale      6.  7.100 /  6.  7.100
   libswresample   4.  7.100 /  4.  7.100
   libpostproc    56.  6.100 / 56.  6.100
Input #0, matroska,webm, from 'König_de_3_c.mkv':
   Metadata:
     title           : Der König, der niemals einer war
     LANGUAGE        : deu
     ENCODER         : Lavf59.27.100
   Duration: 00:03:00.21, start: 0.000000, bitrate: 1525 kb/s
   Chapters:
     Chapter #0:0: start 0.000000, end 60.000000
       Metadata:
         title           : chapter 1 Ein Schuss in der Dunkelheit
     Chapter #0:1: start 60.000000, end 120.000000
       Metadata:
         title           : chapter 2 Kettenreaktion
     Chapter #0:2: start 120.000000, end 180.000000
       Metadata:
         title           : chapter 3 Geständnisse
   Stream #0:0(deu): Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x688 [SAR 1:1 DAR 80:43], 24 fps, 24 tbr, 1k tbn
     Metadata:
       title           : Der König, der niemals einer war
       LANGUAGE-ISO639_2: deu
       LANGUAGE-SIMPLE : Deutsch
       LANGUAGE-DESCRIPTION: Deutsch
       ENCODER         : Lavc59.37.100 libx264
       DURATION        : 00:03:00.211000000
   Stream #0:1(deu): Audio: vorbis, 48000 Hz, stereo, fltp (default)
     Metadata:
       title           : Der König, der niemals einer war
       LANGUAGE-ISO639_2: deu
       LANGUAGE-SIMPLE : Deutsch
       LANGUAGE-DESCRIPTION: Deutsch
       ENCODER         : Lavc59.37.100 libvorbis
       DURATION        : 00:03:00.005000000
   Stream #0:2(ita): Audio: vorbis, 48000 Hz, stereo, fltp
     Metadata:
       title           : Il principe
       LANGUAGE-ISO639_2: ita
       LANGUAGE-SIMPLE : Italiano
       LANGUAGE-DESCRIPTION: Italiano
       ENCODER         : Lavc59.37.100 libvorbis
       DURATION        : 00:03:00.003000000


-Ulf

-------------- next part --------------
;FFMETADATA1
title=Der König, der niemals einer war
LANGUAGE=deu
#;ENCODER=Lavf59.27.100

[STREAM]
title=Der König, der niemals einer war
language=deu
language-iso639_2=deu
language-simple=Deutsch
language-description=Deutsch
[STREAM]
title=Il principe
language=ita
language-iso639_2=ita
language-simple=Italiano
language-description=Italiano

[CHAPTER]
TIMEBASE=1/1000
START=0
#chapter ends at 0:01:00
END=60000
title=chapter 1 Ein Schuss in der Dunkelheit

[CHAPTER]
TIMEBASE=1/1000
START=60000
#chapter ends at 0:02:00
END=120000
title=chapter 2 Kettenreaktion

[CHAPTER]
TIMEBASE=1/1000
START=120000
#chapter ends at 0:03:00
END=180000
title=chapter 3 Geständnisse



More information about the ffmpeg-user mailing list