gnome-mplayer and gecko-mediaplayer 0.9.9.2 have been released
gnome-mplayer:
http://gnome-mplayer.googlecode.com/files/gnome-mplayer-0.9.9.2.tar.gz
gecko-mediaplayer:
http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-0.9.9.2.tar.gz
Changes
gecko-mediaplayer
identify and fix problems from 0.9.9 including better playlist support and support for firefox 3.5, 3.6 and Opera.
Opera still has issues with apple.com/trailers sites, due to user agent issues.
gnome-mplayer
A ton of translation updates and additional languages.
Better seeking using position tracker
Several assertion fixes
Kevin
Thursday, February 25, 2010
Monday, February 22, 2010
gnome-mplayer and volume getting set to 100%
If you are using gnome-mplayer and have pulse audio installed on your machine, you may notice situations where the volume is set to 100%. This appears to be an issue with mplayer and pulse audio. My suggested work around is to use the pulse audio alsa emulation. To do this select 'alsa' as the default audio output in gnome-mplayer.
The problem stems from the change in pulse audio from separate volumes per each application to a single flat volume control. So if flat volumes are disabled on your system, you will not experience this issue.
This issue happens by default on Fedora 12 when used with mplayer from rpmfusion, so adjust your configurations as needed.
RPMFusion bug #1011
The problem stems from the change in pulse audio from separate volumes per each application to a single flat volume control. So if flat volumes are disabled on your system, you will not experience this issue.
This issue happens by default on Fedora 12 when used with mplayer from rpmfusion, so adjust your configurations as needed.
RPMFusion bug #1011
Google Chrome on Linux with videos at http://www.apple.com/trailers
Many people are now starting to ask me if gecko-mediaplayer works on Google Chrome on Linux. For the most part I can say yes, but the main exception appears to the media at http://www.apple.com/trailers . What appears to be happening is that the code to switch the user agent from Chrome to QuickTime does not appear to be working. I believe this is due to Chromes emulation (or not) of the NS_GetServiceManager function call. So until that is fixed, apple.com media will be unplayable in Chrome on Linux.
Tuesday, February 16, 2010
r600 tearfree video on Linux, it is a reality
For some reason I always read "tear" as in crying. I understand that tearing can make some people cry so maybe I am not that far off. Anyway, I got the latest git of drm-radeon-testing, libdrm, mesa and xf86-video-ati. After installing all that everything seems to be running really nicely. I can drag an gnome-mplayer window around the screen and the video does not exhibit any tearing. Even large windows like a browser look good. The only tearing I do get is when I drag a window from one display to another in my dual head setup. I talked to agd5f on #radeon and he said that was due to different pixel clocks on the two displays. He said it could be fixed in software, however. I said while it would be nice to have fixed. I'm sure there are more important things to deal with first.
Thursday, February 11, 2010
Album Cover Art with Shoutcast
I noticed that many shoutcast sites have their track data in a common format "Artist - Song Title'. Based on this, I could use the code I use to obtain the album cover art for MP3 files where not much meta data is available. So a simple parse of the content and a call to the art lookup code and we get this.
This is from http://yp.shoutcast.com/sbin/tunein-station.pls?id=7022 which is an 80's shoutcast station Sky.FM.
This is from http://yp.shoutcast.com/sbin/tunein-station.pls?id=7022 which is an 80's shoutcast station Sky.FM.
Wednesday, February 10, 2010
gecko-mediaplayer and gnome-mplayer 0.9.9
I released gecko-mediaplayer and gnome-mplayer 0.9.9 on 2009-02-05 and the release was decent for the most part. But compile issues where found with various flavors of libxul and there were some other problems with shoutcast and other websites.
So I reworked some code and found some bad problems. So I released a gecko-mediaplayer 0.9.9.1 only on the mailing list which was a snapshot of SVN as of 2009-02-08.
So expect a new release coming soon to fix some of these issues.
So I reworked some code and found some bad problems. So I released a gecko-mediaplayer 0.9.9.1 only on the mailing list which was a snapshot of SVN as of 2009-02-08.
So expect a new release coming soon to fix some of these issues.
Wednesday, January 20, 2010
r600 and Fedora 12 Update
I've done a few posts about the r600 chipset and Fedora Linux. I did one awhile back in April of 2008 and I did another in Sept of 2009 so I thought it was about time for another update.
First of all let me say that the r600 driver has gotten much better since April of 2008, it is hardly in the same ballpark. So I am running Fedora 12 will all the currrent updates. The 2.6.32.3-24 kernel and mesa from git. The mesa in F12 is fine, but the one from git contains support for glsl and OpenGL 2.0 vs the OpenGL 1.5 in mesa 7.7.
So lets get to the raw data...
gtkperf -c 500 -a now runs in 36 - 39 seconds on my machine (Q6600 at 2.4Ghz, 64bit, 8GB of RAM). I have switched to using compiz as my window manger which actually may slow the results down a little. And I also have found that the GTK theme can really impact the performance of GTK.
3d apps for the most part run solid, glxgears is around 2000 fps, Quake 3 runs as 90, Nexiuz is 30-40 depending on the detail. Diablo 2 under Wine gives 25fps (which is its max for the most part). I have had some issues with screen corruption when running diablo with -opengl.
My video player, fosfor, that is based on clutter and gstreamer plays quite well. Even with larger files.
So when testing the radeon r6xx driver on Linux, ensure you have the latest packages available. It really makes a difference.
First of all let me say that the r600 driver has gotten much better since April of 2008, it is hardly in the same ballpark. So I am running Fedora 12 will all the currrent updates. The 2.6.32.3-24 kernel and mesa from git. The mesa in F12 is fine, but the one from git contains support for glsl and OpenGL 2.0 vs the OpenGL 1.5 in mesa 7.7.
So lets get to the raw data...
gtkperf -c 500 -a now runs in 36 - 39 seconds on my machine (Q6600 at 2.4Ghz, 64bit, 8GB of RAM). I have switched to using compiz as my window manger which actually may slow the results down a little. And I also have found that the GTK theme can really impact the performance of GTK.
3d apps for the most part run solid, glxgears is around 2000 fps, Quake 3 runs as 90, Nexiuz is 30-40 depending on the detail. Diablo 2 under Wine gives 25fps (which is its max for the most part). I have had some issues with screen corruption when running diablo with -opengl.
My video player, fosfor, that is based on clutter and gstreamer plays quite well. Even with larger files.
So when testing the radeon r6xx driver on Linux, ensure you have the latest packages available. It really makes a difference.
Tuesday, November 24, 2009
Fosfor UI
Here is the UI for fosfor. I think I will keep with this model for awhile. The buttons light up as you move over them and the control bar only appears when the mouse is over the window. If you don't move the mouse for 3 seconds the control bar and the pointer disappear. Also there is a slight transparency to the control bar so that you can see the video thru the controls.

The audio and subtitle options do work, but for subtitles, sometimes to get the proper one to appear you need to seek in the media. Problem appears to be in gstreamer, but still seeing if I can work around that issue.

The audio and subtitle options do work, but for subtitles, sometimes to get the proper one to appear you need to seek in the media. Problem appears to be in gstreamer, but still seeing if I can work around that issue.
Monday, November 16, 2009
Fedora 12, WebCam in Flash
If you are using Fedora 12 and the webcam is not working in Flash applications (the camera is not found). Then add this to $HOME/.bash_profile
LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so
export LD_PRELOAD
If you are on a 32bit machine change 'lib64' to 'lib'
Then logout and log back in and your webcam should start working.
LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so
export LD_PRELOAD
If you are on a 32bit machine change 'lib64' to 'lib'
Then logout and log back in and your webcam should start working.
Tuesday, November 03, 2009
Fosfor Widgets - Implemented
I was able to get the widgets finished up early this weekend and enable them as the main widgets for the fosfor application. So far everything is working pretty decently. I have some ideas I still want to try and see if they work better but I'm happy so far.

One idea I have is to only show the controls when the mouse is over the media and to have it fade in smoothly. I've seen this on a couple of flash animations and it looks nice.
Fosfor now requires
clutter 1.1.2
clutter-gtk 0.90
clutter-gst 0.90
All of these are found in clutter git, and have not been released yet.

One idea I have is to only show the controls when the mouse is over the media and to have it fade in smoothly. I've seen this on a couple of flash animations and it looks nice.
Fosfor now requires
clutter 1.1.2
clutter-gtk 0.90
clutter-gst 0.90
All of these are found in clutter git, and have not been released yet.
Wednesday, October 21, 2009
Fosfor Widgets
I've been working on creating some user interface widgets that are mostly done using clutter. I'm doing this for a couple of reasons..
1. Possibility of fun fade in / fade out options when controls are shown/hid
2. When running in fullscreen mode the clutter widgets can be over the media and transparent or opaque. For example show the details while playing a video.
Nothing real exciting here, but let me describe what you are seeing.

Only widgets I'm talking about are widgets in the black area
1. The green items is the traditional tracker, I need to work with the thumb look and feel, but it is getting there
2. The Pause button is what a button looks like when the mouse is over the button, the background highlights and as you move the mouse off, it unhighlights and looks kinda like the play button
3. This particular play button is set "insensitive" so it will appear darker than a button that is sensitive.
Colors are taken from the gtk theme, so it should remain consistent with other apps.
Well that is all I have at the moment.
1. Possibility of fun fade in / fade out options when controls are shown/hid
2. When running in fullscreen mode the clutter widgets can be over the media and transparent or opaque. For example show the details while playing a video.
Nothing real exciting here, but let me describe what you are seeing.

Only widgets I'm talking about are widgets in the black area
1. The green items is the traditional tracker, I need to work with the thumb look and feel, but it is getting there
2. The Pause button is what a button looks like when the mouse is over the button, the background highlights and as you move the mouse off, it unhighlights and looks kinda like the play button
3. This particular play button is set "insensitive" so it will appear darker than a button that is sensitive.
Colors are taken from the gtk theme, so it should remain consistent with other apps.
Well that is all I have at the moment.
Wednesday, October 14, 2009
r600 lockups on Fedora 12/rawhide
If you are experiencing lockups when using an r6xx or r7xx card in Fedora Rawhide (12) try adding
pcie_aspm=off
To your kernel command line in /etc/grub.conf. This solved the lockups for me. Dave Airlied is working on fixing this, so this option should not be needed in the Fedora 12 release.
pcie_aspm=off
To your kernel command line in /etc/grub.conf. This solved the lockups for me. Dave Airlied is working on fixing this, so this option should not be needed in the Fedora 12 release.
Tuesday, October 06, 2009
fosfor - media player project
I created a new project at google code called fosfor (phosphor) that is a new player using the clutter and gstreamer code.
You can find the project here
http://code.google.com/p/fosfor/
You can find the project here
http://code.google.com/p/fosfor/
Wednesday, September 23, 2009
GtkBuilder XML to .h file
Here is a little perl script to convert a GtkBuilder .xml file as generated by libglade3 to a .h file. Kind of in the style of gdk-pixbuf-csource.
Use it like this
#!/usr/bin/perl
$var = $ARGV[0];
open IN, "<$var";
$var =~ s/\./_/g;
print "static const char $var\[\] =\n";
while() {
$line = $_;
chomp $line;
$line =~ s/\"/\\\"/g;
if (/<\/interface>/) {
print "\"$line\";\n";
} else {
print "\"$line\"\n";
}
}
close IN;
Use it like this
xmltoh.pl GtkBuilder.xml > GtkBuilder.hAnd then #include "GtkBuilder.h" and you should have a variable name GtkBuilder_xml that is a string that holds the xml that gtk_builder_add_from_string can use.
Tuesday, September 22, 2009
Using Clutter and Gstreamer for Media Playback
I have been watching the clutter toolkit for sometime and putting together a couple of demo apps at the same time just to see what it can do. So with Fedora 12, there is a new clutter 1.0. Unfortunately none of my old demo apps work, so clutterdesk and couple of other thing would need to be converted to the clutter 1.0 api. So when I feel like it I'll probably get around to do it. But what was most interesting to me in clutter 1.0 was the new ClutterMedia actor. So I installed the components to use it, and it is based on GStreamer (which finally appears to produce pretty decent output for most media items).
So I created a simple playback area and actually had two videos (one ogg and the other quicktime) playing on a single "stage" with about 30ish lines of code. Could just play the media, but it seemed to work quite well.
Next was to see what it would take to get some information about the media. This was actually the difficult part, but luckily I was able to dig thru the totem code and find the information I needed.
Next was to create a gnome-mplayer like gui for it, but since I was playing with new toys, I decided to use GtkBuilder to do it. I used glade3 to create an XML file that gtkbuilder could read. As a side note, having Glade3 produce an include .h file that contained the XML in a const gchar would be a nice improvement, that way you could just include the .h file and go, nothing else to ship.
Had a few issues figuring out how to use it, but after awhile, I got it and produced something that looks like this. (This is the Harry Potter and the Half Blood Prince trailer, that I have stored locally).

Looks a lot like gnome-mplayer and I think I have about 4-6hrs into learning how to do all this. It is quite interesting and the toolkits are quite well thought out. So I'll continue to play with this demo on and off and see what comes out.
If you would like the code, I would be happy to email it to you.
So I created a simple playback area and actually had two videos (one ogg and the other quicktime) playing on a single "stage" with about 30ish lines of code. Could just play the media, but it seemed to work quite well.
Next was to see what it would take to get some information about the media. This was actually the difficult part, but luckily I was able to dig thru the totem code and find the information I needed.
Next was to create a gnome-mplayer like gui for it, but since I was playing with new toys, I decided to use GtkBuilder to do it. I used glade3 to create an XML file that gtkbuilder could read. As a side note, having Glade3 produce an include .h file that contained the XML in a const gchar would be a nice improvement, that way you could just include the .h file and go, nothing else to ship.
Had a few issues figuring out how to use it, but after awhile, I got it and produced something that looks like this. (This is the Harry Potter and the Half Blood Prince trailer, that I have stored locally).

Looks a lot like gnome-mplayer and I think I have about 4-6hrs into learning how to do all this. It is quite interesting and the toolkits are quite well thought out. So I'll continue to play with this demo on and off and see what comes out.
If you would like the code, I would be happy to email it to you.
Sunday, September 20, 2009
r600 and Fedora 12 Snapshot 3ish
I had been running the r600 drivers or at least trying to, using the git versions of the kernel (drm-next branch), mesa, libdrm and xf86-video-ati on my Fedora 11 machine. And I understand that when running this type of config that things are probably gonna crash.
So when I used this config with KMS/DRI2 enabled it annoyed, but did not surprise me when it crashed. However, to get a stable system I was able to add radeon.modeset=0 to the kernel command line and things just worked correctly. No crashes, fast XV all that stuff.
So I decided that I should upgrade to F12 for a couple of reasons.
1. The new GTK with client side windows was included and I have a feeling that could cause gnome-mplayer some pain
2. The r600 drivers were built in to everything
So after downloading 2.5GB of files and upgrading using preupgrade I rebooted the machine. The preupgrade process ran, but hard locked the machine a couple of times using everything default while the upgrade was running (I should have known then). I finally on the third try added radeon.modeset=0 to the kernel command line and the preupgrade finished. After that was done I ran yum and got the latest of everything else.
Then more pain started. The machine using the default of everything would boot up and let me login and promptly lock pretty much right as the desktop showed up and sometimes it would even lockup in GDM when the screen was shuffling around and sometimes I would get 10 mins before it would lock up. So back to the radeon.modeset=0 option. However, this disabled all acceleration. Firefox was dead slow and xv didn't work. Unacceptable. Tired playing around with it a bit more and was out of lock, all I got were lockups for my efforts.
Luckily my motherboard has the Intel G35 chip onboard so I have that as a backup video card. So out comes the ATI card and in goes the ADD2 DVI adapter that I use with my display. After that everything is pretty happy and no lockups and etracer has twice the framerate with the Intel card as with the ATI card (this should not be). Now I know this is all early stuff and I do expect the ATI card to work eventually. But to have snapshot 3 of Fedora out and to have these kinda lockups, well that kinda sucks.
So when I used this config with KMS/DRI2 enabled it annoyed, but did not surprise me when it crashed. However, to get a stable system I was able to add radeon.modeset=0 to the kernel command line and things just worked correctly. No crashes, fast XV all that stuff.
So I decided that I should upgrade to F12 for a couple of reasons.
1. The new GTK with client side windows was included and I have a feeling that could cause gnome-mplayer some pain
2. The r600 drivers were built in to everything
So after downloading 2.5GB of files and upgrading using preupgrade I rebooted the machine. The preupgrade process ran, but hard locked the machine a couple of times using everything default while the upgrade was running (I should have known then). I finally on the third try added radeon.modeset=0 to the kernel command line and the preupgrade finished. After that was done I ran yum and got the latest of everything else.
Then more pain started. The machine using the default of everything would boot up and let me login and promptly lock pretty much right as the desktop showed up and sometimes it would even lockup in GDM when the screen was shuffling around and sometimes I would get 10 mins before it would lock up. So back to the radeon.modeset=0 option. However, this disabled all acceleration. Firefox was dead slow and xv didn't work. Unacceptable. Tired playing around with it a bit more and was out of lock, all I got were lockups for my efforts.
Luckily my motherboard has the Intel G35 chip onboard so I have that as a backup video card. So out comes the ATI card and in goes the ADD2 DVI adapter that I use with my display. After that everything is pretty happy and no lockups and etracer has twice the framerate with the Intel card as with the ATI card (this should not be). Now I know this is all early stuff and I do expect the ATI card to work eventually. But to have snapshot 3 of Fedora out and to have these kinda lockups, well that kinda sucks.
Friday, September 18, 2009
gnome-mplayer and gecko-mediaplayer 0.9.8 released
gnome-mplayer and gecko-mediaplayer 0.9.8 have been released
Main fix is support for the apple.com trailers site
Support for video at PBS.org
Many bug fixes
Updated translations
Download:
http://gnome-mplayer.googlecode.com/files/gnome-mplayer-0.9.8.tar.gz
http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-0.9.8.tar.gz
Full ChangeLog
http://gnome-mplayer.googlecode.com/svn/tags/v0_9_8/ChangeLog
http://gecko-mediaplayer.googlecode.com/svn/tags/v0_9_8/ChangeLog
Enjoy!
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.
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.
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
Subscribe to:
Comments (Atom)