[FFmpeg-trac] #6602(undetermined:new): Can't set or remove encoder metadata
FFmpeg
trac at avcodec.org
Sun Aug 20 14:08:55 EEST 2017
#6602: Can't set or remove encoder metadata
-------------------------------------+-------------------------------------
Reporter: Psychonaut | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: According to the man page, the -metadata option can be
used to set or remove the encoder tag on the output file. However, this
doesn't work; ffmpeg always adds an encoder tag with the value
"Lavf57.71.100".
How to reproduce:
{{{
% ffmpeg -i foo.ogg -acodec copy -metadata encoder='baz' bar.ogg
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-
gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables -g' --optflags='-fmessage-
length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-
protector-strong -funwind-tables -fasynchronous-unwind-tables -g'
--disable-htmlpages --enable-pic --disable-stripping --enable-shared
--disable-static --enable-gpl --disable-openssl --enable-avresample
--enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-
libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-
libfreetype --enable-libgsm --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-libschroedinger --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-
netcdf --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree
--enable-libmp3lame --enable-libtwolame --enable-libx264 --enable-libx265
--enable-libxvid
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, ogg, from 'foo.ogg':
Duration: 00:02:42.54, start: 0.000000, bitrate: 107 kb/s
Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
ARTIST : Tristan Miller
DATE : 1997
COMPOSER : Roy Glover
comment : http://www.nothingisreal.com/
GENRE : C64 Remix
LICENSE : http://www.nothingisreal.com/
PERFORMER : Roy Glover
REPLAYGAIN_ALBUM_GAIN: -6.73 dB
REPLAYGAIN_ALBUM_PEAK: 1.12150097
REPLAYGAIN_TRACK_GAIN: -6.73 dB
REPLAYGAIN_TRACK_PEAK: 1.12150097
TITLE : M.U.L.E. (Boogie Addiction Mix)
Side data:
replaygain: track gain - -6.730000, track peak - 0.000026, album
gain - -6.730000, album peak - 0.000026,
Output #0, ogg, to 'bar.ogg':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
ARTIST : Tristan Miller
DATE : 1997
COMPOSER : Roy Glover
DESCRIPTION : http://www.nothingisreal.com/
GENRE : C64 Remix
LICENSE : http://www.nothingisreal.com/
PERFORMER : Roy Glover
REPLAYGAIN_ALBUM_GAIN: -6.73 dB
REPLAYGAIN_ALBUM_PEAK: 1.12150097
REPLAYGAIN_TRACK_GAIN: -6.73 dB
REPLAYGAIN_TRACK_PEAK: 1.12150097
TITLE : M.U.L.E. (Boogie Addiction Mix)
encoder : Lavf57.71.100
Side data:
replaygain: track gain - -6.730000, track peak - 0.000026, album
gain - -6.730000, album peak - 0.000026,
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 2132kB time=00:02:42.53 bitrate= 107.4kbits/s speed=6.35e+03x
video:0kB audio:2106kB subtitle:0kB other streams:0kB global headers:4kB
muxing overhead: 1.229537%
}}}
Attached is the console output of the above command with "-v 9 -loglevel
99".
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6602>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list