-
Notifications
You must be signed in to change notification settings - Fork 22
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
rav1d fails or incorrectly decodes AV1 sample videos #1370
Comments
Do you know how to reduce this to a CLI command? |
Not yet, because converting |
Hmm, interesting. |
Just found #1322 relevant to the cdylib discussion. |
For me, it always segfaults during logging. But there's invalid reads before that in the |
I had a segfault on Ubuntu 22.04 but not on 24.04 (which has a more recent version of ffmpeg) |
It might be that we changed something in the API slightly and it doesn't work with some versions? I did change things slightly to make it work in Rust more safely, but I checked the uses, but I probably only checked the most recent version. Maybe that's it? |
Yeah that might be a clue, the CLI does not seem to use either a custom allocator or logger. |
The garbled video is caused by an incorrect table. |
Ahh, so that's why #1367 works but not the other branch? This is the cause of the incorrect output, but I assume not the segfault, right? |
Yes, this should take care only of the incorrect output |
I got the |
Depending on the build profile, rav1d will incorrectly decode or just fail on some online videos, e.g., https://caraya.github.io/av1-video-demo/footloose.mp4. The sample at https://bitmovin.com/demos/av1/ also fails in Firefox, but I'm not sure how to download it to a file.
To reproduce, pull my enable_cdylib branch to create a
librav1d.so
shared library then run:In
release
orchecked-release
builds this fails withwhile in debug builds it produces a full but garbled output video.
The text was updated successfully, but these errors were encountered: