Re: [Mplayerplug-in-devel] Possibility of adding play controls to this plugin??
Brought to you by:
kdekorte
From: Stephen A. <ste...@ro...> - 2003-01-27 22:16:03
|
On January 27, 2003 06:17 pm, Kevin DeKorte wrote: > Only problem I see with adding a GUI is that embeded videos on many > sites are the exact size as the video that is going to be played. So if > we add buttons we could end up distorting the image. I would almost > rather see adding a right-click menu like gmplayer does. Well, a Quicktime video using the real QT plugin shows a GUI. So either the picture dimensions change when this happens, or the size is set to include what the interface will take up. So this would have to be considered anyway. > What all these requirements are telling me is that in order to really > make this work they way we need too, we need to have the video decoding > in the plugin. I can't really see anyway around it for a truly robust > solution. My goal when starting this project was just to be able to > watch movie trailers... not write a new video player... Thats one solution, but not the only one. KMplayer took another approach. It is a wrapper around mplayer, but it draws the GUI itself. I feel the only *TRUE* approach is for the functionality to be in mplayer itself. That way, the project could remain simple and only redirect mplayer, and the GUI would be there as well. > I am considering looking at the xine-lib stuff to see if all that code > can be leveraged. The problem I see is that xine-lib may not be what we > want either... So for now I suggest keeping the plugin simple, and > lookin to getting a player library merged into the code so that > streaming and saving and caching can all be worked out... > > If Arpi we to start on his new player, maybe we could get the stuff we > need into that design, but it does not look like that is going to > happen anytime soon. Like I said above, this is what really needs to happen. It really bugs me that mplayer has two windows, one for video and the other for controls. If that limitation wasn't there, this whole discussion would be moot. Every other video player in existence (on Windows) does it that way. How hard would it be to integrate into mplayer? On further thought, I think getting the code into mplayer will be much more difficult that actually writing it ... Steve |