View Single Post
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#116
Originally Posted by pycage View Post
mplayer is used actually, but embeds its output in MediaBox. This does not work on 770. It's possible to have mplayer open a separate window, which would work, but toggling between MediaBox and mplayer windows would be awkward. UKMP e.g. did it like this while it still supported video.
On the other hand, Canola1 (unfortunately closed source and a dead version) embedded the video output of osso-media-server quite well on the 770. So there must be a way.
Look in the kmplayer sources kmplayerprocess.cpp. Basically you can't embed, only set a rectangle. For mplayer you can use the nokia770 output driver like
nokia770:fb_overlay_only:x=20:y=40:w=320:h=240
For media server instead of passing the Window, you pass x, y, width and height in set_video_window dbus call.
 

The Following User Says Thank You to koos For This Useful Post: