rtspsrc: long and regular pauses when streaming from wifi action cams

philippe renon philippe_renon at yahoo.fr
Sun Nov 6 11:51:30 UTC 2016


To speed up my testing, I am trying to setup a small rtsp server using gstreamer.
But the following pipeline fails:
$ gst-launch-1.0.exe --gst-debug=3 videotestsrc ! x264enc ! rtph264pay name=pay0 pt=96
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:00.043439433 11828    3205320 FIXME                default gstutils.c:3825:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
New clock: GstSystemClock
Redistribute latency...
0:00:00.078413588 11828    3205320 WARN                 basesrc gstbasesrc.c:2950:gst_base_src_loop:<videotestsrc0> error: Internal data stream error.
0:00:00.078460444 11828    3205320 WARN                 basesrc gstbasesrc.c:2950:gst_base_src_loop:<videotestsrc0> error: streaming stopped, reason not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
../../../../gstreamer-1.10.0/libs/gst/base/gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason not-linked (-1)
Execution ended after 0:00:00.035130546
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I can provide level 4 debug output but not beyond that as the pipeline freezes if level > 4.
Again, please note that I am using a *msys2* build of gstreamer 1.10. 
Msys2 comes with gcc 6.2.0, glib2 2.50.1 and glib-networking 2.50.0.
Philippe.
 

    Le Vendredi 4 novembre 2016 19h08, philippe renon <philippe_renon at yahoo.fr> a écrit :
 
 

 Yes, it is only reproducible in the Qt app. Makes it difficult to track it down.

I tried to spot differences between gst-launch and the app. Not successful yet...
I think that the fact that the pause is every 10s sharp tells us something.
Cheers,Philippe.
 

    Le Vendredi 4 novembre 2016 17h01, Sebastian Dröge <sebastian at centricular.com> a écrit :
 
 

 On Thu, 2016-11-03 at 22:28 +0000, philippe renon wrote:
> This pipeline will pause for ~3s every 10s when streaming from a wifi
> cam (tested with 2 different cam brands).
> 
> rtspsrc location=rtsp://192.x.x.x/AmbaStreamTest latency=30 !
> decodebin ! timeoverlay ! autovideosink
> 
> This issue is *not* reproducible with gst-launch or the mobile
> applications dedicated to the particular cams.

If it's not reproducible with gst-launch, how can it be reproduced and
what is the difference in your application?

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


 
   

 
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161106/f29b3329/attachment-0001.html>


More information about the gstreamer-devel mailing list