[FFmpeg-trac] #3922(ffmpeg:new): comment metadata doesn't show on iTunes
FFmpeg
trac at avcodec.org
Thu Sep 4 05:09:00 CEST 2014
#3922: comment metadata doesn't show on iTunes
------------------------------------+----------------------------------
Reporter: anasqadrei | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 2.3
Keywords: metadata | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffmpeg -i input.mp3 -y -codec copy -metadata comment="test 123"
output.mp3 -report
ffmpeg started on 2014-09-04 at 12:54:54
Report written to "ffmpeg-20140904-125454.log"
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 20 2014 13:28:07 with llvm-gcc 4.2.1 (LLVM build
2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-
pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-
decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab
--enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mp3, from 'input.mp3':
Metadata:
date : 2002
TLEN : 261000
publisher : Sony International
title : "hhh hhh"
album : Mi Alma Y Corazon
album_artist : India
track : 4
genre : أوتاريكا
artist : الخند
encoder : Lavf55.48.100
Duration: 00:04:21.28, start: 0.011995, bitrate: 128 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
Output #0, mp3, to 'output.mp3':
Metadata:
TDRL : 2002
TLEN : 261000
TPUB : Sony International
TIT2 : "hhh hhh"
TALB : Mi Alma Y Corazon
TPE2 : India
TRCK : 4
TCON : أوتاريكا
TPE1 : الخند
comment : test 123
TSSE : Lavf55.48.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press ÆqÅ to stop, Æ?Å for help
size= 4083kB time=00:04:21.26 bitrate= 128.0kbits/s
video:0kB audio:4082kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.015812%
}}}
content of the report file ffmpeg-20140904-125454.log
{{{
ffmpeg started on 2014-09-04 at 12:54:54
Report written to "ffmpeg-20140904-125454.log"
Command line:
./ffmpeg -i input.mp3 -y -codec copy -metadata "comment=test 123"
output.mp3 -report
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 20 2014 13:28:07 with llvm-gcc 4.2.1 (LLVM build
2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-
pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-
decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab
--enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'input.mp3'.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-codec' ... matched as option 'codec' (codec name) with
argument 'copy'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata)
with argument 'comment=test 123'.
Reading option 'output.mp3' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file input.mp3.
Successfully parsed a group of options.
Opening an input file: input.mp3.
[mp3 @ 0x7f814180f000] Format mp3 probed with size=2048 and score=51
[mp3 @ 0x7f814180f000] id3v2 ver:4 flags:00 len:229
[mp3 @ 0x7f814180f000] pad 0 0
[mp3 @ 0x7f814180f000] Before avformat_find_stream_info() pos: 656 bytes
read:32768 seeks:0
[mp3 @ 0x7f814180f000] demuxer injecting skip 529
[mp3 @ 0x7f8140804a00] skip 529 samples due to side data
[mp3 @ 0x7f8140804a00] skip 529/1152 samples
[mp3 @ 0x7f814180f000] max_analyze_duration 5000000 reached at 5015510
microseconds
[mp3 @ 0x7f814180f000] After avformat_find_stream_info() pos: 82576 bytes
read:98304 seeks:0 frames:194
Input #0, mp3, from 'input.mp3':
Metadata:
date : 2002
TLEN : 261000
publisher : Sony International
title : "hhh hhh"
album : Mi Alma Y Corazon
album_artist : India
track : 4
genre : أوتاريكا
artist : الخند
encoder : Lavf55.48.100
Duration: 00:04:21.28, start: 0.011995, bitrate: 128 kb/s
Stream #0:0, 194, 1/14112000: Audio: mp3, 44100 Hz, stereo, s16p, 128
kb/s
Successfully opened the file.
Parsing a group of options: output file output.mp3.
Applying option codec (codec name) with argument copy.
Applying option metadata (add metadata) with argument comment=test 123.
Successfully parsed a group of options.
Opening an output file: output.mp3.
Successfully opened the file.
Output #0, mp3, to 'output.mp3':
Metadata:
TDRL : 2002
TLEN : 261000
TPUB : Sony International
TIT2 : "hhh hhh"
TALB : Mi Alma Y Corazon
TPE2 : India
TRCK : 4
TCON : أوتاريكا
TPE1 : الخند
comment : test 123
TSSE : Lavf55.48.100
Stream #0:0, 0, 1/14112000: Audio: mp3, 44100 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
size= 4083kB time=00:04:21.26 bitrate= 128.0kbits/s
video:0kB audio:4082kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.015812%
Input file #0 (input.mp3):
Input stream #0:0 (audio): 10002 packets read (4180451 bytes);
Total: 10002 packets (4180451 bytes) demuxed
Output file #0 (output.mp3):
Output stream #0:0 (audio): 10002 packets muxed (4180451 bytes);
Total: 10002 packets (4180451 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7f81406245a0] Statistics: 2 seeks, 10004 writeouts
[AVIOContext @ 0x7f81407000c0] Statistics: 4181084 bytes read, 0 seeks
}}}
I don't get any errors when I set the comment metadata but when I open it
with iTunes, I do not see it in the Info -> Comments.
I am using iTunes 11.3.1 on OS X 10.9.4
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3922>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list