You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
etc/mky/opencv_ffmpeg_streaming/streamer/streamer.cpp: In member function ‘int streamer::Streamer::init(const streamer::StreamerConfig&)’:
/etc/mky/opencv_ffmpeg_streaming/streamer/streamer.cpp:186:37: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
186 | out_codec = avcodec_find_encoder(codec_id);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const AVCodec*
make[2]: *** [streamer/CMakeFiles/streamer.dir/build.make:76: streamer/CMakeFiles/streamer.dir/streamer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: streamer/CMakeFiles/streamer.dir/all] Error 2
Does not support the ffmpeg 5 version?
(base) root@lab:/etc/mky/opencv_ffmpeg_streaming# ffmpeg -V
ffmpeg version 5.1.1-1ubuntu2.1 Copyright (c) 2000-2022 the FFmpeg developers
The text was updated successfully, but these errors were encountered:
etc/mky/opencv_ffmpeg_streaming/streamer/streamer.cpp: In member function ‘int streamer::Streamer::init(const streamer::StreamerConfig&)’:
/etc/mky/opencv_ffmpeg_streaming/streamer/streamer.cpp:186:37: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
186 | out_codec = avcodec_find_encoder(codec_id);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| const AVCodec*
make[2]: *** [streamer/CMakeFiles/streamer.dir/build.make:76: streamer/CMakeFiles/streamer.dir/streamer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: streamer/CMakeFiles/streamer.dir/all] Error 2
Does not support the ffmpeg 5 version?
(base) root@lab:/etc/mky/opencv_ffmpeg_streaming# ffmpeg -V
ffmpeg version 5.1.1-1ubuntu2.1 Copyright (c) 2000-2022 the FFmpeg developers
The text was updated successfully, but these errors were encountered: