#7969 closed defect (wontfix)
Flac tracknumber is incorrectly identified
Reported by: | rayden | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | flac metadata |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: track number is shown incorrectly for flac files. ffprobe shows tracknumber as track (lowercase), and track as TRACK (uppercase). Only using metaflac I realised the tags were different
How to reproduce:
Grab a good flac file, and then run:
$ ffprobe '02 - Angelica.flac' Input #0, flac, from '02 - Angelica.flac': Metadata: ALBUM : Eternity [Peaceville Records-Pony Canyon Inc PCCY-01050] TRACKTOTAL : 15 ARTIST : Anathema PERFORMER : Anathema GENRE : "Doom metal" DATE : 1996 TITLE : Angelica track : 02 Duration: 00:05:50.40, start: 0.000000, bitrate: 809 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 $ metaflac --list '02 - Angelica.flac' ... METADATA block #2 type: 4 (VORBIS_COMMENT) is last: false length: 233 vendor string: reference libFLAC 1.3.2 20170101 comments: 8 comment[0]: ALBUM=Eternity [Peaceville Records-Pony Canyon Inc PCCY-01050] comment[1]: TRACKNUMBER=02 comment[2]: TRACKTOTAL=15 comment[3]: ARTIST=Anathema comment[4]: PERFORMER=Anathema comment[5]: GENRE=Doom Metal comment[6]: DATE=1996 comment[7]: TITLE=Angelica
Tracknumber is the correct tag that players use to identify, hence the following example is just for the purpose of showing the differences:
$ metaflac --set-tag=track=02 '02 - Angelica.flac' $ ffprobe -fflags +bitexact 02\ -\ Angelica.flac Input #0, flac, from '02 - Angelica.flac': Metadata: ALBUM : Eternity [Peaceville Records-Pony Canyon Inc PCCY-01050] TITLE : Angelica TRACKTOTAL : 15 ARTIST : Anathema PERFORMER : Anathema GENRE : Doom Metal DATE : 1996 TRACK : 02 Duration: 00:05:50.40, start: 0.000000, bitrate: 809 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
This is very confusing and I think the tracknumber should show as TRACKNUMBER (uppercase).
It took me a good while initially to understand why the tags on my flac album were not being set correctly, and that was because I was using track as ffprobe was showing it.
Change History (4)
comment:1 by , 5 years ago
Cc: | added |
---|
comment:3 by , 5 years ago
Component: | ffprobe → avformat |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Version: | unspecified → git-master |
For future tickets: Please remember that only current FFmpeg git head is supported here.
track
is how FFmpeg calls the tag in question.
comment:4 by , 5 years ago
Cc: | removed |
---|
Forgot to add this: