[MPlayer-dev-eng] willing to pay for RTMP support

Sander Plas sander at seeas.nl
Tue Nov 17 18:00:10 CET 2009


Reimar Döffinger wrote:
> On Tue, Nov 17, 2009 at 04:02:26PM +0100, Reimar Döffinger wrote:
>>> We are looking for a developer that can add RTMP support to MPlayer in 
>>> such a way that at least RTMP radio stations can be played back without 
>>> problems. Our goal is to get this added to the main MPlayer project, not 
>>> to create some kind of 'fork' for ourselves.
>> I someone takes this up, I kindly request that the first try is to
>> add support for stream reading via FFmpeg (more precisely, URLProtocol
>> support via libavformat).
>> That obviously means it might be a good idea to report the issues that
>> FFmpeg's RTMP support has (and if that is actually the only issue that
>> ffmpeg has for you, that might even be enough).
> 
> I took a few moments to look at this and implemented it.
> It's certain to have a few rough edges, but if you configure latest SVN
> MPlayer with
> --enable-protocol="file_protocol pipe_protocol http_protocol rtmp_protocol tcp_protocol udp_protocol"
> You should be able to play rtmp via
> mplayer ffmpeg://rtmp://URL
> However I do not have any sample URLs at hand to actually test it.
> You will still need someone to fix the issues with FFmpeg's rtmp support
> though (so I hope I haven't hindered anyway from earning some money - if
> yes don't worry, I'll soon have less time for that kind of thing :-) ).
> 

Wow Reimar, thanks! :)

I compiled the latest SVN MPlayer as per your instructions but RTMP 
doesn't really seem to work over here.

These (live stream) URL's give "I/O error occurred Usually that means that 
input file is truncated and/or corrupted." in ffplay and just "Failed to 
open ffmpeg://rtmp://<url>" in MPlayer:

rtmp://64.34.168.135:1935/live961
rtmp://flash36.ustream.tv:1935/ustreamVideo/1778517
rtmp://flash36.ustream.tv/ustreamVideo/1778517
rtmp://peakbroadcasting.streamguys.org:80/vod
rtmp://peakbroadcasting.streamguys.org/live
rtmp://streams.appstate.edu/live
rtmp://streams.i1cdn.us:443/live?ovpfv=1.1


These (non live stream (?)) URL's seem to play OK in ffplay but without 
sound or video (codec problem or something?) and if i try it in MPlayer it 
says "Seek failed" for exactly 36 times, followed by "Exiting... (End of 
file)":

rtmp://cp72467.edgefcs.net/ondemand/flvclear/5881/richmedia/local/2005/Ed_Martin_Group_Web_Promo_T65.flv
rtmp://cp72467.edgefcs.net/ondemand/flvclear/5881/richmedia/local/5881/YWET0332H_GaryKelly_Rampers_15_TTV.flv
rtmp://cp72467.edgefcs.net/ondemand/flvclear/5881/richmedia/tc/3musk_15s-1_1256664901_12958.flv
rtmp://peakbroadcasting.streamguys.org:80/vod/pepsi.flv
rtmp://ustream.flash.internapcdn.net:1935/ustream/v1_14
rtmp://ustream.flash.internapcdn.net/ustream/v1_14





More information about the MPlayer-dev-eng mailing list