Opened 10 years ago

Closed 9 years ago

#3904 closed enhancement (needs_more_info)

ffmpeg is wrong to convert id3v2's attributes to utf8

Reported by: 张广文 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 by Carl Eugen Hoyos, 10 years ago

Analyzed by developer: unset
Keywords: encode chinese charactor ISO8859 utf8 gb removed
Reproduced by developer: unset
Type: artenhancement

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 by Carl Eugen Hoyos, 9 years ago

Keywords: utf8 added
Resolution: needs_more_info
Status: newclosed

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

Note: See TracTickets for help on using tickets.