ogg files become corrupted/unplayable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Critical
|
Unassigned |
Bug Description
i'm using a build of the `master` branch of mixxx built with `faad=1` on ubuntu 19.04
here's an example of a before file:
https:/
here is the output of `ogginfo` on that file:
Processing file "the cranberries/the cranberries - linger.ogg"...
New logical stream (#1, serial: 00006612): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20050304 (1.1.1)
Channels: 2
Rate: 44100
Nominal bitrate: 128.000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
ACOUSTID_
ACOUSTID_ID=
ALBUM=Everybody Else Is Doing It, So Why Can`t We
ALBUM ARTIST=The Cranberries
ALBUMARTIST=The Cranberries
ALBUMARTIST_
ALBUMARTISTSORT=
MUSICBRAINZ_
MUSICBRAINZ_
MUSICBRAINZ_
ARTIST=The Cranberries
ARTIST_CREDIT=
ARTISTSORT=
ASIN=
BPM=0
CATALOGNUMBER=
DESCRIPTION=
COMMENT=
COMPILATION=0
COMPOSER=
RELEASECOUNTRY=
DATE=0000
YEAR=0
DISC=0
DISCNUMBER=0
DISCSUBTITLE=
DISCTOTAL=0
DISCC=0
TOTALDISCS=0
ENCODEDBY=
ENCODER=
GENRE=
GROUPING=
LABEL=
PUBLISHER=
LANGUAGE=
LYRICS=
MUSICBRAINZ_
MUSICBRAINZ_
MUSICBRAINZ_
MUSICBRAINZ_
MUSICBRAINZ_
MEDIA=
ORIGINALDATE=0000
SCRIPT=
TITLE=Linger
TRACK=0
TRACKNUMBER=0
TRACKTOTAL=0
TRACKC=0
TOTALTRACKS=0
Vorbis stream 1:
Total data length: 4430771 bytes
Playback length: 4m:34.809s
Average bitrate: 128.984635 kb/s
Logical stream 1 ended
i open mixxx -- note that "track metadata synchronization" is enabled.
i then load the file onto a deck.
i then press play. i let it play long enough that the `played` counter increments
i then stop the track and exit mixxx
the resulting file is here:
https:/
the output of ogginfo on the updated file:
WARNING: Could not decode Vorbis header packet 1 - invalid Vorbis stream (1)
WARNING: Could not decode Vorbis header packet 1 - invalid Vorbis stream (1)
Vorbis stream 1:
Total data length: 0 bytes
Playback length: 0m:00.000s
Average bitrate: -nan kb/s
Logical stream 1 ended
re-opening mixxx and trying to play the file again says "the file could not be loaded", with the following log output:
Warning [CachingReaderW
Warning [CachingReaderW
Warning [CachingReaderW
Warning [CachingReaderW
Warning [CachingReaderW
Warning [CachingReaderW
Warning [CachingReaderW
this doesn't seem to happen with *all* ogg files, but a good number of them.
as a workaround, disabling metadata synchronization works well.
i'm glad i had backups of my ogg files, i haven't found a way to fix them once they're corrupted.
Changed in mixxx: | |
status: | In Progress → Fix Committed |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
This is supposed to be caused by a severe bug in TagLib 1.11.1 and will affect all platforms:
https:/ /github. com/taglib/ taglib/ issues/ 864
Unfortunately TagLib haven't released a bug fix version yet.