Monday, August 24, 2009

Apple.com Trailers and gecko-mediaplayer

Right after the 0.9.7 release of gecko-mediaplayer I was made aware of the fact the apple.com/trailers videos don't work anymore. They worked about a week ago, but Apple apparently made a change. A bug was opened in the gecko-mediaplayer bug tracker (#34). And due to the information provided on how to work around this bug, I was able to create a patch for this bug.

SVN now has a fix for it and should work correctly. Depending on demand I may do a new release of gecko-mediaplayer.

EDIT: Sept 23,2009. I made a similar patch to mplayerplug-in and the code is in CVS now, or you can get it from the nightly code build on the 24th.

Thursday, August 20, 2009

r6xx Mesa 3d Driver on Fedora 11

I've been following the 3d driver development for the r6xx/r7xx chipsets using the open source mesa drivers. Progress has been moving along well. In fact compiz has been working for the last week or so. Today, I did some testing and was able to play Quake3 at around 90fps (1280x1024) on my machine without using fglrx or catalyst. The only trick I needed was to specify.

LIBGL_ALWAYS_INDIRECT=1 quake3

on the command line.

However, I did need libdrm from git, the libdrm/linux-core kernel modules (you may need to regenerate initrd to use these modules) from agd5f's r6xx-r7xx-support branch, mesa git and the ATI ddx from git. Other than that I am using stock Fedora.

I also played vdrift and neverputt today, but etracer and neverball crash, so still more to do.

ANNOUNCE: gnome-mplayer and gecko-mediaplayer 0.9.7 released

gnome-mplayer 0.9.7 changes

New tracker for monitoring media progress
Better subtitle support
New screen redraw code for video
New playlist randomizer, sorting and searching options
New icons
Internal ASX parser
Updated translations

Download here:

http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-0.9.7.tar.gz

gecko-mediaplayer 0.9.7 changes

Linker fixes
RAM file parser
Updated translations

Download here:

http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-0.9.7.tar.gz

Thursday, July 30, 2009

Gnome MPlayer changes

This week I made some interesting changes to Gnome MPlayer.

1. Asynchronous metadata loading. So now a threadpool is used to load the metadata in the background. Not that it is very slow, but it should reduce the time of long playlist loads. On my test of a 300 item playlist it cut the time by at least 50%.

2. Playlist storage rework, before this change I used to hold the playlist twice in memory, once in the load order and another in random order and switch between them as needed. I redesigned this process so that I now use indexes to hold this value. Allows for quicker randomizing, faster playlist loading and hopefully less memory usage. In addition the playlist now has an order parameter and you can sort the playlist by this value by clicking on the Order header. The change does result in when "Shuffle Playlist" is selected just the indexes are shuffled and not the actual items.

3. I also made a bunch of minor changes that were results of bug reports/enhancement requests.

Thursday, July 09, 2009

Another new Media Tracker

Well the media tracker in 0.9.6 was not well received. I thought it worked well and gave plenty of feedback and looked ok. I knew it had some "GTK Theme" issues, but in general it stuck the the standards.

So anyway, after messing around with a couple of mockups, I decided to ditch the 0.9.6 media tracker and create a new one. It is a little closer to the one in totem, but still uses as little screen space as possible.


So there you go... this should be in 0.9.7. So far I'm amazed how much code I have changed yet again in the 0.9.6 to 0.9.7 development cycle.

Thursday, May 07, 2009

Video of Fullscreen ClutterDesk

ClutterDesk

ClutterDesk is starting to be something. I can have it run and take over the desktop now and then you can open folders and applications (using gnome-open). You can also drag items around, but nothing remembers where it was from run to run.

I'm thinking of turning this into a real project now. It does require accelerated 3d to work. (my r6xx, with the radeon driver, sucks running it).

Wednesday, May 06, 2009

Followup on an Application Idea - ClutterDesk

About a year ago, I posted an idea about an application idea. Nobody ever took me up on it as far as I can tell. So I finally had some time and thought I would post a slight mockup of the idea. So here is a video that shows the mock up I have made. I developed this in about 2-3 hrs using the clutter library.




I'll continue working on this mockup and eventually turn it into something as I have time, but if anyone wants to run with it and make it a real app, I'll be happy to provide code.

Friday, May 01, 2009

Picasa on Fedora 11

I found out today that in order to run Picasa on Fedora 11, you need to have the openssl-devel.i586 package installed. This package includes libssl.so, which is what Picasa needs when connecting to the Google site.

I found this odd, because -devel packages are normally not needed on non-developer machine. But just thought I would share this information.

You might also want to install nss-mdns.i586

Wednesday, April 08, 2009

More F11 sound tips

I was having some issues with F11 and mplayer, in that the first few seconds of a file would be played at an odd rate or delayed at the start

Editing /etc/pulse/default.pa

and changing

load-module module-hal-detect

to

load-module module-hal-detect tsched=0

Got rid of that lag, also I found that commenting out 'load-module module-suspend-on-idle' in that file didn't seem to hurt.

I also found that if you have the snd_hda_intel device and you are hearing loud pops, you might want to try this

echo "options snd_hda_intel power_save=0" > /etc/modprobe.d/snd_hda_intel.conf

After doing all that, reboot and enjoy sound again... Now this all applies to the beta, so in the future these tips may be all wrong.

UPDATE: It appears that this issue has been fixed in rawhide and so the tsched=0 is no longer needed.

Saturday, April 04, 2009

Disable 'flat' volume in pulseaudio 0.9.15

If you don't like the new 'flat' volume feature in pulseaudio 0.9.15, like I don't then try this.

Login as root and run


echo "flat-volumes = no" >> /etc/pulse/daemon.conf

And then relogin to your desktop, and that should do it.

Tuesday, March 17, 2009

New Media Tracker

As you can tell I'm been on kind of on a gui cleanup roll. After learning how to make widgets and finally having the time to think about what I wanted, I wrote a new tracker widget. I think this widget looks great. You'll see it below where the time of the file is.


Let me know if you agree or not. Also this code is now in SVN.

Monday, March 16, 2009

Audio Meter hits gnome-mplayer

I am just about ready to commit the first version of gnome-mplayer with the audio meter integrated... Here is what it currently looks like.


Seems to be working pretty good, and I created it as a full widget, so it could be reused in other projects quite easily.

Sunday, March 15, 2009

GtkStyleColors

I wrote a little app for GTK that displays the style colors of the current theme. If you would like a copy of it, drop me an email..

It looks like this


I found it useful for picking which color to use when creating some GTK widgets.

Saturday, March 14, 2009

Audio Meter

Zdravko Nikolov asked be if gnome-mplayer could have an audio meter. I had looked at this in the past and didn't get very far with it and so I decided to take a look at it again. The first thing was how to get the data from mplayer and then I found the export audio filter. I still don't quite get what I am actually getting from the filter, but the data is interesting enough that when graphed it gives something like an audio meter. Now audio techies are probably gonna think what I came up with is an abomination, but it looks pretty and for some people that is all they want.

Here is a screenshot of what I current have working in some test code, and the next thing will be to merge it into the gnome-mplayer code base.


It does scale out and so as you drag the window, everything scales up, which is good. Also if anyone has better math for this or can enlighten me a little as to what the data actually is that would be great.

Friday, March 13, 2009

Gnome MPlayer and Gecko MediaPlayer 0.9.5 Released

gnome-mplayer 0.9.5 is available here:
http://gnome-mplayer.googlecode.com/files/gnome-mplayer-0.9.5.tar.gz

gecko-mediaplayer 0.9.5 is available here:
http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-0.9.5.tar.gz


Translation updates, general bug fixes. So hot key changes for example
playlist is now F9, to be more compatible with other Gnome Apps

New features:
gnome-mplayer now includes a property page in Nautilus that displays
media info. To use restart nautilus after installing and then select a
media file and choose properties, you should see an Audio/Video tab and
you can view the properties that mplayer knows there. If you have totem
installed you might see two pages.

Saturday, February 28, 2009

Gnome Theme - Japan 2007

I was looking at some themes for the E17 window manager and found one called Japan2007. I liked the colors in it and so I grabbed the screen shot and then used gimp to find out the color ids. So since I use gnome, I setup up my preferences using these colors. Here is what I came up with.

Controls: Nodeka
Colors:
Window - #D8D9CC
Input Box - #EDEDE6
Selected Items - #D3D5C0
Tooltips - #F5F5B5
For all the text I used black or #000000
Window Border: Nodeka
Icons: Gnome

It looks like this

Friday, February 27, 2009

Glest and Catalyst 9.1 with dual head

I wanted to try out the game Glest on my machine and ran into some odd things.

1. Running with two displays, the game spans over both displays with the menu being split right down the middle. I'm guessing this is due to the xrandr 1.1 compatibility of the Catalyst 9.1 (fglrx 9.1) drivers.

2. Switching the displays into clone mode prior to bringing up game and then trying to start it, causes the game to crash on start.
[kdekorte@quad ~]$ glest
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 135 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x5b

So I guess I am kinda out of luck trying out the game. I might try and play it in dual head and see if I can move some of the in game menus around. But for games, I really wish they would stick to one display unless told otherwise.

Monday, February 23, 2009

Nautilus Property Page now included in Gnome MPlayer

Andrew Kluger asked me that since I had a replacement for all of the Totem components (thumbnailer, browser plugin, media player) except for a property page in Nautilus then perhaps I could create one. I took a look at how Totem did it an determined that it didn't look that bad. So I started working on it and within about 4 hrs had something functional. It may not be finished yet, but it seems to fit the bill.


So how it works, is you install Gnome MPlayer from SVN (0.9.5) and it will install the Nautilus plugin. Select a media file that has an appropriate mime type (if your file type is missing, let me know and I'll add it), and right click on the file. Select properties and you should then see the Audio/Video tab. Click on it an it should then give you details about the media file based on what MPlayer knows about the file.

Wednesday, February 04, 2009

New gnome-mplayer and gecko-mediaplayer 0.9.4

gnome-mplayer 0.9.4 has been released you can download it here

http://gnome-mplayer.googlecode.com/files/gnome-mplayer-0.9.4.tar.gz


gecko-mediaplayer 0.9.4 has been released you can download it here

http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-0.9.4.tar.gz


Changes:

gnome-mplayer

Compatibility with Free/Open/NetBSD
Updated translations
New commandline option "--showsubtitles" defaults to 1, set to 0 to
prevent subtitles from showing by default.
Cleanup glib/gtk assertions
Fix window resize issues
Better handling of initial video playback window, should cause fewer resizes
Fix crashes when HOME is not set
Fix some realplayer emulation issues, may not be entirely fixed as
problem site is not accessible at my location
Stability improvements
Compatibility with libgpod 0.7 (API change between 0.6 and 0.7)
Mixer option is only used when the ALSA ao is selected


gecko-mediaplayer

Switch from XPCOM to NPRuntime Mozilla interface, removes need of idl
compiler and should work on more platforms easier
Compatibility with with Konqueror 4
Fix problems with realmedia sites that use a control parameter that dbus
does not like