Gst-Server-1.0 with v4l2src pipeline

joao machado 00jmsmachado at gmail.com
Fri Aug 14 14:29:59 PDT 2015


Hi all,

I am using Gst-server-1.0 to stream my usb cam in a local network.

When I use the following pipeline with gst-launch app in the example
directory of the git repo I have the following error when I use vlc client
in the same machine.

./test-launch v4l2src num-buffers=-1 do-timestamp=true !
 image/jpeg,width=640,height=480,framerate=30/1  ! jpegparse  ! omxmjpegdec
 \
! videoconvert ! omxh264enc target-bitrate=4000000 control-rate=variable  !
h264parse ! video/x-h264,profile=high,framerate=30/1 ! rtph264pay name=pay0
pt=96

---------------------------------------------------------------------------------------------------------------------------------------------
stream ready at rtsp://127.0.0.1:8554/test

(lt-test-launch:2741): GLib-GObject-WARNING **: invalid cast from
'GstV4l2Src' to 'GstBin'

(lt-test-launch:2741): GStreamer-CRITICAL **: gst_bin_get_by_name:
assertion 'GST_IS_BIN (bin)' failed

(lt-test-launch:2741): GLib-GObject-WARNING **: invalid cast from
'GstV4l2Src' to 'GstBin'

(lt-test-launch:2741): GStreamer-CRITICAL **: gst_bin_get_by_name:
assertion 'GST_IS_BIN (bin)' failed
---------------------------------------------------------------------------------------------------------------------------------------------

Does anyone know what i need to change to get this working?


Thanks in advance,
João M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150814/a9216a7d/attachment.html>


More information about the gstreamer-devel mailing list