Stream from V4L2 source (YUY2)

João Ramos jviolaramos at gmail.com
Mon Jan 7 23:50:00 PST 2013


Thank you for the tips.
The latter one did not work, but the first one (GST_DEBUG) helped me to
discover the source of the problem:  the video captured from the camera had
interlaced mode set, and rtpvrawpay does not support (at least for
gst-plugins-good-0.27) raw video with interlaced.


2013/1/7 David Röthlisberger <david at rothlis.net>

> On 7 Jan 2013, at 11:05, João Ramos wrote:
> > I've tried the following pipeline (sent to test-launch application from
> the gst-rtsp sources):
> > ( v4l2src !
> video/x-raw-yuv,format=(fourcc)YUY2,width=720,height=576,framerate=25/1 !
> ffmpegcolorspace !
> video/x-raw-yuv,format=(fourcc)I420,width=720,height=576,framerate=25/1 !
> rtpvrawpay name=pay0 pt=96 )
> > but this is not working.
>
>
> What does "not working" mean? What are the symptoms? Are there any error
> messages being printed? Try enabling debug ("export GST_DEBUG=2" or 3
> or 4) and analysing the output for likely culprits.
>
> > However, if I use the same pipeline, but replacing the source from
> "v4l2src" to "videotestsrc" [...]
> > everything works fine!
>
> This is probably because videotestsrc is able to produce the format you
> are asking for with the first "video/x-ray-yuv" format specification,
> but your V4L source is not.
>
> What happens if you omit the entire first format specification:
>     v4l2src ! ffmpegcolorspace ! etc
> That should allow ffmpegcolorspace to negotiate with v4l2src and choose
> a format that they both support.
>
> Cheers,
> Dave.
>
>


-- 
João Ramos



-- 
João Ramos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130108/1d8d2682/attachment.html>


More information about the gstreamer-devel mailing list