-
Notifications
You must be signed in to change notification settings - Fork 194
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_grabber does not compile against Ffmpeg 5.0 #2885
Comments
PR that fixes a similar problem in Gazebo Classic: gazebosim/gazebo-classic#3195 . |
At the moment I am not working on this, so anyone that wants to work on this is welcome. Note that Ubuntu 24.04 probably will only ship with ffmpeg 5, and not with ffmpeg 4. |
It interesting to note that the |
I do not know if it is related to this issue or not but I am having a compilation error as below when the option [ 50%] Building CXX object src/portmonitors/image_compression_ffmpeg/CMakeFiles/yarp_pm_image_compression_ffmpeg.dir/ffmpegPortmonitor.cpp.o
[ 50%] Linking CXX shared module ../../../lib/yarp/yarp_pm_image_compression_ffmpeg.so
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libswscale.a(hscale_fast_bilinear_simd.o): relocation R_X86_64_32S against `.text.unlikely' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[5]: *** [src/portmonitors/image_compression_ffmpeg/CMakeFiles/yarp_pm_image_compression_ffmpeg.dir/build.make:118: lib/yarp/yarp_pm_image_compression_ffmpeg.so] Error 1
make[4]: *** [CMakeFiles/Makefile2:5623: src/portmonitors/image_compression_ffmpeg/CMakeFiles/yarp_pm_image_compression_ffmpeg.dir/all] Error 2
make[3]: *** [Makefile:156: all] Error 2
make[2]: *** [CMakeFiles/YARP.dir/build.make:85: src/YARP/CMakeFiles/YCMStamp/YARP-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:1083: CMakeFiles/YARP.dir/all] Error 2
make: *** [Makefile:101: all] Error 2 |
No, that error is different. Can you open a new issue describing the environment in which you are experiencing this problem? |
We decided to deprecate devices For a yarp device with compatible functionalities, please use |
Compilation error:
Warning when compiling against ffmpeg 4.4, that are mostly related to deprecations that are errors on yarp 5.0 :
The text was updated successfully, but these errors were encountered: