How to link appsink to other gstelements?

Jan Spurny JSpurny at seznam.cz
Mon Mar 5 11:56:29 PST 2012


Hi,

have you tried forcing caps like this:

gst-launch filesrc location=sample.264 ! h264parse ! video/x-h264,framerate=\(fraction\)5/1 ! decodebin ! xvimagesink

?

On Mon, 05 Mar 2012 07:46:18 +0100 (CET)
ms <congvt0201 at gmail.com> wrote:

> i has an encoded video file "sample.264" (using gst-lauch to generate and
> only has video stream), i have decoded and displayed frames onto screen. My
> pipeline is same as: 
> *appsrc -> decodebin -> video converter (videoscale) -> video output
> (xvimagesink)*
> But, it run so fast. I wanna synchronize to display exactly in realtime, so
> i add *appsink* to my pipeline:
> *appsrc -> decodebin -> appsink (store decoded data)*
> And now, i have some trouble:
> + How to set PTS to GstBuffer?
> + How to display decoded data which stored in appsink?
> Please suggest me, thank so much
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-link-appsink-to-other-gstelements-tp4445271p4445271.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


More information about the gstreamer-devel mailing list