Coder Social home page Coder Social logo

[mjpeg @ 0x1071e00] Changeing bps to 8 and [swscaler @ 0x1080d60] deprecated pixel format used, make sure you did set range correctly about usb_cam HOT 15 CLOSED

ros-drivers avatar ros-drivers commented on June 25, 2024 1
[mjpeg @ 0x1071e00] Changeing bps to 8 and [swscaler @ 0x1080d60] deprecated pixel format used, make sure you did set range correctly

from usb_cam.

Comments (15)

lhzlhz avatar lhzlhz commented on June 25, 2024 2

Run the usb_cam not in a virtual machine, then everthing is ok.

from usb_cam.

lhzlhz avatar lhzlhz commented on June 25, 2024 1

This is camera1, not camera0. And I have set 'yuyv' for camera1, it is not correct. The camera0 works normally. Camera0 is integrated. But I want use camera1.

The video show normal? If it work normal, you can ignore the information.
Or you can try like this https://answers.ros.org/question/217382/garbled-image-problem-on-usb_cam/

from usb_cam.

lukehutch avatar lukehutch commented on June 25, 2024 1

Setting yuyv as the format is not a good answer, if the camera natively outputs MJPEG, and you want to keep the video frames in compressed mjpeg format, e.g. for recording to a bag file. Raw YUYV frames are much bigger than MJPEG frames.

from usb_cam.

vannem95 avatar vannem95 commented on June 25, 2024

I don't get the calibration file not found warning but i do get the bit rate message. Also it says 30 fps but the average rate (found using rostopic hz) ranges from 12 hz to 0.5 hz. Sometimes all of a sudden the fps increases to 20-25 and sometimes i get the select timeout error and the process is terminated. Anyone able to solve this issue?

from usb_cam.

lhzlhz avatar lhzlhz commented on June 25, 2024

Try run a ubuntu not install in the virtual machine.

from usb_cam.

Damowerko avatar Damowerko commented on June 25, 2024

The problem persists when doing a native install.

from usb_cam.

henryng375 avatar henryng375 commented on June 25, 2024

Did anyone solve this problem?

from usb_cam.

jptalledo10 avatar jptalledo10 commented on June 25, 2024

Having the same problem with a USB Camera. Checking if there is a fix or a workaround for this

from usb_cam.

smallpigg avatar smallpigg commented on June 25, 2024

Same problem, did anyone solve this problem? I have not run it in virtual machine.

from usb_cam.

lhzlhz avatar lhzlhz commented on June 25, 2024

Same problem, did anyone solve this problem? I have not run it in virtual machine.

Do you use USB2.0 for the camera? You can try for the USB3.0. If it doesn't work, you can show the terminal information to us.

from usb_cam.

smallpigg avatar smallpigg commented on June 25, 2024

It was used a USB3.0 with blue color. Here are two screenshots.
screenshot from 2019-02-13 21-44-55
screenshot from 2019-02-13 22-03-40

from usb_cam.

smallpigg avatar smallpigg commented on June 25, 2024

Here is the launch file
screenshot from 2019-02-13 22-11-17

from usb_cam.

lhzlhz avatar lhzlhz commented on June 25, 2024

Here is the launch file
screenshot from 2019-02-13 22-11-17

Modify "pixel_format" from "mjpeg" to "yuyv" in the launch file .

from usb_cam.

smallpigg avatar smallpigg commented on June 25, 2024

This is camera1, not camera0. And I have set 'yuyv' for camera1, it is not correct. The camera0 works normally. Camera0 is integrated. But I want use camera1.

from usb_cam.

smallpigg avatar smallpigg commented on June 25, 2024

Ok, the video shows normal. Thanke you.

from usb_cam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.