lerobot icon indicating copy to clipboard operation
lerobot copied to clipboard

gstreamer error

Open carolineys opened this issue 10 months ago • 4 comments

When I connected to one camera, everything works fine. But when I try to connect to two cameras, I got the following errors: [ WARN:[email protected]] global cap_gstreamer.cpp:1173 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created [ WARN:[email protected]] global cap_gstreamer.cpp:1173 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created Error: Failed to capture image from camera 2.

carolineys avatar Feb 12 '25 03:02 carolineys

Have you checked the camera port id configuration for your robot? You can get the camera port id's using this script: lerobot/common/robot_devices/cameras/opencv.py.

vaishanth-rmrj avatar Feb 21 '25 00:02 vaishanth-rmrj

same

fireman5379 avatar Mar 23 '25 13:03 fireman5379

Have you checked the camera port id configuration for your robot? You can get the camera port id's using this script: lerobot/common/robot_devices/cameras/opencv.py.

the error just happend when using this script. BUT I can run the code before, TODAY the error happend , SO weird!

fireman5379 avatar Mar 23 '25 13:03 fireman5379

Just unplug a usb cable of camera and plug it to another pc's usb port.Because the bandwith of a usb 2.0 port is not enough. YOU CAN SEE https://blog.csdn.net/waynebuaa/article/details/41786281 IT WORKED FOR ME!

fireman5379 avatar Mar 23 '25 16:03 fireman5379

Hi @carolineys !

Were you able to reproduce this issue ? If so, have you tried switching from a 2.0 USB connection to a 3.0 USB connection as mentioned by @fireman5379 ?

Best,

Caroline.

CarolinePascal avatar Apr 14 '25 13:04 CarolinePascal

This issue has been automatically marked as stale because it has not had recent activity (6 months). It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 12 '25 02:10 github-actions[bot]

This issue was closed because it has been stalled for 14 days with no activity. Feel free to reopen if is still relevant, or to ping a collaborator if you have any questions.

github-actions[bot] avatar Oct 26 '25 02:10 github-actions[bot]