failed to play mp4 files with 960 and 1024 samples per block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
OS: Windows 10
Mixxx version : 2.0 RC ( 5642 and older) as well as 2.1 alpha (5457), 64 and 32bit.
No 3rd party (windows) codecs installed.
I have detected a problem playing some m4a files on Windows.
I haven't been able to test if this affects the playback under linux, but maybe we can assume this affects only the mediafoundation
The files plays fine with other software like foobar2000 and even windows media player.
The files load ok and there's no problem in analyzing or using them, but when playing them, they sound as if a CD player was playing a dirty cd and silenced small amounts of audio. It is not skipping (i.e the playback duration is not affected)
The problem affects the decoding, not the playback itself. I.e. If I increase the playback speed, these fragments of silence happen more often.
I have recorded the audio output with Audacity, and the exact bug is as if at some intervals, it reduced the volume to minimum, and did a fast fadein (around 400 samples or so, i can't be precise)
I have been able to determine that there is a problem with the MP4 container, as I took one of the files that were playing bad, and with the help of ffmpeg, and using the "copy" codec (i.e. just repack the stream in a new container), the problem was gone.
Comparing it to other files, it might be a problem with the stts MP4 atom, but that's from a simple binary inspection, so I could be wrong.
http://
http://
Song is copyrighted, but is old (from the 90's). I couldn't make a 30 second sample, because then i get a new container and the bug "fixes" itself. I will delete the files when the bug gets fixed.
description: | updated |
description: | updated |
tags: | added: mp4 |
summary: |
- M4a playback problem only on some files on Windows with 2.0RC and - 2.1prealpha + failed to play mp4 files with 960 and 1024 samples per block |
Changed in mixxx: | |
status: | Confirmed → In Progress |
Changed in mixxx: | |
status: | In Progress → Fix Committed |
Changed in mixxx: | |
milestone: | none → 2.1.0 |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
I have tested you file with Linux and I can't play it at all.
This is the log output:
Warning [CachingReaderW orker 1]: Unable to decode tracks with non-fixed sample durations: "file:/ //home/ daniel/ Arbeitsfläche/ DHT - True love (Makina Mix) - bad.m4a" orker 1]: Failed to open SoundSource orker 1]: Failed to open file: "/home/ daniel/ Arbeitsfläche/ DHT - True love (Makina Mix) - bad.m4a" orker 1]: "[Channel1]" CachingReaderWo rker::loadTrack () load failed for" "/home/ daniel/ Arbeitsfläche/ DHT - True love (Makina Mix) - bad.m4a" ", file invalid, unlocked reader lock daniel/ Arbeitsfläche/ DHT - True love (Makina Mix) - bad.m4a" "The file '/home/ daniel/ Arbeitsfläche/ DHT - True love (Makina Mix) - bad.m4a' could not be loaded."
Warning [CachingReaderW
Warning [CachingReaderW
Debug [CachingReaderW
Debug [Main]: Failed to load track "/home/
I can play it with gstreamer based players.