MP3/MPlayer pre-release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> [...]
> > What is the best way to handle this in mplayer plugin? 
> Creating a new 
> > - temporary - source?
> 
> Sorry, but this is beyond the means of the plugin at the moment.
> 
> If you want to come up with a solution, I'll gladly accept it 
> as long as all features are accessible from the OSD as well.

At the end, this is "just" passing the URI to mplayer.sh and have the whole
thing controlled by the Mplayer plugin.
mplayer.sh
archives.depechemode.com/depechemode/video/exclusives/sufferwell_sims320.mov

I made it work in the previous patch of the mplayer plugin by creating a new
source:
	cFileSource *src=new cFileSource(base,"Item to play",false);

"base" containing the protocol (http, rtsp, ...)

Then playing the file is done by:
     cFileObj *item=new cFileObj(src,"",pch,otFile);
     cMPlayerControl::SetFile(item,false);
     cControl::Launch(new cMPlayerControl);

"pch" containing the url, like
"archives.depechemode.com/depechemode/video/exclusives/sufferwell_sims320.mo
v"

This is probably not fully aligned with how the Mplayer plugin is designed
as everything goes through sources :) 
Maybe creating a new file object type (like otFile) will be the answer.
The original patch is at: http://famillejacques.free.fr/vdr/vod/

Thanks,
Olivier.

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 08/05/2006
 



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux