[MPlayer-dev-eng] rtmpe support

compn tempn at twmi.rr.com
Sat Mar 13 13:28:30 CET 2010


On Sat, 13 Mar 2010 11:09:56 +0100, Reimar Döffinger wrote:
>On Thu, Mar 11, 2010 at 11:27:57PM -0800, Howard Chu wrote:
>> I've written the attached module to let mplayer use rtmpdump's
>> librtmp. Unfortunately, I don't see how to pass in the necessary
>> options, mplayer.c always calls open_stream() with options==NULL, so
>> there doesn't seem to be any way to pass stream options in from the
>> command line. Note that just adding options to the main URL would be
>> extremely ugly, since RTMP URLs can be pretty long to begin with,
>> and typically 2-3 other very long URLs are also needed. E.g., to
>> play this movie from Youtube (actually crackle.com) we have to
>> supply these URLs:
>>   main: rtmpe://cdn-auth.akamai.crackle.com/ondemand/crackle/1/n/sk/6dpvb_306p.mp4
>>   swfUrl: http://crackle.com/flash/CracklePlayer.swf?id=2419511&site=219
>>   pageUrl: http://www.youtube.com/watch?v=yPeNnReBK0A&feature=spotlight
>> 
>> Any suggestions?
>
>We already have rtmp support via libavformat, do we really need yet another implementation
>instead of improving what already exists and all other media players can profit from?

there is a valid point re: multiple implementations. but then there is
the evidence of live555 vs nemesi vs ffmpeg rtp vs mplayer rtp. also
rtmpdump/librtmp was around before ffmpeg's rtmp support.

-compn



More information about the MPlayer-dev-eng mailing list