gstreamer video device not found

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer video device not found

Mazahir Poonawalla

Hi,

I tried running an example plugin on leopardboard:

gst-launch -v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=$PORT host=$HOST_ADDR sync=false enable-last-buffer=false

I also tried the example mentioned in www.ridgerun.com/.../LeopardBoard_365_GStreamer_Pipelines_-_SDK_2011Q2 :

gst-launch -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720, framerate=\(fraction\)23/1 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=$PORT host=$HOST_ADDR sync=false enable-last-buffer=false &

But I keep getting the error as below:

Setting pipeline to PAUSED ...

davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video0'.

Additional debug info:

../../../src/sys/v4l2/v4l2_calls.c(573): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

system error: No such file or directory

Setting pipeline to NULL ...

Freeing pipeline ...

Can someone please help as to what is going wrong?


--

Thank you & Regards,

Mazahir Poonawalla



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer video device not found

Chuck Crisler-2
Video for Linux (V4L) is not able to recognise whatever (if anything) you have connected to /dev/video0. If you have some input video device connected, maybe you don't have a V4L driver.

On Fri, Jul 27, 2012 at 7:17 AM, Mazahir Poonawalla <[hidden email]> wrote:

Hi,

I tried running an example plugin on leopardboard:

gst-launch -v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=$PORT host=$HOST_ADDR sync=false enable-last-buffer=false

I also tried the example mentioned in www.ridgerun.com/.../LeopardBoard_365_GStreamer_Pipelines_-_SDK_2011Q2 :

gst-launch -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720, framerate=\(fraction\)23/1 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=$PORT host=$HOST_ADDR sync=false enable-last-buffer=false &

But I keep getting the error as below:

Setting pipeline to PAUSED ...

davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video0'.

Additional debug info:

../../../src/sys/v4l2/v4l2_calls.c(573): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

system error: No such file or directory

Setting pipeline to NULL ...

Freeing pipeline ...

Can someone please help as to what is going wrong?


--

Thank you & Regards,

Mazahir Poonawalla



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer video device not found

Mazahir Poonawalla
Well the driver is installed, the camera is connected to the board as well. It works maybe 1 out of 10 times which is weird. The rest of the times it shows up this error.

On 27 July 2012 19:21, Chuck Crisler <[hidden email]> wrote:
Video for Linux (V4L) is not able to recognise whatever (if anything) you have connected to /dev/video0. If you have some input video device connected, maybe you don't have a V4L driver.

On Fri, Jul 27, 2012 at 7:17 AM, Mazahir Poonawalla <[hidden email]> wrote:

Hi,

I tried running an example plugin on leopardboard:

gst-launch -v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=$PORT host=$HOST_ADDR sync=false enable-last-buffer=false

I also tried the example mentioned in www.ridgerun.com/.../LeopardBoard_365_GStreamer_Pipelines_-_SDK_2011Q2 :

gst-launch -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720, framerate=\(fraction\)23/1 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=$PORT host=$HOST_ADDR sync=false enable-last-buffer=false &

But I keep getting the error as below:

Setting pipeline to PAUSED ...

davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video0'.

Additional debug info:

../../../src/sys/v4l2/v4l2_calls.c(573): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

system error: No such file or directory

Setting pipeline to NULL ...

Freeing pipeline ...

Can someone please help as to what is going wrong?


--

Thank you & Regards,

Mazahir Poonawalla



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--

Thank you & Regards,

Mazahir Poonawalla

ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 [hidden email] |www.ideaforge.co.in


P Please consider the environment before printing this e-mail



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel