Why gxine???

Using applications, configuring, problems
Message
Author
User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

Why gxine???

#1 Post by playdayz »

As I understand it, the gxine in Puppy 4.00 and 4.1 is two or three versions behind the current gxine, because all the more recent ones crash in Puppy. There is another disadvantage to gxine that I have just found, which is that gxine uses roughly twice as much cpu resources as the xine-ui (which is available in Petget).

Using htop (conveniently provided recently by aragon) I have been comparing the resources used by various media players and gxine uses more of them than not only xine-ui but more than any other media player! The numbers only apply to my 900MHz P3, but the relative values should hold. Htop also shows multiple tasks for each program, so that number also should be pegged to htop. It is the CPU number that caught my attention.

.....................CPU......................Tasks.................Mem
Base...........0.7%.......................14.......................49
gxine.......13.2%...................... 27........................68
Xine...........6.0%.......................33....................... 66

The Base is with Opera open and showing www.shoutcast.com and htop open. I then clicked the same station each time, Swiss Groove, and watched htop. The CPU numer varied around the median value I selected. I have obtained these same results consistently and the test is easy enough to set up so perhaps we could get some other numbers for comparison.

Since Xine is available and has quite a few pleasant looking skins, I can't imagine why I would use gxine.
Image
I was testing players that play streaming audio, but for mp3's that are on one's computer, zigbert has built Pmusic. I left out xmms, which requires gtk1, which is not present in Puppy 4, plus xmms is not being maintained--the original developers are working on xmms2. I always liked xmms myself and it would run comparably to bmp (or even a little lighter). I also left out audacious because I got confused with all the dependencies. Additionally, although there are at least three different versions of audacious available on these forums, none of them are the current 1.5.1. There are already some strong alternatives to audacious and xmms which are much easier to install and use.

Here are some other results, for anyone who might be interested.

............................CPU.............Tasks...............Mem
Base...................0.7%..............14....................49
Realplayer..........7.9%..............24...................56
vlc 0.8.6h..........3.3%..............23....................54
vlc 0.9.2............3.3%..............27....................58
bmp....................2.0%..............20....................53 (beep media player pet)
foobar2000.......2.6%..............35....................65 (wine)
gxine.................13.2%...............27....................68
Xine...................6.0%...............33....................66 (Petget)

Beep-Media-Player and foobar2000 are audio only players; bmp had the lowest resource requirements overall (and played mp3's very well--but it did not play streaming aac+); foobar2000 beat everything but bmp, and that is running in wine!

Realplayer and Xine had more or less comparable requirements and in my experience approximately equal success in playing video formats (others will surely have more experience than I do at video formats). In my experience Realplayer is best at conveniently listening to real audio and video formats (such as on the BBC). I think that Realplayer does not play flac. Realplayer is also free but not open source.

The vlc players are not completely ready for Puppy. ttuuxxx and mikeb are working on them--and you can see their resource usage is admirably low. If they can be completely dialed in they would play "all" audio and video formats (providing a possible alternative to xine).

Pmusic http://www.murga-linux.com/puppy/viewto ... 98&t=31206
Beep-Media-Player http://www.murga-linux.com/puppy/viewto ... 13&t=20919
Realplayer http://www.murga-linux.com/puppy/viewto ... 42&t=27761
VLC http://www.murga-linux.com/puppy/viewtopic.php?t=31890
foobar2000 http://www.murga-linux.com/puppy/viewto ... 69&t=32489
htop http://www.murga-linux.com/puppy/viewtopic.php?t=33785
Image

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#2 Post by disciple »

I'm just wondering if you've checked that Gxine isn't set to do a whole lot of video post-processing that the other players aren't set to do?
plus xmms is not being maintained
Xmms is most certainly still maintained - it isn't that long ago that the latest version came out.
Some people around here are die-hard xmms fans, but if I could find something that worked as well I would find it hard to justify getting gtk1 just for xmms. I found BMP and audacious quite troublesome though :(
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#3 Post by Béèm »

What about mplayer?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Bruce B

Re: Why gxine???

#4 Post by Bruce B »

playdayz,

I feel safe in saying the reason why gxine has to do with considerations Barry made a few years ago. At that time Puppy's total size was a big consideration. It still is.

A major sales point for using another all around multimedia player would have to be based on size also.

Can you come up with some size figures?

Bruce

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#5 Post by playdayz »

@disciple, Yes, thanks for reminding me. I made sure that the video post-processing for visualizations was set to None for both Gxine and for Xine-ui. When it is On (with goom as I recall) the cpu usage for gxine is up around 50%--even if the video screen with the visualization is hidden!!

My mistrake about xmms. I like it. This whole thing started when it wouldn't play streaming aac+.

XMMS 1.2.11 Released
1211 days ago we released 1.2.10, so what better day to release 1.2.11?
Nov 16, 2007


@ Bruce, It looks like gxine is 174 KB and xine-ui is 536 KB.

I hope no one thinks I was criticizing BarryK's choice to use gxine. I was surprised when I saw those double digits come up for gxine's cpu usage, so I collected some numbers to use as the basis for an enjoyable discussion. With everything else going on maybe no one had looked at those numbers in that way before. But now that I have seen them it does seem to me that xine-ui would be a better front end for the xine libraries.
Last edited by playdayz on Wed 01 Oct 2008, 02:09, edited 3 times in total.

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#6 Post by John Doe »

also, don't forget...

I do believe one of the concepts of puppy was to be most friendly to MS converts.

Can anyone disagree that gxine is not the most "WMP like" in appearance and menu functionality?

I think that might be another reason it's chosen.

Btw, I believe the full screen problem might be related to the JWM version and not the GXINE version. It's just a guess though as I haven't tested yet.

MustardMan

#7 Post by MustardMan »

I am experiencing a "full screen" problem, and the mention of just such a problem only ever appears the once (in the previous post, did a search for gxine full screen) - initially I thought it was just my setup/hardware.

I assume the "full screen" problem is that when you select full screen mode, it tries to do it, but falls back to the current window mode?

I want to use puppy as a sort of jukebox player. I would like to set it up to automatically start playing mp3s on boot, and have goom running (full screen) as eye-candy. Perhaps another media player would be a better choice? Anyone?

Cheers,
MM

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#8 Post by disciple »

Oh yeah - presumably you checked they were using the same output driver settings as well?

From memory I think Mplayer uses similar resources to VLC. But I think it has a better chance of getting into Puppy because it isn't absolutely HUGE when you manage to compile it with shared ffmpeg. In fact it isn't much bigger than Xine-lib + Gxine. Mplayer's main weaknesses are that the gui isn't a focus, and audio CD and DVDnav support aren't great. It has a truly superior browser plugin though.
I wonder if Pmusic can play CDs...

BTW
Those who have been following the Dingo saga will know that it has been difficult to find a media player that is truly satisfactory. Alpha7 has Xine-ui, however I am not at all happy with it. Today I have been playing with Gxine, and running on the 2.6.21.7 kernel it runs ok. Regarding the full-screen problem, as long as you remember to maximise the window first, then it goes into full-screen (has anyone told the developers about that?). I don't know why the kernel would make any difference, and I can't recall what the problems were but I think running on the 2.6.23.x and 2.6.24.x kernels Gxine has some extra problems. But, for the 2.6.21.7 kernel it's fine.
It doesn't sound to me like Gxine beat Xine-ui because of size. I don't think Barry is that obsessed with size that a few hundred KB would drive such a big decision anyway :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

@MustardMan

FullScreen in GXine: If i remember right, you first have to maximize the window of gxine and then choose full screen.

Musicbox: You might try

mpd/gmpc: http://www.murga-linux.com/puppy/viewtopic.php?t=22949
wxmusic: http://murga-linux.com/puppy/viewtopic.php?t=8314
pmusic: http://www.murga-linux.com/puppy/viewtopic.php?t=31206
aqualung: http://www.murga-linux.com/puppy/viewtopic.php?t=31689

if they got vizualisation-plugins, i don't know.

cheers
aragon

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#10 Post by ttuuxxx »

disciple wrote:Oh yeah - presumably you checked they were using the same output driver settings as well?

From memory I think Mplayer uses similar resources to VLC. But I think it has a better chance of getting into Puppy because it isn't absolutely HUGE when you manage to compile it with shared ffmpeg. In fact it isn't much bigger than Xine-lib + Gxine. Mplayer's main weaknesses are that the gui isn't a focus, and audio CD and DVDnav support aren't great. It has a truly superior browser plugin though.
I wonder if Pmusic can play CDs...

BTW
Those who have been following the Dingo saga will know that it has been difficult to find a media player that is truly satisfactory. Alpha7 has Xine-ui, however I am not at all happy with it. Today I have been playing with Gxine, and running on the 2.6.21.7 kernel it runs ok. Regarding the full-screen problem, as long as you remember to maximise the window first, then it goes into full-screen (has anyone told the developers about that?). I don't know why the kernel would make any difference, and I can't recall what the problems were but I think running on the 2.6.23.x and 2.6.24.x kernels Gxine has some extra problems. But, for the 2.6.21.7 kernel it's fine.
It doesn't sound to me like Gxine beat Xine-ui because of size. I don't think Barry is that obsessed with size that a few hundred KB would drive such a big decision anyway :)
There have been numerous error complaints about the latest VLC 9.0,
I could compile 8.6h fine, The last one I did compile/release was 8.6h it was 10MB pet including 5 MB wxgtk now if I recompile it say using QT, I could bring it down to around 5.5MB pet, I actually did compile vlc 9.0 with QT4 and it was 5.5 but the dvd wouldn't play properly, But xvid, divx,mp3's, and other did work fine, I'll look at recompiling 8.6h in the near future, Just kind of busy at the moment with Firefox
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#11 Post by magerlab »

please try out audacious also and maybe alsaplayer

what i ususually do is open music folder in rox then select all files and open with madplay( just add madplay to open with...) or ogg123 and have music in background while reading a book on eee pc

maybe if we can have a simple gui frontend for madplay it woulbe nice.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

Actually, VLC IS looking pretty good. Apparently it has midi and CD-text and some VCD menu support now. What are its browser plugin and its playlist like now?
Are you compiling VLC with shared ffmpeg to get it that small Ttuuxxx?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#13 Post by clarf »

disciple wrote: From memory I think Mplayer uses similar resources to VLC. But I think it has a better chance of getting into Puppy because it isn't absolutely HUGE when you manage to compile it with shared ffmpeg. In fact it isn't much bigger than Xine-lib + Gxine. Mplayer's main weaknesses are that the gui isn't a focus, and audio CD and DVDnav support aren't great. It has a truly superior browser plugin though.
Mplayer have some very good front ends that could be incorporated to a pet, my favorite is Smplayer it´s just fantastic, fast, bug free, great GUI, easy integration with mplayer, etc.

Did i mentioned that i was one of the most voted Open Source projects in Sourceforge 2008 Community Choice Award, in the category: "Best Project for Multimedia" http://ir.corp.sourceforge.com/phoenix. ... highlight=, The winer was VLC...

User avatar
nubc
Posts: 2062
Joined: Tue 23 Jan 2007, 18:41
Location: USA

#14 Post by nubc »

Yes to Xine...No to MPlayer. Xine will play on low end computers, MPlayer needs at least 500 or 600 MHz. Xine has a better, easier to use gui. Generally, Xine does more, has more options.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#15 Post by playdayz »

@disciple, VLC looks good to me too (the picture is 0.9.2). First, there is the very low cpu usage, half of xine's and one-quarter of gxine's in my measurements. Also, it is under active development. Third, it looks good. And it could play everything if it was properly setup (supposedly). If a few people could collaborate on building and testing maybe it could be an item of distinction for puppy. Imho a project like that needs a group of developers and testers to catch everything and make it right. I noticed that ttuuxx has already been in contact with plinej about compiling ffmpeg. I would be happy to test.

Image

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#16 Post by disciple »

I think if you need 500 or 600 MHz for Mplayer but not for Xine then there is something wrong with your setup.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#17 Post by Béèm »

There is also MU's wxMusik.
Not the sexiest interface, but I use it to listen to internet radio stations.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#18 Post by disciple »

Has anyone tried the Gnome-Mplayer frontend for Mplayer? It doesn't require Gnome, but it does need dbus.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

lapis
Posts: 184
Joined: Mon 02 Jun 2008, 08:21

#19 Post by lapis »

ttuuxxx wrote: VLC 9.0,
I actually did compile vlc 9.0 with QT4 and it was 5.5 but the dvd wouldn't play properly, But xvid, divx,mp3's, and other did work fine, I'll look at recompiling 8.6h in the near future, Just kind of busy at the moment with Firefox
ttuuxxx
Hi, do you still have that VLC compiled with QT around? I am having trouble playing mp4 (Mplayer is choppy and I can't get video from Gxine). I can't seem to get wxwidgets on my Puppy but I do have QT.

Thanks

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#20 Post by ttuuxxx »

lapis wrote:
ttuuxxx wrote: VLC 9.0,
I actually did compile vlc 9.0 with QT4 and it was 5.5 but the dvd wouldn't play properly, But xvid, divx,mp3's, and other did work fine, I'll look at recompiling 8.6h in the near future, Just kind of busy at the moment with Firefox
ttuuxxx
Hi, do you still have that VLC compiled with QT around? I am having trouble playing mp4 (Mplayer is choppy and I can't get video from Gxine). I can't seem to get wxwidgets on my Puppy but I do have QT.

Thanks
Try the VLC I made with wxgtk included in the package.
It plays mp4 and videos.

http://www.puppylinux.ca/tpp/ttuuxxx/pr ... -engv5.pet

ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply