-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFmpeg: Decoding of MP3 files fails #11923
Comments
can confirm. #12034 |
I am currently experiencing something similar as well. I have been for some times and thought files were missing, but it turns out the are here and can be read just fine with any other software. The is the output of
Log output:
Is this still an issue and related or would that be something different? The open PR seems to only include a test change. Edit: the |
Well, can you try #12034 and see if that fixes it for you too. Then the issue is pretty clear cut... |
Or do you mean something suggested in the PR discussion? |
Ah I forgot that the actual fix got rebased out halfway through the PR. If you clamp the seeking (see 012a415) then you should be able to load the mp3s. However, as pointed out by the others in that PR, it reintroduces some issues with playing back AACs so thats why I didn't get accepted. I have not bothered enough to look into this, though we really should. |
I have reverted the "fix" locally and use FFmpeg for MP3/M4A. No issues. No one seems to be able to come up with a suitable offset compensation or otherwise prove that the usage of the FFmpeg API in Mixxx is wrong. Everyone seems to be happy with the broken state... |
Thanks for the tip @Swiftb0y, will give it a go asap.
VLC/ffplay seem to be able to deal fine with those mp3s, and I would hope AACs too (I don't use that format so can't verify), perhaps it's worth to check the implementation in there and see if there is any indication on something we are doing wrong. I will try to give that a go. |
The offset compensation for MP3 that has been added later as a "fix" is wrong. There were never any issues with decoding. VLC/ffplay don't need to care about offsets when decoding lossy formats. |
The original issue we see here is that the SoundSourceMp3 is not able to decode the file. Than SoundSourceFFmpeg fails as well probably because of this bug. You may send the effected file to my email and I can have a look why our error recovering code fails in your case. |
I've just shared it to your Mixxx address via Drive. I can also send it to you directly if you would prefer (not sure if drive perform any post treatment after upload on MP3) |
Received it and I can confirm the issue. |
I haven't been experienced this issue since your fix @daschuer |
The issue is still kind of open because it is an issue with the not standard configuration of not using libmad for mp3. |
Decoding MP3 with FFmpeg is still broken. I am using a local patch that basically reverts the non-workimg changes. |
same here. Been using ffmpeg since 2.3-beta iirc... The incompatibility boils down to the varying start-timing between the decoders, or is there something else? |
Yes basically. There will also be issues when skipping frames in the process of error handling but I would rather ignore that. |
Bug Description
Caused by #11879.
av_seek_frame() fails if
seekTimestamp
is negative.Version
No response
OS
No response
The text was updated successfully, but these errors were encountered: