Mplayer tweaks for low end hardware

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

 



Reimar D?ffinger wrote:
> On Fri, Jun 04, 2010 at 02:51:40PM +0530, Vijay Anand wrote:
>   
>> So I would like to move on to SDL with DGA instead and direct the
>> mplayer output to this window.
>>     
>
> Switching to something even slower can hardly fix speed issues.
> If neither -vo xv nor -vo gl are usuable it's not really suitable
> for video.
> Doubly so due to vsync issues.
>
>   
>> I need to create a SDL surface within a GTK window which is a top
>> level window at a fixed position on the screen. Then map the SDL
>> surface window Id to mplayer for displaying video on to it.
>>
>> I tried the window Id hack (gtk-demo) & Example on how to output
>> Mplayer video on SDL windows (gtksdl) but SDL opens its own window
>> after the SDL_SetVideoMode call and then the display goes back into
>> the GTK window.
>>     
>
> No idea what exactly you are talking about, but there is no -wid for
> SDL and I don't think it can be added.
> Though I also don't see why you're using SDL when you said you wanted to
> use DGA, I have no idea if -vo dga actually works with -wid, but at least
> it could in principle AFAICT.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>   
So what is the method for using SDL with mplayer's -wid option ie if you 
have a top level gtk window and you have to display a video in a SDL 
surface in one part of the winodw?
I came across a link 
http://barbieri-playground.googlecode.com/svn/sdl/sdl-mplayer.c  which 
speaks of using mplayer output to SDL windows but here it is basically 
an SDL window wherein they create a X11 subwindow and provide the 
windowid to mplayer whereas I exactly need the opposite.
As far as DGA is concerned I have to try using -wid option to see if it 
works and some pointers regarding that could do a lot of good.
And for your comment on not suitable for video might be true (its an 
embeded device Atom n270 processor) but does play video well in WMP in 
embedded XP. So need to beat that.
<http://barbieri-playground.googlecode.com/svn/sdl/sdl-mplayer.c>


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux