Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 18:07
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Simple audio player needed
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 4 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Sun 16 Jun 2013, 21:39    Post_subject: new xhippo dotpet now uploaded
Sub_title: With near full set of ROX rightclick Play in xhippo actions
 

new xhippo dotpet now uploaded. Just 31KB in size. Works in probably all current Puppies and many older ones:

http://www.murga-linux.com/puppy/viewtopic.php?t=86753

With this version if you rightclick most any mediafile in ROX window you can immediately select Play in xhippo.

You can also rightclick a directory of mediafiles and immediately select Play in xhippo.

Finally, you can select several directories in ROX, then rightclick and choose Open With... Play in xhippo

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send_private_message Visit_website 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Mon 17 Jun 2013, 01:51    Post_subject:  

mcewanw
Let me say at the outset that it's great you're improving and refining xhippo for modern Puppies.
Every eager music user I have referred to xhippo has been impressed. The initial reaction tends to be disappointment at its "sparseness" but eventually you realise that it handles the basics of music playing, and does it well, without bells and whistles.

mcewanw wrote:
perhaps you can work out why the icon isn't being displayed on the first button.

No, sorry, widgets and GTK are black magic to me. Personally the absence of icons on the buttons doesn't bother me.

A more important improvement, to my mind, is your fix for filename spaces. Spaces in filenames is a long established convention, and needs to be addressed.
A few more comments, which you might wish to consider:

I'm surprised at how well the "lame | aplay" regime works - even "pause" works. I had previously experimented with such methods, but usually as a two-stage process for quality - the compressed audio file is first decompressed and stored in ramdisk, before a separate application such as aplay (or better still, brutefir) then plays this file.
But you seem to have reserved this regime as a special case for MP3 files, via the lame executable. Why not do the same for ogg and flac (and also WMA, AAC and ALAC)?
For example, most audio files can be uncompressed with ffmpeg in a similar manner, as such -
Code:
ffmpeg -i myaudiofile -f s16le - | aplay -f cd

As you can see the syntax to pipe ffmpeg is a little messy - you must specify the "raw" audio stream format (s16le) instead of wav file format, and also aplay cannot automatically determine the correct stream format, so you must specify it with "-f cd" (16 bit little endian, 44100, stereo). This effectively "hard-wires" the audio format, so if you were to use non-standard audio files at 22.1kHz or 48kHz, for example, it wouldn't work. But the principle remains.

Also you could consider adding other dedicated decoders - such as flac for flac, and ogg123 for ogg.

I suppose your configuration choices have been made considering the pre-existing situation with modern Puppies, especially the presence of ffmpeg. Personally, I consider the original addition of ffmpeg to be a bizarre and somewhat ill-considered development for a Linux distribution which prided itself with being small!
And for what? All major video and audio codecs could already be played ... ffmpeg simply added ENCODING features - something that I think the average user will rarely want or need.
Oops, I'm ranting about Puppy development again. I will stop there.
Back to top
View user's profile Send_private_message 
mcewanw

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Mon 17 Jun 2013, 02:21    Post_subject: credit should go to goingnuts  

tempestuous wrote:

A more important improvement, to my mind, is your fix for filename spaces. Spaces in filenames is a long established convention, and needs to be addressed.
...
I suppose your configuration choices have been made considering the pre-existing situation with modern Puppies, especially the presence of ffmpeg


Thanks for your useful comments tempestuous. Yes, I based my choices on what is in current Puppy by default. I have used ffmpeg in similar (but not identical) manner to what you suggest to pipe to aplay, but for the moment I just stuck to straight mplayer because it (surprisingly) seems to provide very low CPU usage. Otherwise, yes, I would have tended to use ogg123 and so on.

One thing I should point out, as I have in the download post, the fix for filename spaces is entirely the work of goingnuts, who kindly sent me his patches almost a year ago: http://www.murga-linux.com/puppy/viewtopic.php?t=86772. So all credit should go to him for that. I'm hoping in fact that goingnuts, or someone else with sufficient gtk2 programming skills, will get back to this and find the solution to the missing RESTART icon problem and that BarryK and others will consider putting xhippo into future Puppies as a default for those of us who prefer its usage simplicity yet powerful flexibility. It's small enough anyway.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send_private_message Visit_website 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Mon 17 Jun 2013, 03:42    Post_subject:  

tempestuous wrote:
ffmpeg simply added ENCODING features
Just want to thank all of you guys who have the skills to identify the details that help keep things trim, tight and efficient.
I still believe our best defence against data intrusion is to make sure every byte does only what we intend it to do - even when we are only talking about audio reproduction.
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Mon 24 Jun 2013, 02:30    Post_subject:  

In response to the original post for this thread I highly recommend Peasy Carousel:

see here:
http://murga-linux.com/puppy/viewtopic.php?t=86654&start=22

Install the .pet, run Peasy Carousel, and drag'ndrop your music folder, (or browse to it if you prefer) - and if you tick the checkbox it will randomly play the entire collection including subfolders. Awesome.

Can also just rightclick on a folder and "open with" Carousel directly.

(and the whole Peasy / Carousel .pet is only around 3 kb. Hows that for trimming the fat...)
Back to top
View user's profile Send_private_message 
darry1966

Joined: 26 Feb 2012
Posts: 481
Location: New Zealand

PostPosted: Wed 26 Jun 2013, 21:33    Post_subject: Audacious Classic  

The Link below is for Audacious Classic which plays on Puppy 4 series upwards and is a small download.

Link: http://412collection.co.uk/multimed.php

Enjoy

darry1966 Cool Laughing
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 4 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0643s ][ Queries: 12 (0.0062s) ][ GZIP on ]