[FFmpeg-trac] #9191(undetermined:new): ID3v2 comment tag not added to MP3 file

FFmpeg trac at avcodec.org
Fri Apr 16 16:43:36 EEST 2021


#9191: ID3v2 comment tag not added to MP3 file
-------------------------------------+-------------------------------------
             Reporter:  Georg        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Apologies if any formatting/method of this report should be incorrect, as
 I'm new to reporting bugs.

 Summary of the bug:
 When trying to add an ID3v1 and ID3v2 comment tag to an MP3 file, only the
 ID3v1 comment tag is written

 How to reproduce:
 I have tested it using the recent Windows builds

 ffmpeg-N-101958-g39eafd0b2e-win64-gpl.zip
 from https://github.com/BtbN/FFmpeg-Builds/releases

 and

 ffmpeg-4.4-essentials_build.zip
 from https://www.gyan.dev/ffmpeg/builds/

 I ran the following command in a Windows 10 shell

 ffmpeg -i "input file.mp3" -map 0:a -codec:a copy -write_xing 0
 -write_id3v1 1 -id3v2_version 3 -metadata track="1" -metadata title="Track
 Title" -metadata artist="Artist Name" -metadata album="Album Title"
 -metadata comment="Any Comments" "output file.mp3"

 Using the command with -id3v2_version 4 instead of 3 creates the same
 result.

 Possible cause:
 I have found a post by someone much more knowledgeable than me on
 stackoverflow.com who wrote the reason could be that the ID3v2 comment tag
 is (quote) "wrongly written as a TXXX frame instead of COMM".

 Thank you to everyone for your efforts, always greatly appreciated.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9191>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list