Corrupt JPEG data: # extraneous bytes before marker 0xXX after installing cv_bridge package

asked 2017-02-08 22:18:12 -0500

Naws gravatar image

Greetings,

I am having some issues after installing the cv_bridge package for ROS (Kinetic on ubuntu 16.04). prior to installing cv_bridge streaming from my camera worked flawlessly through openCV, however after installing cv_bridge, i now get a warning messages : "Corrupt JPEG data: # extraneous bytes before marker 0xXX"

this appears to give memory allocation issues when trying to stream through ROS: VIDIOC_REQBUFS: Cannot allocate memory VIDIOC_QBUF: Bad file descriptor

swapping to a different camera, the ROS streamer appears to be stable but throws warnings rather than having a memory allocation issue: "Corrupt JPEG data: # extraneous bytes before marker 0xXX"

has anyone else had anything like this or any idea where the problem lies?

Cheers, Aaron

edit retag flag offensive close merge delete