Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
1,254 Views

Ubuntu video devices & stream

Jump to solution

Can anyone tell me which device is which while running Ubuntu on drone and how to stream using gstream a camera other than the realsense ones (video[11 - 13])?

ls /dev/video* returns all devices but can't understand which one is the camera below realsense

Is there an app or way to test it? Like choosing devices to see what they shoot live.

Thanks

Tags (1)
0 Kudos

Accepted Solutions
Highlighted
Community Manager
17 Views

Hello Sotiris,

 

 

Thank you for your interest in the Intel Aero drone.

On Ubuntu, Intel Aero is proposing 3 RTSP video feeds:

  • RealSense R200, infrared first camera: rtsp://AERO_IP_ON_YOUR_NETWORK:8554/video11
  • RealSense R200, infrared second camera: rtsp://AERO_IP_ON_YOUR_NETWORK:8554/video12
  • RealSense R200, HD camera: rtsp://AERO_IP_ON_YOUR_NETWORK:8554/video13
There is also a black and white camera but that one will not appear when you list the devices if you have Ubuntu installed.

 

You can access the camera with /dev/video2 but can't stream this device with gstreamer. Instead, you can download a sample code from https://github.com/intel-aero/sample-apps/tree/master/capturev4l2 https://github.com/intel-aero/sample-apps/tree/master/capturev4l2 to see how you can capture a few frames to raw format, then output jpg frames:

git clone https://github.com/intel-aero/sample-apps.git cd sample-apps/capturev4l2/ make C=10 INPUT=1 MODE=PREVIEW ./capture_v4l2 --userp -d /dev/video2 ffmpeg -f rawvideo -s 640x480 -pix_fmt yuv420p -i Image-video<*> test.jpg

Typical use for the camera include https://github.com/intel-aero/aero-optical-flow optical flow and https://github.com/intel/camera-streaming-daemon/blob/master/src/stream_aero_bottom.cpp Camera Streaming Daemon

Driver is not fully v4l2 compliant. Using opencv or gstreamer with the camera device node to grab camera frames will not work. The sequence of operation as shown in the sample needs to be done. Polling on device file descriptor times out after certain interval. This requires the device to be restarted.

You can find more info on our wiki: https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video# take-a-photo-with-the-black-and-white-camera

 

 

Hope this helps.

 

 

Regards,

 

Octavian

View solution in original post

3 Replies
Highlighted
Community Manager
18 Views

Hello Sotiris,

 

 

Thank you for your interest in the Intel Aero drone.

On Ubuntu, Intel Aero is proposing 3 RTSP video feeds:

  • RealSense R200, infrared first camera: rtsp://AERO_IP_ON_YOUR_NETWORK:8554/video11
  • RealSense R200, infrared second camera: rtsp://AERO_IP_ON_YOUR_NETWORK:8554/video12
  • RealSense R200, HD camera: rtsp://AERO_IP_ON_YOUR_NETWORK:8554/video13
There is also a black and white camera but that one will not appear when you list the devices if you have Ubuntu installed.

 

You can access the camera with /dev/video2 but can't stream this device with gstreamer. Instead, you can download a sample code from https://github.com/intel-aero/sample-apps/tree/master/capturev4l2 https://github.com/intel-aero/sample-apps/tree/master/capturev4l2 to see how you can capture a few frames to raw format, then output jpg frames:

git clone https://github.com/intel-aero/sample-apps.git cd sample-apps/capturev4l2/ make C=10 INPUT=1 MODE=PREVIEW ./capture_v4l2 --userp -d /dev/video2 ffmpeg -f rawvideo -s 640x480 -pix_fmt yuv420p -i Image-video<*> test.jpg

Typical use for the camera include https://github.com/intel-aero/aero-optical-flow optical flow and https://github.com/intel/camera-streaming-daemon/blob/master/src/stream_aero_bottom.cpp Camera Streaming Daemon

Driver is not fully v4l2 compliant. Using opencv or gstreamer with the camera device node to grab camera frames will not work. The sequence of operation as shown in the sample needs to be done. Polling on device file descriptor times out after certain interval. This requires the device to be restarted.

You can find more info on our wiki: https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video# take-a-photo-with-the-black-and-white-camera

 

 

Hope this helps.

 

 

Regards,

 

Octavian

View solution in original post

Highlighted
Community Manager
17 Views

Hello Sotiris,

 

 

Do you require any more assistance with this issue?

 

 

Regards,

 

Octavian
0 Kudos
Highlighted
Community Manager
17 Views

No, thank you very much!

0 Kudos