flvdemux working .. sometimes

Sebastian Dröge sebastian at centricular.com
Tue May 31 06:17:43 UTC 2016


On Mo, 2016-05-30 at 15:12 +0200, Peter Maersk-Moller wrote:
> Hi.
> 
> I'm playing a rtmp stream passed through nginx with the rtmp module
> added. My problem is that I can't play the stream reliably. The
> pipeline sometimes fail 3 out of 4 times with the messages:
> 
> Redistribute latency...
> WARNING: from element /GstPipeline:pipeline0/GstFlvDemux:demux:
> Delayed linking failed.
> Additional debug info:
> ./grammar.y(506): gst_parse_no_more_pads ():
> /GstPipeline:pipeline0/GstFlvDemux:demux:
> failed delayed linking some pad of GstFlvDemux named demux to some
> pad of GstQueue named queue2
> 
> The playing pipeline is this:
> 
> QUEUE="queue max-size-time=0 max-size-bytes=0 max-size-buffers=0"
> LOCATION=rtmp://192.168.3.100/live/mykey3
> 
> gst-launch-1.0 -v                        \
>         rtmpsrc location=$LOCATION      !\
>         $QUEUE                          !\
>         flvdemux name=demux             !\
>         $QUEUE                          !\
>         aacparse                        !\
>         avdec_aac                       !\
>         autoaudiosink sync=0 demux.     !\
>         $QUEUE                          !\
>         h264parse                       !\
>         avdec_h264                      !\
>         $QUEUE                          !\
>         videoconvert                    !\
>         autovideosink sync=0
> [...]

This means that one of the queues you have there is not linked until
no-more-pads happens on the demuxer. Give proper names to the queues to
know which one it is.

Most likely the problem here is that the audio or video stream are not
found in the container early enough, and then the demuxer decides that
there is no audio or video. This would be related to
  https://bugzilla.gnome.org/show_bug.cgi?id=764260

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160531/1a45bbb2/attachment.sig>


More information about the gstreamer-devel mailing list