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

Luca Barbato lu_zero at gentoo.org
Sun May 4 12:42:50 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?


Asked martin

-rtmp_playpath
mp3:/mp3/mn_mp3_09_07/downloads/a075/011/384/11384801_2_015?<authtoken>

Should work, if doesn't if you can get us the wireshark dump of librtmp
would be great.

lu



More information about the libav-tools mailing list