[libav-tools] Play an rtmp stream in with given location and resource

Luca Barbato lu_zero at gentoo.org
Sat May 3 23:57:25 CEST 2014


On 03/05/14 21:48, Uwe L. Korn wrote:
> Hello,
> 
> I'm trying to play an rtmp stream using avplay. For the stream I have given
> 
> The resource:
> rtmp://edgecast-fmstream.mndigital.com/
> 
> The location:
> mp3:/mp3/mn_mp3_09_07/downloads/a075/011/384/11384801_2_015?<authtoken>
> 
> 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
> rtmp://edgecast-fmstream.mndigital.com/?slist=mp3:/mp3/mn_mp3_09_07/downloads/a075/011/384/11384801_2_015?<authtoken>
> . 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?
> 

I'm afraid you'd need to escape it and I'm not even sure it would work
that way...

Martin might know better than me.



More information about the libav-tools mailing list