[gst-devel] Problems With Feeding gstpipeline with gstapp spurce
Ankur_Sharma06 at infosys.com
Thu Oct 16 15:20:15 CEST 2008
I am facing a problem while feeding a gstreamer pipeline using gstappsrc. The details are:
1. I create gstbuffers and sub-buffers to collect TS packets, read from another application (through a Shared Memory) and then I push these buffers to the gstappsrc element.
2. My pipeline consists of ffmpegdec and an imagesink.
3. I calculate the buffer_timestamps using PTS values and stamp the outgoing buffers.
The strange problem I face is that if I feed PES packet with a one byte wrong start_offset, then the pipeline throws error messages (using GST_DEBUG) but it PLAYS the video. If however, I give the correct PES packets start, the pipeline does not throw any errors, but cant play the file.
It would be great if some expert could give me a hint based on this observation. How should my external application sync with the "state" of the gstreamer pipeline and feed it with data buffers.
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel