-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
avcodec_find_encoder(AV_CODEC_ID_H264); #2833
Comments
The codec ID is irrelevant, it looks like it's complaining about this:
What version of the library is this? |
A fresh compile, so my guess is the latest version is used. |
I'm not on CentOS 8 so I don't know what the latest version is 😉
|
On Fedora 34 I have 4.4.1 and I'm not getting this error, so I have to figure out if it's an upcoming API change that needs to be addressed. |
No rpm's are used. As CentOs 8 Stream does not provide those libraries. I've used the latest source code from the respective sites, to compile the libraries. They compile without errors, Janus configure script does not throw any error that libraries are missing/ wrong version. The problem seems to be a change, where a value cannot be assigned to an object anymore, read only. My temporary solution is a debian/ubuntu based docker container with the post processor to process the mjr-files. |
Looks like this is the commit that made |
Looks like that line was unneeded, as removing it got me a valid mkv file anyway. Please let me know if it compiles for you now. |
Source code compiles without errors, but some small warnings. I will test
|
Platform: CentOS Stream 8
Janus: Latest version
Libraries: Latest versions are compiled, and can be found by configure.
I've have found an issue with compiling post processing on CentOS Stream 8. I've used the following configure command:
./configure --disable-websockets --disable-rabbitmq --disable-mqtt --disable-unix-sockets --disable-nanomsg --disable-sample-event-handler --disable-websockets-event-handler --disable-rabbitmq-event-handler --disable-mqtt-event-handler -disable-nanomsg-event-handler --disable-gelf-event-handler --disable-plugin-audiobridge --disable-plugin-echotest --disable-plugin-recordplay --disable-plugin-sip --disable-plugin-nosip --disable-plugin-streaming --disable-plugin-textroom --disable-plugin-videocall --disable-plugin-voicemail --enable-post-processing --prefix=/opt/janus
This runs without any issues. make results in the following error. Janus compiles just fine without --enable-post-processing.
It seems that the av is not fully initiated, and that constants are not filled or loaded. Similar issues are present for h265 and other 'codecs' post processor files.
Did I forget a switch, or is this truly a bug?
Side note: ffmpeg compiles just fine with the latest libraries.
The text was updated successfully, but these errors were encountered: