ros-drivers / video_stream_opencv

A package to open video streams and publish them in ROS using the opencv videocapture mechanism
227 stars 159 forks source link

Having a issue for video streaming #40

Closed dohkim119 closed 4 years ago

dohkim119 commented 5 years ago

I'm the one who are using ros package named 'video_stream_opencv'.

While I'm using it, I met a problem getting video stream from the device.

Here is my H/W Spec and situation.

Board : Jetson TX2

Device : Fushicai USBTV007 Video Grabber [EasyCAP]

rosdistro : ROS- Kinetic

OS : Ubuntu 16.04

OpenCV : 3.4.1 (replace 3.3.1-dev cv2.so with 3.4.1 cv2.so)

So I tried to get a video stream through the Easycap. The './test_video_resource.py' works well at the moment at it shows video stream. But when I use 'webcam_launch', if keep showing 'VIDIOC_QUERYCTRL: Inappropriate ioctl for device' error message.

So would anyone can give me some advice to solve this problem?

furushchev commented 5 years ago

Hi,

  1. Just clarifying, you cannot see any image topic published? or just the error messages shows up while the image can be retrieved?
  2. Could you paste all the output logs when you run test_video_resource.py to help debugging?
  3. Which version of video_stream_opencv do you use? Could you run rosversion video_stream_opencv and paste the result if you installed this package via apt-get, otherwise roscd video_stream_opencv && git rev-parse HEAD?
awesomebytes commented 4 years ago

No reply in almost a year, I'll close this issue, feel free to reopen it if there is any further info @furushchev @dohkim119 :)