[FFmpeg-devel] metadata (.m4a): tag 'tmpo' is not handled

Brad Lanam brad.lanam.comp at gmail.com
Thu Jun 1 21:48:11 EEST 2023


Versions:
     Linux: 4.3.6-0+deb11u1
     Windows: 5.1.2-full_build-www.gyan.dev

The 'tmpo' metadata tag within a .m4a audio file is not recognized by
ffmpeg and is never processed or output.   Neither the command line
interface nor the api returns this tag.

References:
https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html
(under BPM)

Apologies if this has already been fixed.
-------------- next part --------------
-- ../test-music/010-waltz.m4a
- MPEG-4 audio (AAC LC), 30.66 seconds, 128869 bps (audio/mp4)
----:BDJ4:DANCE=MP4FreeForm(b'Waltz', <AtomDataType.UTF8: 1>)
----:BDJ4:DANCELEVEL=MP4FreeForm(b'Easy', <AtomDataType.UTF8: 1>)
----:BDJ4:DANCERATING=MP4FreeForm(b'Great', <AtomDataType.UTF8: 1>)
----:BDJ4:NOTES=MP4FreeForm(b'NOTES3 NOTES4 \xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84', <AtomDataType.UTF8: 1>)
----:BDJ4:STATUS=MP4FreeForm(b'New', <AtomDataType.UTF8: 1>)
aART=010-albartist
keyw=tag1 tag2 tag3 m4a bpm
tmpo=84
trkn=(10, 0)
呸RT=010-artist
奄lb=010-album
妮en=Rock
姊am=010-waltz
孤oo=Lavf58.45.100

-------------- next part --------------
ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-shared --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-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-libfribidi --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-libmfx --enable-libshaderc --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-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-chromaprint
  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, mov,mp4,m4a,3gp,3g2,mj2, from '../test-music/010-waltz.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: M4A isomiso2
    title           : 010-waltz
    artist          : 010-artist
    album           : 010-album
    genre           : Rock
    track           : 10
    encoder         : Lavf58.45.100
    STATUS          : New
    DANCELEVEL      : Easy
    DANCERATING     : Great
    DANCE           : Waltz
    NOTES           : NOTES3 NOTES4 ÄÄÄÄÄÄÄÄ
    album_artist    : 010-albartist
    keywords        : tag1 tag2 tag3 m4a bpm
  Duration: 00:00:30.66, start: 0.000000, bitrate: 130 kb/s
  Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
At least one output file must be specified
-------------- next part --------------
-- ../test-music/010-waltz.m4a
- MPEG-4 audio (AAC LC), 30.66 seconds, 128869 bps (audio/mp4)
----:BDJ4:DANCE=MP4FreeForm(b'Waltz', <AtomDataType.UTF8: 1>)
----:BDJ4:DANCELEVEL=MP4FreeForm(b'Easy', <AtomDataType.UTF8: 1>)
----:BDJ4:DANCERATING=MP4FreeForm(b'Great', <AtomDataType.UTF8: 1>)
----:BDJ4:NOTES=MP4FreeForm(b'NOTES3 NOTES4 \xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84\xc3\x84', <AtomDataType.UTF8: 1>)
----:BDJ4:STATUS=MP4FreeForm(b'New', <AtomDataType.UTF8: 1>)
aART=010-albartist
keyw=tag1 tag2 tag3 m4a bpm
tmpo=84
trkn=(10, 0)
©ART=010-artist
©alb=010-album
©gen=Rock
©nam=010-waltz
©too=Lavf58.45.100

-------------- next part --------------
ffmpeg version 4.3.6-0+deb11u1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr --extra-version=0+deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --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-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../test-music/010-waltz.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: M4A isomiso2
    title           : 010-waltz
    artist          : 010-artist
    album           : 010-album
    genre           : Rock
    track           : 10
    encoder         : Lavf58.45.100
    STATUS          : New
    DANCELEVEL      : Easy
    DANCERATING     : Great
    DANCE           : Waltz
    NOTES           : NOTES3 NOTES4 ÄÄÄÄÄÄÄÄ
    album_artist    : 010-albartist
    keywords        : tag1 tag2 tag3 m4a bpm
  Duration: 00:00:30.66, start: 0.000000, bitrate: 130 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 010-waltz.m4a
Type: audio/mp4
Size: 501590 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230601/59536e3b/attachment.bin>


More information about the ffmpeg-devel mailing list