Opened 5 years ago

Closed 5 years ago

#3904 closed enhancement (needs_more_info)

ffmpeg is wrong to convert id3v2's attributes to utf8

Reported by: zgw860714 Owned by:
Priority: wish Component: avformat
Version: 2.3 Keywords: id3v2 utf8
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
When ffmpeg produce mp3 music and parse its id3v2 header, ffmpeg convert everything to utf-8.it's very well.
When some windows program create this, they set tag to ISO8859-1, store chinese charactor by gb encoding which is 2 ISO8859-1 charactors.
After ffmpeg convert these charactors to utf-8, we can't recognize thiese.

I suggest developers to add a convert tool of converting gb to utf8, or output with ISO8859-1 just like id3v1's attributes.

Change History (2)

comment:1 Changed 5 years ago by cehoyos

  • Analyzed by developer unset
  • Keywords encode chinese charactor ISO8859 utf8 gb removed
  • Reproduced by developer unset
  • Type changed from art to enhancement

Please test current FFmpeg git head and please provide a command line that allows to reproduce your problem together with the complete, uncut console output to make this a valid ticket.

comment:2 Changed 5 years ago by cehoyos

  • Keywords utf8 added
  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if you can provide more information and / or a sample.

Note: See TracTickets for help on using tickets.