On 04/05/14 11:42, Luca Barbato wrote: > 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.
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 rtmp://server[:port]/[app]?slist=[playpath] Uwe
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libav-tools mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
