Showing posts with label GnomeMplayer. Show all posts
Showing posts with label GnomeMplayer. Show all posts

Tuesday, October 30, 2012

gnome-mplayer 1.0.7 released


Announcing the release of gnome-mplayer 1.0.7

Due to a change in the logging of the application gmtk 1.0.7 is *required* for gnome-mplayer and gecko-mediaplayer

Notable changes:

gnome-mplayer now has MPRIS2 support, so as support is added to the applications gnome-mplayer should be able to be controlled from several panel applications. I have requested this support from several applications but as of yet support has yet to appear.

Added Anamorphic 2.39:1 as a preset screen ratio

Prevent crash message on shutdown.

GTK compatible logging system

Fix problem when controlling the playback of audio only files

Rework playlist handling in gecko-mediaplayer so that website playlists are handled in a sane manner and caching is done correctly.

And the normal stuff:
Several bug fixes
Additional keyboard shortcuts and fixes


Files:

http://gmtk.googlecode.com/files/gmtk-1.0.7.tar.gz

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

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

Enjoy!

Thursday, May 17, 2012

MPRIS2 support in GNOME MPlayer

MPRIS2is becoming the standard way of controlling media players over DBUS. Since GNOME MPlayer already had much of this capability built in due to the usage of DBUS to communicate with gecko-mediaplayer I decided to add MPRIS support in to the upcoming 1.0.7 release of gnome-mplayer.

After a few days of work, much of the MPRIS specification has been implemented. Really not that hard except for having to figure out how to implement some of the more unusual types. The mpristester application was a huge help in debugging and ensuring that the implementation went correctly.

After initial support was working I began testing the code with a few of the gnome-shell extensions that use MPRIS to control several media players. I had to make a few modifications to them, mainly just adding "gnome-mplayer" to the list of supported players and after that they just started working.

So if you use one of these extensions, tell them to add support for gnome-mplayer to there application. And as always if they have issues, I should be able to fix the problems within a short period.

The code is in SVN now, and I recommend that you get gmtk and gnome-mplayer from SVN for the best support.


Friday, April 06, 2012

ANNOUNCE 1.0.6

Version 1.0.6 of gmtk, gnome-mplayer and gecko-mediaplayer has been released.

The following changes have been made over 1.0.5

gmtk

Setting PulseAudio as the default Audio Output is recommended for systems configured with PulseAudio as the default output device and volume is now tracked properly

Size allocation bugs are now fixed as well as media restarts when needed.

Added -zoom option to mplayer commandline when x11 is picked as the vo

Fixed compile issues due to missing libm

Fixed several pointer issues

gnome-mplayer

Removal of some older non-used code

Fixed some issues with some websites to solve gecko-mediaplayer issues

Enhance key handler to work with remapped keys

Add Preference to disable Nautilus plugin if desired, allows plugin package to be installed, but not enabled in nautilus. Solves some packaging issues

gecko-mediaplayer

Fix problem in style parser, which causes some sites not to work.

Remove some noise from the xsession-errors file

Removal of "--enable_new_libxul" configure command as it is now autodetected.


The files can be found here:

http://gmtk.googlecode.com/files/gmtk-1.0.6.tar.gz

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

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

Thursday, December 29, 2011

ANNOUNCE 1.0.5

Version 1.0.5 of gmtk, gnome-mplayer and gecko-mediaplayer have been released

The build process is the same as 1.0.5b1 which is documented here:

http://kdekorte.blogspot.com/2011/10/105b1-of-gmtk-gnome-mplayer-and-gecko.html

The following fixes have been made since 1.0.4

gmtk

This library is new as of 1.0.5 and is required for the build. Several common functions and routines in gnome-mplayer and gecko-mediaplay have been moved to this library. Which should result in a slightly smaller installed code size.

gmtk can be used to build your own media players as widgets have been created to control mplayer. A simple media player can be built using this library very quickly. If you have questions about this library and how to use it in your GTK application, please email the list and I will cover its usage.


gnome-mplayer

Removal of large amounts of code that are now present in gmtk
Customization of Menu Hot keys
Remove need of mplayer config file
--vo and --dvd_device command line options
Several other small fixes


gecko-mediaplayer

Due to changes at Apple, QT files from Apple.com are now fully downloaded before playing, prevents mplayer from crashing or going into a infinite loop

Workaround xulrunner issues due to the API changing but Mozilla not bumping the API version

Conversion to gmtk for preference storage and other common routines.


Download links:

http://gmtk.googlecode.com/files/gmtk-1.0.5.tar.gz

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

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

Tuesday, December 06, 2011

1.0.5 is getting closer

Sorry for the long delay in getting 1.0.5 out the door. There have been a lot of changes and fixes for some minor issues that have been painful to fix. Apparently, the nsapi has changed again and was not properly versioned in all instances. So several attempts were made to detect and work around the problems. I believe we have solved the issues. You can read issue 161 for all the gory details: 158-162 are all related to this problem.

I hope to have some time in the last weeks of December to get the release out the door. Hopefully, it will be painless as packages have been made and a large amount of testing has been done.

My work schedule has been a little busier over the last few months so I have had less time to spend on these applications. Also, I want to make sure we don't have any surprises. I expect we will, but I want to try and minimize them.

Friday, November 25, 2011

mplayerplug-in and Firefox 8

I've received a few emails that mplayerplug-in may not be working with Firefox 8. While I have not personally looked into this yet I believe this may be due to the removal of XPCOM in Firefox. The best option going forward would be to migrate from mplayerplug-in to gecko-mediaplayer. gecko-mediaplayer uses the nsapi that Mozilla recommends for plugins.

Now I know everyone's first thought is that gecko-mediaplayer and gnome-mplayer have to many dependencies or that gnome-mplayer requires gnome. Well lets be frank. The only main requirement difference and dependency, if you are using Firefox, is that gecko-mediaplayer/gnome-mplayer require that dbus is present and running on the system. I've done some testing and dbus does not really add much RAM or CPU usage when it is not being used.


top - 08:10:30 up 7 days, 31 min,  8 users,  load average: 1.08, 0.35, 0.16
Tasks:   3 total,   0 running,   3 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.1%us,  2.8%sy,  0.0%ni, 93.7%id,  0.2%wa,  0.2%hi,  0.0%si,  0.0%st
Mem:   8179620k total,  6119660k used,  2059960k free,   608028k buffers
Swap:  2103292k total,        0k used,  2103292k free,  2992068k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 1686 kdekorte  20   0 24992 3572  704 S  0.3  0.0   9:45.59 dbus-daemon       
  899 dbus      20   0 22996 2684 1236 S  0.0  0.0   0:09.42 dbus-daemon       
 1685 kdekorte  20   0 22220  508  300 S  0.0  0.0   0:00.00 dbus-launch

As stated before gnome-mplayer does not require any gnome components, it originally did, but those components have been replaced with GTK/GLIB or other optional libraries. It can be configured to not use gconf or dconf. gnome-mplayer can be compiled to support GTK2 or GTK3 and since GTK is used by Firefox no additional library is added there.

mplayerplug-in does not support many of the features that gecko-mediaplayer does. The javascript is better, the support for Quicktime is better, and many of the problems that mplayerplug-in has are resolved in gecko-mediaplayer. So it is time for mplayerplug-in to finally go away.

Monday, October 03, 2011

1.0.5b1 of gmtk, gnome-mplayer and gecko-mediaplayer

Announcing the release of version 1.0.5b1 of the following packages

gmtk
gnome-mplayer
gecko-mediaplayer

The building of these packages is a little different than 1.0.4 due to the addition of gmtk.

gmtk is a common library that is used by gnome-mplayer and gecko-mediaplayer. So build and install it first, it should auto configure for most situations

About the only options you will need other than the prefix and the libdir are the following

--enable-gtk3 or --disable-gtk3

And then to select the backend for preference stores, either let the application configure it self to choose the best option or pick _one_ of these

--enable-gconf
--enable-gsettings   GTK 2.26 or higher required for this one
--enable-keystore

On Fedora 15 (x86_64) I use the following command to configure gmtk

./configure --prefix=/usr --libdir=/usr/lib64


Once gmtk is compiled and installed build gnome-mplayer and then gecko-mediaplayer. They will use the version of gtk and backend that were chosen in gmtk, so no need to re-specify those options. So please check your flags if you have scripted these builds in the past.

tar files of the source can be obtained from the following links:

http://gmtk.googlecode.com/files/gmtk-1.0.5b1.tar.gz

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

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

Wednesday, July 20, 2011

Keyboard Customization

One of the common requests I get for gnome-mplayer is the option to customize the keyboard hot keys. One thing about a US keyboard is that it has keys that a Russian keyboard does not have. So when I hardcode a hotkey, it may work for me, but may cause problems for others. So I have finally gotten around to building this functionality into the code.

Keyboard Customization screen
As of right now I only have the menu shortcuts working with this new method. If it turns out that this method works properly with Russian or other keyboards, then I'll add more shortcuts to this screen.

To use this you need SVN of gnome-mplayer and gmtk from July 20, 2011 or later. gmtk is only needed as I added one function to it.

Wednesday, July 13, 2011

Sample builds of gnome-mplayer based on gmtk

Here are some sample tar files of gmtk, gnome-mplayer and gecko-mediaplayer.

I don't think I have the schema file installs working correctly yet, so
you might need to install these packages on top of 1.0.4


https://dekorte.homeip.net/download/gmtk-1.0.4.tar.gz
https://dekorte.homeip.net/download/gnome-mplayer-1.0.5.tar.gz
https://dekorte.homeip.net/download/gecko-mediaplayer-1.0.5.tar.gz

Build gmtk first and install it, then build and install gnome-mplayer and gecko-mediaplayer.

For gmtk you might need to specify libdir on the configure command.

Example on Fedora 15 64bit.

./configure --prefix=/usr --libdir=/usr/lib64
  

Friday, July 01, 2011

Announcing gnome-mplayer 1.0.4 and gecko-mediaplayer 1.0.4

Announcing gnome-mplayer 1.0.4 and gecko-mediaplayer 1.0.4

gnome-mplayer improvements:

Conversion to the gmtk_media_player backend which isolates all mplayer control operations to a gtk widget. This is the majority of the change with over 3000 lines either moved or changed, and also the reason for the long testing period.

Various bug fixes over 1.0.3

GTK3 support, enable with --enable-gtk3 on the configure line.

Additional languages

Detection of Ubuntu global menus, assumed to be true when UBUNTU_MENUPROXY is defined in the environment.

dconf / gsettings preference store is enabled when using glib 2.26 or higher. Gconf support can be preferred with --with-gconf=yes



gecko-mediaplayer improvements:

Several javascript api enhancements to support more functions
Added Portuguese translation
More improvements for Apple sites


TAR Files:

http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4.tar.gz

http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4.tar.gz

Thursday, June 09, 2011

ANNOUNCE gnome-mplayer and gecko-mediaplayer 1.0.4b2

This is to announce the second and hopefully last beta for the 1.0.4
series of gecko-mediaplayer and gnome-mplayer

This beta includes fixes for the tunein.com website that enhance the
Windows Media Player emulation in javascript.

gnome-mplayer

http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4b2.tar.gz&can=2&q=

gecko-mediaplayer

http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4b2.tar.gz&can=2&q=


Please let me know if you have any issues with these packages.

Wednesday, June 01, 2011

ANNOUNCE gnome-mplayer and gecko-mediaplayer 1.0.4b1

I am releasing the current SVN code to get some more testing exposure. I have been using the code for a couple of weeks and I am pretty satisfied with how things are working. I'm sure there might be a few bugs mainly due to the size of the changes in the code, but many of my test cases are working well.

The code can be obtained from here:


gnome-mplayer

http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4b1.tar.gz&can=2&q=

GTK3 support can be enabled in gnome-mplayer with the --enable-gtk3 flag
passed to configure.


gecko-mediaplayer

http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4b1.tar.gz&can=2&q=

Wednesday, May 18, 2011

Apple Trailers on Fedora 15

I just want to know if this is a local problem or not. I went to http://trailers.apple.com/trailers/paramount/thor/ to test some problems with Apple trailers in gecko-mediaplayer. The problem is that the option to select the trailers are no longer showing up. I have this same issue in chrome and in another account. So I'm wondering if it is Fedora 15 problem or something local here. My Fedora 14 machine shows the screen perfectly.


Note how on this screen the red box that is normally on the left is missing. Any ideas? It worked last Friday that I know of.

Monday, May 02, 2011

Gnome Mplayer 1.0.4 beta status

Over the weekend I battled with gnome-mplayer/gmtk. It kept hanging on startup or crashing after running for a short period of time. Eventually, I found the problem and it was something I should have known better to do. I was setting GTK values, size allocations and colors, in the thread. This is just something you don't want to do. I could have used thread guards, but I decided to put things into the GTK idle loop, which a technique I have used in the past that works well.

As part of the testing I wanted to make sure that the iPad playback was still working properly, and it appears to be so far.

Gnome Mplayer playing music off an iPod

Any testing that could be done on the current SVN of gnome-mplayer would be appreciated.

Friday, April 29, 2011

Gnome Mplayer Status

I've been working the last week to convert gnome-mplayer to use my gmtk_media_player widget backend. So far really good progress has been made and things are shaping up nicely. Found a few problems here and there vs the code I built to do the initial testing of gmtk_media_player before I converted to it, but that was pretty much expected.

The good news is that performance and memory usage seem to be about the same so far. Also, I'm really liking the event based structure of the code. It is much clearer what is going on with mplayer now to the main code.

gnome-mplayer, 1.0.4beta, GTK3
I have an idea of how to get zooming to work, but it might require clutter to do it. I'm thinking of embedding gmtk_media_player into a clutter actor and then taking advantage of the capabilities of clutter. I did this in fosfor about 6 months or more ago, and I noticed that totem recently started using clutter as well for the same purpose.

Thursday, April 21, 2011

Gnome Mplayer ported to GTK3

While there are still some major issues with the application, gnome-mplayer does compile against GTK3 now. I'll probably have to spend a few days figuring out all the new tweaks that I need to make.

gnome-mplayer using GTK3
This is SVN r2002

ANNOUNCE: 1.0.3 of gnome-mplayer and gecko-mediaplayer released

gnome-mplayer and gecko-mediaplayer 1.0.3 have been released you can download them from here

http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.3.tar.gz


http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.3.tar.gz

Please note that these versions will use gsettings on glib 2.26 or higher which may cause all the configuration of these tools to be reset, you can force gconf with --with-gconf=yes and this is required for both applications.

If firefox crashes after installing gecko-mediaplayer, the most likely cause is gecko-mediaplayer using gsettings and gnome-mplayer is not. Please ensure that both are configured and installed properly.

gnome-mplayer changelog

http://code.google.com/p/gnome-mplayer/source/browse/tags/v1.0.3/ChangeLog

gecko-mediaplayer changelog

http://code.google.com/p/gecko-mediaplayer/source/browse/tags/v1.0.3/ChangeLog

Wednesday, April 20, 2011

GMTK Ported to GTK3

As part of the next release I wanted to be able to have gnome-mplayer be able to be compiled against GTK3. Since GMTK is the core of the next release, I needed to port it first. It only took about an hour to complete the work. gnome-mplayer will take more time to convert, but it should be something I should be able to do in a few hours.


GTMK running under GTK3

So I need to finalize 1.0.3 and then on to this work. It appears that GTK3 may not be able to be ported to Windows, because of the embedding in GTK3 being X specific.

Monday, April 11, 2011

Thursday, April 07, 2011

GMTK Media Player Zoom Feature

One feature I'm commonly asked for in Gnome MPlayer is a way to zoom in on the video, perhaps there is something needs closer examination or the viewer just wants to get rid of the black bars on the sides. So I began looking into how I could solve this problem. GMTK draws the video into a GTKSocket object, which is contained by a GTKFixed container. This allows me to properly center the video. I was under the assumption that using negative coordinates in the GTKFixed would not be allowed. Anyway I decided to try it to see if it would work just in case. And it actually did work with no problem. So my first attempt at this was to put the change into Gnome MPlayer. Gnome MPlayer uses a GTKDrawingArea instead of a GTKSocket so when I tried this technique I ended up with video overlaying other portions of the window, not good. But I figured I should try it in GMTK to see if it would work there anyway. It does actually work pretty well. So when Gnome MPlayer is converted to use GMTK (planned for 1.0.4) the zoom feature should come along with the code. Below are some screen shots showing it working.

GMTK at 100% zoom (I've made the window wider on purpose)

GMTK at 120% zoom

GMTK at 80% zoom
I may change the step size in the future to allow for more precise zooming, right now the steps are 10%.


Update: Looks like this feature will probably be dropped for gnome-mplayer 1.0.4, I had to make a change to the layout code to make GTK3 work correctly, and that change took away this feature.