Can tsdemux be tee'ed?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can tsdemux be tee'ed?

jopado
I have two simple pipelines that work fine. But when combined using tee they do not work.  Is it legal to follow tsdemux with tee?

These two work:
gst-launch-1.0 -v filesrc location=football.ts ! tsdemux ! mpeg2dec ! autovideosink

gst-launch-1.0 -v filesrc location=football.ts ! tsdemux ! audio/x-ac3 ! filesink location=aud.ac3

However this does not:
gst-launch-1.0 -v filesrc location=football.ts ! tsdemux ! tee name=t \
  t. ! mpeg2dec ! autovideosink \
  t. ! audio/x-ac3 ! filesink location=aud.ac3
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Delayed linking failed.
Additional debug info:
./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:
failed delayed linking some pad of GstTSDemux named tsdemux0 to some pad of GstTee named t

Is it possible to tee the output of tsdemux?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can tsdemux be tee'ed?

Baby Octopus
You can very well tee the tsdemux, just that you would need to put queue to avoid deadlock, something like this

tsdemux  ! tee name=split split.! queue ! branch1.... split.! queue ! branch2...

But in your case, you do not need tee, unless you want video audio from different program
tsdemux name=demux demux.! video.. demux.! audio.... should work
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can tsdemux be tee'ed?

jopado
Thank you!
Loading...