Hi E2E Community,
I am trying to use two usb camera record and rtp stream parallel BeagleBoard-x15
Usb cameras used :- logitech c270
I am using PSDK http://www.ti.com/tool/PROCESSOR-SDK-AM57X
---------------------------------------------------------------------------------------------
v4l2-ctl --list-devices
UVC Camera (046d:0825) (usb-xhci-hcd.1.auto-1.1):
/dev/video2
UVC Camera (046d:0825) (usb-xhci-hcd.1.auto-1.2):
/dev/video1
---------------------------------------------------------------------------------------------
Command used
---------------------------
gst-launch-1.0 -v v4l2src device=/dev/video1 ! videoconvert ! videoscale ! video/x-raw,format=I420,width=800,height=600,framerate=25/1 ! jpegenc ! rtpjpegpay ! udpsink host=192.168.2.15 port=5000
gst-launch-1.0 -v v4l2src device=/dev/video2 ! videoconvert ! videoscale ! video/x-raw,format=I420,width=800,height=600,framerate=25/1 ! jpegenc ! rtpjpegpay ! udpsink host=192.168.2.15 port=5004
and gets the below Error
===========================================================================================================================
root@am57xx-evm:~# gst-launch-1.0 -v v4l2src device=/dev/video2 ! videoconvert ! videoscale ! video/x-raw,format=I420,width=800,height=600,framerate=25/1 ! jpegenc ! rtpjpegpay ! udpsink host=192.168.2.16 port=5000
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)752\,\ height\=\(int\)416\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)1:4:7:1\,\ framerate\=\(fraction\)25/1"
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = "video/x-raw\,\ width\=\(int\)752\,\ height\=\(int\)416\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)25/1\,\ format\=\(string\)I420"
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:src: caps = "video/x-raw\,\ width\=\(int\)800\,\ height\=\(int\)600\,\ pixel-aspect-ratio\=\(fraction\)141/104\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)25/1\,\ format\=\(string\)I420"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ width\=\(int\)800\,\ height\=\(int\)600\,\ pixel-aspect-ratio\=\(fraction\)141/104\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)25/1\,\ format\=\(string\)I420"
/GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink: caps = "video/x-raw\,\ width\=\(int\)800\,\ height\=\(int\)600\,\ pixel-aspect-ratio\=\(fraction\)141/104\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)25/1\,\ format\=\(string\)I420"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "video/x-raw\,\ width\=\(int\)800\,\ height\=\(int\)600\,\ pixel-aspect-ratio\=\(fraction\)141/104\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)25/1\,\ format\=\(string\)I420"
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:sink: caps = "video/x-raw\,\ width\=\(int\)752\,\ height\=\(int\)416\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)25/1\,\ format\=\(string\)I420"
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)752\,\ height\=\(int\)416\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)1:4:7:1\,\ framerate\=\(fraction\)25/1"
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not read from resource.
Additional debug info:
../../../gst-plugins-good-1.6.3/sys/v4l2/gstv4l2bufferpool.c(1055): gst_v4l2_buffer_pool_poll (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
poll error 1: No space left on device (28)
Execution ended after 0:00:01.546144281
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
==========================================================================================================================
Same scenario works well on other board setup and my ubuntu dev machine !!!!!
Please share me any pointers on how to make it working !!!
Regards
Pallab Sarkar