Pipeline stuck at prerolling

Tim Müller tim at centricular.com
Fri Dec 13 01:32:57 PST 2013


On Fri, 2013-12-13 at 12:59 +0530, lokesh kumar wrote:

>    I am trying to play a lot of media using shell script, few of them
> has audio only.
> and my pipeline is something like this
> 
> 
> src ! demux ! viddec ! vidsink !audsink
> 
> 
> 
> 
> now as few of my media do not have video at all, pipeline gets stuck
> at PREROLLING stage, as video decoder expects some data.
> I know i can write an gstreamer application which checks whether video
> is available or not , and then add viddec dynamically.
> 
> 
> but ,is there any other workaround for this issue.

You can set async=false on the videosink, then the pipeline will not for
data to reach the videosink before starting playback, but it's not very
nice.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com






More information about the gstreamer-devel mailing list