Writing a streamer application which generates UYVY frames.

Nick.Adamson at gdlsuk.com Nick.Adamson at gdlsuk.com
Tue Dec 8 06:21:25 PST 2015


Thanks Arjen.
Appsink did the trick.
I've got it working without using capfilter. The pipeline setup looks like this:
uridecodebin uri=file:///C:\\small.mkv ! videoconvert ! videoscale !  appsink name=sink caps="video/x-raw,format=UYVY,width=160,pixel-aspect-ratio=1/1"

If I don't use capfilter will that cause me any problems?

Thanks.
Nick.


Nick Adamson
Software Engineer
-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Arjen Veenhuizen
Sent: 07 December 2015 17:03
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Writing a streamer application which generates UYVY frames.

You can use the capsfilter element to force the the videoconvert element to
output raw frames in UYVY format. Next, you can use an appsink element to
give you each new UYVY frame in a callback as soon as it arrives.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Writing-a-streamer-application-which-generates-UYVY-frames-tp4674799p4674801.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
------------------------------------------------------------------------------

This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 21 Holborn Viaduct, London EC1A 2DY. Registered in England and Wales No: 1911653.


More information about the gstreamer-devel mailing list