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
Support FFMPEG 7 #3983
Comments
This can help to update: https://code.videolan.org/videolan/vlc/-/merge_requests/5304/diffs |
If you want to stay on 1.36, then please follow the release-1.36 branch which I believe (could be wrong) has this work done. Otherwise, please follow current development release which again has this work done. |
https://ffmpeg.org/index.html#news
Last commit to branch https://github.com/ZoneMinder/zoneminder/commits/release-1.36/ was
I'm working on update ffmpeg to 7.0 in FreeBSD ports: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278705 |
BTW, any plans for next release? |
https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/6b6f7db81932f94876ff4bcfd2da0582b8ab897e This patch fixed the issue:
But I don't know correct values for |
Both doesn't build.
Offtopic question: added new build dependency from pkg-config and lib dependency from libcurl? |
I have updated both master and release-1.36 with further ffmpeg7 deprecation handling. |
Hey I switched to using quick_exit instead() of exit(). this breaks on openbsd for me. Just wondering if it has broken freebsd as well. Does ZM still c ompile for you? |
Do u say about this commit: 0048a6b? |
Yes that's the one. quick_exit is not implemented in openbsd. I'm testing a workaround of using abort() instead. Just wondering if quick_exit exists in freebsd. |
Look like it work fine:
|
Good to know, thanks for testing! FYI on openBSD we get: clang e.cpp -o e -lc++e.cpp:7:8: error: reference to unresolved using declaration |
They could presumably take the FreeBSD implementation from freebsd/freebsd-src@0a31efe |
They don't seem to want to. I am using abort instead on openbsd. For now. |
Describe Your Environment
If the issue concerns a camera
No.
Describe the bug
Build failed with FFMPEG 7.
All deprecated API in FFMPEG 5/6 was removed from FFMPEG 7.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Build and work without errors.
Debug Logs
Full build log: https://pkg-status.freebsd.org/beefy22/data/140amd64-default-foo/2024-05-04_07h10m46s/logs/errors/zoneminder-1.36.33_3.log
The text was updated successfully, but these errors were encountered: