Pipeline does not preroll because of lack of video data

Michael Gruner michael.gruner at ridgerun.com
Thu Feb 6 07:41:41 PST 2014


Hi Vikas

Yes you may avoid getting stuck in prerolling. Set "async=false" in your 
sink elements, this will avoid the asynchronous state change and play 
the pipeline.

Michael

On 02/06/2014 09:30 AM, vks7979 wrote:
> Hi All,
>
> I have constructed a audio/video pipeline using gst-launch to playback a
> transport stream (local file playback). The transport stream is like an
> audio song containing artist image as video data (like an album art). So
> there are very few video frames.
>
> The pipeline does not preroll and remains stuck in preroll stage.
>
> I looked into it further and found that the stream has very less video data
> and this data is received a few seconds after the audio data. Because of
> this characteristics of the stream, the demux component pauses once the
> audio pipeline is filled up with data. This means that now the transport
> stream is no longer processed and required amount of video data is not
> passed on. The video decoder does not get a complete buffer so is stuck in
> prerolling.
>
> Could you tell me how is it that I can resolve this issue?
>
> I was thinking if it is somehow possible to remove prerolling from
> gstreamer, so the audio data is processed and demux does not stop processing
> stream and passes on video data as it arrives, please let me know if this is
> possible.
>
> Also, this stream plays fine with windows media player.
>
> Thanks,
> Vikas
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pipeline-does-not-preroll-because-of-lack-of-video-data-tp4665128.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