splitmuxsink goes to dead lock when used along with other sinks

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

splitmuxsink goes to dead lock when used along with other sinks

Gst-Geek
Hi all,

I am trying to build application to encode live input.

Encoded video is streamed through UDP and in parallel encoded stream is split and archived to disk.
For file splitting I am using splitmux sink, with splitmuxsink Pipeline is not prerolling and goes to dead lock.

Dead lock happens when splitmux sink is used in parallel with other sink. Following is example pipeline.
 
gst-launch-1.0 videotestsrc ! x264enc ! tee name=split \
split.! queue !  splitmuxsink muxer=mpegtsmux location=/root/vinod/apple_tv_ad__.ts \
split.! queue !  mpegtsmux ! udpsink host=10.0.100.3 port=9000

When udpsink is replaced with another splitmux sink pipeline works perfectly fine.
This issue is present in 1.6.4 , 1.8.2 1.10.0 and master.

any one facing similar problem ??

Is this a bug ??

Thanks in advance..

~ Vinod
Reply | Threaded
Open this post in threaded view
|

Re: splitmuxsink goes to dead lock when used along with other sinks

Sebastian Dröge-3
On Fri, 2016-11-04 at 05:35 -0700, Vinod Kesti wrote:

> Hi all,
>
> I am trying to build application to encode live input.
>
> Encoded video is streamed through UDP and in parallel encoded stream
> is
> split and archived to disk. 
> For file splitting I am using splitmux sink, with splitmuxsink
> Pipeline is
> not prerolling and goes to dead lock.
>
> Dead lock happens when splitmux sink is used in parallel with other
> sink.
> Following is example pipeline.
>   
> gst-launch-1.0 videotestsrc ! x264enc ! tee name=split \
> split.! queue !  splitmuxsink muxer=mpegtsmux
> location=/root/vinod/apple_tv_ad__.ts \
> split.! queue !  mpegtsmux ! udpsink host=10.0.100.3 port=9000 
>
> When udpsink is replaced with another splitmux sink pipeline works
> perfectly
> fine. 
> This issue is present in 1.6.4 , 1.8.2 1.10.0 and master.
This was reported in Bugzilla, so let's discuss anything there:
https://bugzilla.gnome.org/show_bug.cgi?id=773940

(Seems like a bug though)

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment