-
Notifications
You must be signed in to change notification settings - Fork 610
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
usb_cam with ffmpeg 3.0 incompatibility #48
Comments
Yes, i think thats the problem. I used the newest version of this repo (6293035 at the time). Here my log:
|
In principle, it is possible to fix at least the errors by applying following changes to In line 378-379 replace
by
In line 381 replace
by
In line 388 replace
by
In line 392-393 replace
by
In line 443 replace
by
and finally in line 449 replace
by
With these changes you can at least compile the code. However, if I run the node, it crashes during startup with a Segmentation fault. Can you check if you have the same problem?
|
I edited this (your) lines and add a
into line 45 in include/usb_cam/usb_cam.h and now it works. I get only a coredump if i want to quit the node but as long as it runs i detect no problems. Verified with image_view. |
Thanks @senden9 , your fix did the trick. But it would still be nice to get an actual patch. |
Hello,
|
Hello @jprodriguezg, I am running into the same error as you: /home/ubuntu/catkin_ws/devel/lib/libusb_cam.so: undefined reference to `av_frame_alloc' How did you end up solving the problem? I am running ubuntu 14.04 ros indigo. Running command: "cmake /home/ubuntu/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install -G Unix Makefiles" in "/home/ubuntu/catkin_ws/build"-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/catkin_ws/devel Running command: "make -j4 -l4" in "/home/ubuntu/catkin_ws/build"Scanning dependencies of target mocap_kalman |
Closed due to long inactivity in favour of #197 |
Seems that a few things changes with avcodec/ffmpeg:
full log:
usb_cam_error.txt
The text was updated successfully, but these errors were encountered: