RTSP server problems with uvch264src H/W+ encoded H.264 output

yusuf.husainy yusuf.husainy at gmail.com
Wed Apr 24 02:50:21 PDT 2013

Hi Robert,

It works with MJPEG, but I need to access the H/W+ encoded H.264 data and
live stream it through a RTSP server.

As per KaKaRoTo's blog, to use the H264 of C920, we have to use vidsrc pad
and auto-start=true. Also, if using this, we MUST link the vfsrc also. It
should not be left unlinked. 

So I implemented the following pipelines:

server pipeline:
uvch264src device=/dev/video0 name=src auto-start=true src.vidsrc ! queue !
video/x-h264,width=800,height=600,framerate=30/1 ! rtph264pay name=pay0
pt=96 src.vfsrc ! queue ! video/raw,width=432,height=240,framerate=30/1 !

client piepline:
1. gst-launch rtspsrc location=rtsp:// ! rtph264depay !
avdec_h264 ! xvimagesink
2. gst-launch-1.0   --do--
3. VLC player

My main concern is that the streaming ends after 34.66 secs(almost exact)
each time I run a client. This is the error log with GST_DEBUG=uvch264src:5

Yusuf Husainy

View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-server-problems-with-uvch264src-H-W-encoded-H-264-output-tp4659582p4659637.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list