Robotics StackExchange | Archived questions

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

Greetings,

I am having some issues after installing the cvbridge package for ROS (Kinetic on ubuntu 16.04). prior to installing cvbridge 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: VIDIOCREQBUFS: Cannot allocate memory VIDIOCQBUF: 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

Asked by Naws on 2017-02-08 23:18:12 UTC

Comments

Answers