Opened 4 years ago

Closed 4 years ago

#8623 closed defect (fixed)

metadata year is ignored for id3v1

Reported by: Daniel Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: id3v2 mp3
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

$ ffmpeg  -i "01 Nina Chuba - Lips Shut-twmFf5OdIEM.mp3" -metadata date=2020 -metad
ata album_artist=me -metadata album=foo -metadata artist="Nina Chuba" -metadata track=01 -metadata c
omposer="me" -metadata title="Lips Shut" -metadata comment="https://youtu.be/twmFf5OdIEM" -id3v2_ver
sion 3 -write_id3v1 1 -report out.mp3

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers

built with Apple clang version 11.0.0 (clang-1100.0.33.17)

Expected result:

final output to contain id3v2 AND id3v1 year tag

Actual result:

Only id3v2 contains year tag

Note below how Year is empty for id3v1

[~/l/m/m/g/E/foo]$ id3v2 --list out.mp3
id3v1 tag info for out.mp3:
Title  : Lips Shut                       Artist: Nina Chuba
Album  : foo                             Year:     , Genre: Unknown (255)
Comment: https://youtu.be/twmFf5OdIEM    Track: 1
id3v2 tag info for out.mp3:
TXXX (User defined text information): (comment): https://youtu.be/twmFf5OdIEM
TYER (Year): 2020
TPE2 (Band/orchestra/accompaniment): me
TALB (Album/Movie/Show title): foo
TPE1 (Lead performer(s)/Soloist(s)): Nina Chuba
TRCK (Track number/Position in set): 01
TCOM (Composer): me
TIT2 (Title/songname/content description): Lips Shut
TSSE (Software/Hardware and settings used for encoding): Lavf58.29.100

Attachments (1)

ffmpeg-20200418-145443.log (8.5 KB ) - added by Daniel 4 years ago.

Download all attachments as: .zip

Change History (5)

by Daniel, 4 years ago

Attachment: ffmpeg-20200418-145443.log added

comment:1 by Carl Eugen Hoyos, 4 years ago

Component: ffmpegavformat
Keywords: id3v2 added; id3 removed
Reproduced by developer: set
Version: 4.2git-master

Only reproducible with -id3v2_version 3 -write_id3v1 1

Note: See TracTickets for help on using tickets.