How to assign PTS to GstBuffer?

Tarek El-Sherbiny tarek.elsherbiny at gmail.com
Tue Jan 29 02:32:17 PST 2013


Hi,

I would like to use Gstreamer for decoding and displaying a video stream.
The pipeline will take GstBuffer as an input from a different thread which
does the demultiplexing using ffmpeg.

The pipeline should look like this:

*         Appsrc ! typefind ! decoder ! sink*

So far I have implemented this pipeline but the video is not playing
smoothly. It seams that the sink is only displaying I-Frames.

I think I need to assign the PTS that is coming out of demultiplexing
thread to the GstBuffer when copying the data.

Is there an API for that?

Thanks,
Tarek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130129/13a731a8/attachment.html>


More information about the gstreamer-devel mailing list