Bug#819266: ffmpeg: rtmp is broken

Jonas Smedegaard dr at jones.dk
Sat Mar 26 11:30:01 UTC 2016


Quoting Ralf Jung (2016-03-26 12:13:15)
> >> However, the RTMP stream that I am testing this on is the live stream of
> >> an event that will end Monday at noon ;-)
> > 
> > This fails similar to your experience:
> > 
> >   rtmpdump -r rtmp://revision.scenesat.com/live/mainhall
> > 
> > This works:
> > 
> >   rtmpdump --live -r rtmp://revision.scenesat.com/live/mainhall
> > 
> > So it seems you need to force live (i.e. disable seek).  This works:
> > 
> >   mpv "rtmp://revision.scenesat.com/live/mainhall live=1"
> > 
> > That arguably weird syntax is documented here: 
> > https://ffmpeg.org/ffmpeg-protocols.html#librtmp-rtmp_002c-rtmpe_002c-rtmps_002c-rtmpt_002c-rtmpte
> 
> Cool! I did read about this syntax but when I tried it, it didn't work.
> And I *do* still get the following when I try it now
> 
> $ mpv "rtmp://revision.scenesat.com/live/mainhall live=1"
> Playing: rtmp://revision.scenesat.com/live/mainhall live=1
> [ffmpeg] HandShake: client signature does not match!
> [ffmpeg] rtmp server sent error
> 
> but then, it works. So when I tried this yesterday, it was probably due
> to problems on the server side.

Right - I also wrongly chased the handshake message, until realising it 
is only a warning: https://github.com/DDVTECH/mistserver/issues/2


> I would still argue that there is a bug somewhere, e.g. clicking the
> rtmp://... link opens VLC and then fails, because nothing is adding that
> "live=1". This is pretty much undiscoverable, the end result for most
> Debian users will be "rtmp does not work". But I don't know whether the
> place to fix this is is VLC or ffmpeg or librtmp... not sure where to
> best report it; considering that librtmp upstream seems rather dead
> (last release was in 2012).

If VLC fails to properly handle the odd URI+space+options ffmpeg syntax, 
then that is a bug in VLC.  Please check if that is the case, or (now 
that you know what to look for) it perhaps is instead an issue of you 
needing to feed the "live" option in a different way than you have tried 
already.  If VLC ignores the live option or has no way of being told the 
live option, then please open a new bug against vlc, pointing to this 
one for background info.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160326/73cae060/attachment-0001.sig>


More information about the pkg-multimedia-maintainers mailing list