[gst-devel] v4l2src and RTSP streaming
José Luis Segura Lucas
josel.segura at gmx.es
Thu Jun 17 23:33:54 CEST 2010
Hi people!
I'm trying to use gst-rtsp-server to serve the video from a v4l2 device.
The device is fully supported. I can make a pipeline, following the code
examples from gst-rtsp-server, in this way:
$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace !
video/x-raw-yuv,width=320,height=240 ! fakesink
When I try to add one element more to the pipeline (ffenc_h263) to encode
the video before it was added to the RTSP stream, I get this error:
$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace !
video/x-raw-yuv,width=320,height=240 ! ffenc_h263 ! fakesink
WARNING: erroneous pipeline: could not link ffmpegcsp0 to ffenc_h2630
I read the source and sinks capabilities of ffmpegcolorspace and ffenc_263,
and I think they are compatibles.
>From ffmpegcolorspace source capabilities I have seen very
much video/x-raw-yuv, video/x-raw-rgb and video/x-raw-gray posibilities, and
from ffenc_h263 sink capabilities I have seen this:
video/x-raw-rgb
video/x-raw-yuv
video/x-raw-gray
I understand that ffenc_h263 must accept any raw video in rgb, yuv or
gray... Do I make a mistake?
I'm trying to build the pipeline first with gst-launch to, when I have a
success, use it as input to the command test-launch from the gst-rtsp-server
distribution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100617/3a34f568/attachment.htm>
More information about the gstreamer-devel
mailing list