Active Topics

 



Notices


Reply
Thread Tools
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#111
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.
 
Posts: 35 | Thanked: 14 times | Joined on Apr 2008 @ Paris, France
#112
Here are 2 screen shots of the theme I'm working on.
Attached Images
  
 

The Following User Says Thank You to Krazybat For This Useful Post:
Posts: 275 | Thanked: 46 times | Joined on Feb 2008 @ Raleigh, NC
#113
Looking nice.
__________________
N800 and N810: Diablo MMC2 Boot
 

The Following User Says Thank You to mfortner For This Useful Post:
Posts: 35 | Thanked: 14 times | Joined on Apr 2008 @ Paris, France
#114
Thanks mfortner, but it's not much work...

Theming for mediabox is easy, because you only provide the very png files and color/font definitions you want to change from default.

I started by modifying all text and background colors (very fast), and then I've been spending more time on png's (icons and such).

I hope to make a deb of it one day.
Come on guys, we can have hundreds of themes available !

http://pycage.blogspot.com/2009/01/m...-mediabox.html

Last edited by Krazybat; 2009-01-17 at 08:41.
 

The Following User Says Thank You to Krazybat For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#115
Release notes for the upcoming version 0.96.3:

Back button closes embedded album listing.

"All Tracks" option in artists view for listing all tracks belonging to an
artist at once

Configuration option for changing the player backend per media format

Revised mediaplayer backend implementation making creation of new backends
easier

New experimental player backend for GStreamer

Thumbnails and the ID tag cache are stored on the medium where the associated
files are located

Fixed bug that stopped thumbnailing after an error

Use insanely high number for parameter RequestedCount when browsing UPnP
server in order to retrieve all items even from UPnP servers misinterpreting
the RequestedCount part in the ContentDirectory specification (fixes ORB)

Fixed bug that broke compatibility with Microsoft's UPnP media servers


I hope to get 0.96.3 into maemo-extras soon.
 

The Following 7 Users Say Thank You to pycage For This Useful 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:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#117
Code:
set_video_window
must have been what I was missing.
I knew that mplayer can set a rectangle, but I have no idea how or whether it could be changed at runtime without having to restart mplayer. The rectangle needs to be changed for entering fullscreen-mode.
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#118
Originally Posted by pycage View Post
I knew that mplayer can set a rectangle, but I have no idea how or whether it could be changed at runtime without having to restart mplayer. The rectangle needs to be changed for entering fullscreen-mode.
Send it the 'vo_change_rectangle x y w h' command. Note that it may leave some artifacts behind if you make the window smaller. With kmplayer and using mplayer+omapfb, returning from fullscreen quite often leaves some video stuff on the window title/menubar.
 

The Following User Says Thank You to koos For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#119
Thanks a lot! I'm gonna try these with osso-media-server and mplayer.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#120
Finally got time to dive into 0.96.3...
1. I've got suggestion: change icon in 'By Artist' from folder to something else (e.g. a head, like in its button at the left side) and same with 'By Folder' (change icon from CD to folder).
2. What did happen to WorldTV plugin? I mean, I can't find it in extras/extras/devel and thinking of making a deb for if from SVN.
3. Broken thumbs are still written to ~/.thumbnails/mediabox... Is it supposed to be so?
4. Thumbs generation in Images is still failing... Or it's not the generation, but the fact is that all images after broken one have no thumbs shown.
 
Reply

Tags
fmradio, mediabox, upnp, youtube


 
Forum Jump


All times are GMT. The time now is 15:02.