[libav-tools] Play an rtmp stream in with given location and resource
lu_zero at gentoo.org
Tue May 6 03:39:43 CEST 2014
On 04/05/14 19:47, Uwe L. Korn wrote:
> On 04/05/14 11:42, Luca Barbato wrote:
>> On 03/05/14 21:48, Uwe L. Korn wrote:
>>> I'm trying to play an rtmp stream using avplay. For the stream I have given
>>> The resource:
>>> The location:
>>> In Flash one would pass them separately to the player, for
>>> librtmp/rtmpdump I have found out that I can get this stream to work by
>>> concatenating resource and location with `?slist=`, e.g
>>> . For avplay/libav, I have not found such a hack. The important point
>>> here is, that this URL has no app part which most other rtmp URLs do.
>>> Can someone tell me what I need to pass to libav so that it plays my
>>> given URL?
>> Asked martin
>> Should work, if doesn't if you can get us the wireshark dump of librtmp
>> would be great.
> Thanks, this makes playback work. Sadly, as I would like to be able to
> stream this via libVLC and phonon on different platforms, my only option
> is to pass a single URL. If there are no objections straight ahead, I
> would work on a patch that integrates the parsing of the slist parameter
> into rtmp_open(). I could not find any clear documentation on its usage
> but all the examples I found online suggest that the syntax is commonly
I had been away for a little, it will work probably fine but I'm a bit
afraid of not escaping the playpath (and I'm not sure what librtmp
expects in this regard).
Might be useful providing a generic url-serialization with proper
escaping in libav 11 ?
More information about the libav-tools