<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’m new to gstreamer and I’ve working on mosaic functionality. When I mix together several RTSP streams that are backed by a file, the process freezes most of the time and crashes (or terminates prematurely) sometimes. (When I use live RTSP streams (e.g., coming from an iPhone camera), it never seems to freeze or crash. Similarly, if I’m only combining 2 or 3 streams it seems fine). I’m running this command on os x, and this fails consistently for me:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">gst-launch-1.0 compositor name=comp \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  sink_0::xpos=0 sink_0::ypos=0 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  sink_1::xpos=320 sink_1::ypos=0 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  sink_2::xpos=0 sink_2::ypos=240 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  sink_3::xpos=320 sink_3::ypos=240 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  sink_4::xpos=640 sink_4::ypos=0 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  sink_5::xpos=640 sink_5::ypos=240 ! autovideosink uridecodebin \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">uri='<a href="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" class="">rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a>' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_0 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">uridecodebin uri='<a href="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" class="">rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a>' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_1 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">uridecodebin uri='<a href="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" class="">rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a>' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_2 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">uridecodebin uri='<a href="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" class="">rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a>' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_3 uridecodebin \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">uri='<a href="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" class="">rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a>' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_4 \</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">uridecodebin uri='<a href="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov" class="">rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov</a>' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_5</span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Here is output with GST_DEBUG=4 when a freeze happens about 10 seconds in </span><a href="https://gist.github.com/nkallen/9523509067ab8ba4b9016153657b729d" class="">https://gist.github.com/nkallen/9523509067ab8ba4b9016153657b729d</a></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">Here is the output when it crashes:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><a href="https://gist.github.com/nkallen/8f90fcbec0ba005b7fd9c73122dad2f7" class="">https://gist.github.com/nkallen/8f90fcbec0ba005b7fd9c73122dad2f7</a></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">I’ve installed everything through homebrew like this:</div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">    brew install gstreamer<br class="">    brew install gst-plugins-base --with-opus<br class="">    brew install gst-plugins-good --with-libvpx<br class="">    brew install gst-plugins-bad --with-rtmpdump<br class="">    brew install gst-plugins-ugly --with-x264</span></font></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">I’m sorry if I’m doing something dumb! I appreciate any help!</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">Thanks!!</div></body></html>