[FFmpeg-trac] #3694(undetermined:new): When transcoding from FLAC to MP3 the Year tag gets lost in the resulting mp3 file

FFmpeg trac at avcodec.org
Thu Jun 5 03:29:32 CEST 2014


#3694: When transcoding from FLAC to MP3 the Year tag gets lost in the resulting
mp3 file
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  dslkjlskdjfllk                     |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  flac mp3     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by bat999):

 Hi
 With luckynight.flac from here --->
 http://samples.mplayerhq.hu/A-codecs/lossless/

 Convert to mp3 with id3v2.3 tag
 ffmpeg -i luckynight.flac -id3v2_version 3 test1.mp3

 Convert to mp3 with id3v2.4 tag
 ffmpeg -i luckynight.flac test2.mp3

 Inspect the results with a suitable program.
 I used mp3diags from here ---> http://mp3diags.sourceforge.net/

 test1.mp3
 The YEAR (or whatever you prefer to call it) is correct with id3v2.3
 (Frame used is TYER).

 padding=10, unsynch=no; frames: TXXX="REPLAYGAIN_TRACK_PEAK 0.97720337",
 TXXX="REPLAYGAIN_TRACK_GAIN -4.19 dB", TXXX="REPLAYGAIN_ALBUM_PEAK
 0.97720337", TXXX="REPLAYGAIN_ALBUM_GAIN -4.19 dB", TALB="Treasure Quest
 Soundtrack", TPE1="Jody Marie Gnant", TYER="1995", TCON="Soundtrack",
 TXXX="COMMENT 1-minute song sample demonstrating FLAC compression",
 TIT2="Lucky Night", TRCK="9", TSSE="Lavf55.42.101"

 test2.mp3
 The YEAR (or whatever you prefer to call it) is not correct with id3v2.4
 (Frame used is TDRL).

 padding=10, unsynch=no; frames: TXXX="REPLAYGAIN_TRACK_PEAK 0.97720337",
 TXXX="REPLAYGAIN_TRACK_GAIN -4.19 dB", TXXX="REPLAYGAIN_ALBUM_PEAK
 0.97720337", TXXX="REPLAYGAIN_ALBUM_GAIN -4.19 dB", TALB="Treasure Quest
 Soundtrack", TPE1="Jody Marie Gnant", TDRL="1995", TCON="Soundtrack",
 TXXX="COMMENT 1-minute song sample demonstrating FLAC compression",
 TIT2="Lucky Night", TRCK="9", TSSE="Lavf55.42.101"

 Maybe for id3v2.4 tag the YEAR (or whatever you prefer to call it) needs
 to be written to frame TDRC instead of (or as well as) frame TDRL.

 According to Wikipedia TDRC is Recording time and TDRL is Release time.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3694#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list