RSTP videos freezing when combining several together
Nick Kallen
socialmediamaster9000 at gmail.com
Sat Jan 14 11:25:06 UTC 2017
Hi,
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:
gst-launch-1.0 compositor name=comp \
sink_0::xpos=0 sink_0::ypos=0 \
sink_1::xpos=320 sink_1::ypos=0 \
sink_2::xpos=0 sink_2::ypos=240 \
sink_3::xpos=320 sink_3::ypos=240 \
sink_4::xpos=640 sink_4::ypos=0 \
sink_5::xpos=640 sink_5::ypos=240 ! autovideosink uridecodebin \
uri='rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_0 \
uridecodebin uri='rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_1 \
uridecodebin uri='rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_2 \
uridecodebin uri='rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_3 uridecodebin \
uri='rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_4 \
uridecodebin uri='rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov' ! videoscale ! video/x-raw,width=320,height=240 ! comp.sink_5
Here is output with GST_DEBUG=4 when a freeze happens about 10 seconds in https://gist.github.com/nkallen/9523509067ab8ba4b9016153657b729d <https://gist.github.com/nkallen/9523509067ab8ba4b9016153657b729d>
Here is the output when it crashes:
https://gist.github.com/nkallen/8f90fcbec0ba005b7fd9c73122dad2f7 <https://gist.github.com/nkallen/8f90fcbec0ba005b7fd9c73122dad2f7>
I’ve installed everything through homebrew like this:
brew install gstreamer
brew install gst-plugins-base --with-opus
brew install gst-plugins-good --with-libvpx
brew install gst-plugins-bad --with-rtmpdump
brew install gst-plugins-ugly --with-x264
I’m sorry if I’m doing something dumb! I appreciate any help!
Thanks!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170114/2a41f7bc/attachment-0001.html>
More information about the gstreamer-devel
mailing list