[FFmpeg-user] Metadata problem from mp3 to ogg
hallucinet at free.fr
hallucinet at free.fr
Fri May 6 22:04:01 CEST 2011
Hi everybody, this is my first message. I searched the archive about my problem, actually found answers, but they somehow seem to not apply to my very problem :
I cannot pass the metadata from my mp3 files to ogg files. The mp3s appear to have both Id3V1 and Id3V2 metadata, correctly tagged. When I lauch the ffmpeg command, it reads and displays what seem to be the ID3V2 tags of the mp3 file. But I cannot retrieve them in the ogg file.
#id3v2 -l Elephant_Rouge-01-Splash.mp3
id3v1 tag info for Elephant_Rouge-01-Splash.mp3:
Title : Splash Artist: Elephant Rouge
Album : Splash Year: 2009, Genre: Avantgarde (90)
Comment: Track: 1
id3v2 tag info for Elephant_Rouge-01-Splash.mp3:
TIT2 (Title/songname/content description): Splash
TPE1 (Lead performer(s)/Soloist(s)): Elephant Rouge
TALB (Album/Movie/Show title): Splash
TYER (Year): 2009
TCON (Content type): Avantgarde (90)
TRCK (Track number/Position in set): 1
#ffmpeg -i Elephant_Rouge-01-Splash.mp3 -acodec libvorbis -ab 64k -map_meta_data Elephant_Rouge-01-Splash.ogg:Elephant_Rouge-01-Splash.mp3 Elephant_Rouge-01-Splash.ogg
FFmpeg version SVN-r22960, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 1 2011 19:24:52 with gcc 4.4.3
configuration: --prefix=/usr --enable-shared --libdir=/usr/lib --shlibdir=/usr/lib --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-libmp3lame --enable-libfaad --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264
libavutil 50.14. 0 / 50.14. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.61. 0 / 52.61. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mp3 @ 0x9709510]max_analyze_duration reached
[mp3 @ 0x9709510]Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'Elephant_Rouge-01-Splash.mp3':
Metadata:
TIT2 : Splash
TPE1 : Elephant Rouge
TALB : Splash
TYER : 2009
TCON : Avantgarde
TRCK : 1
Duration: 00:02:56.45, start: 0.000000, bitrate: 128 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
Output #0, ogg, to 'Elephant_Rouge-01-Splash.ogg':
Metadata:
title : Splash
artist : Elephant Rouge
album : Splash
TYER : 2009
genre : Avantgarde
TRACKNUMBER : 1
encoder : Lavf52.61.0
Stream #0.0: Audio: libvorbis, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mp3 @ 0x970a6e0]Header missingrate= 76.7kbits/s
Error while decoding stream #0.0
size= 1650kB time=176.20 bitrate= 76.7kbits/s
video:0kB audio:1378kB global headers:3kB muxing overhead 19.444910%
#id3v2 -l Elephant_Rouge-01-Splash.ogg
Elephant_Rouge-01-Splash.ogg: No ID3 tag
(the file plays fine, BTW)
I tried a lot of outfile:infile combinations, only 0:0 produced no errors, but still no tags in the resulting files... :(
What is crutial to me are the Song name and track #
Any idea of what I'm doing wrong ?
Thanks
More information about the ffmpeg-user
mailing list