warn when loading corrupted file

Bug #1467002 reported by Be
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

I was playing a FLAC file that I did not know was corrupted and the audio suddenly stopped. Mixxx kept scrolling the waveform. I tried playing the file with mplayer and confirmed that it was corrupted. It would be great if Mixxx could detect this when a track is loaded and warn the user.

Tags: soundsource
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

Decoding is done on demand in chunks and decoded chunks are cached. Each decoding operation is preceded by a random seek operation in the audio stream.

We are not able to determine in advance if one of the seek and following decoding operations might fail. This would only be possible by decoding and buffering the whole audio stream in advance.

Changed in mixxx:
assignee: nobody → Uwe Klotz (uklotzde)
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Is there anything to be done here? I think if we detect corruption while loading it (bad headers, etc.) then we already bail on loading it w/ a warning. In Bug #1793387 we're actually making MP3 decoding more likely to bail on the fly by stopping decoding the moment we detect something bad.

What else can we do? If we detect corruption ever, we can set a flag in the library to warn users about future uses?

Changed in mixxx:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Do you still have that corrupt FLAC? It would be nice to test what Mixxx does with it now.

tags: added: soundsource
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Can this be considered as fixed?

Changed in mixxx:
assignee: Uwe Klotz (uklotzde) → nobody
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8107

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.