[MPlayer-dev-eng] rtmpe support

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Mar 13 11:09:56 CET 2010


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?



More information about the MPlayer-dev-eng mailing list