Pipeline does not preroll because of lack of video data

Sebastian Dröge sebastian at centricular.com
Thu Feb 6 12:39:14 PST 2014


On Do, 2014-02-06 at 07:30 -0800, 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? 

Can you provide a sample stream like this and put it in a bug at
http://bugzilla.gnome.org ? I think we should do something clever in the
demuxer for this to work, e.g. by sending GAP events from the demuxer to
get stuff pre-rolled.

For DVD a similar problem is solved in resindvdbin by using GAP events.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140206/b4caf48f/attachment.pgp>


More information about the gstreamer-devel mailing list