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 Wed 20 Nov 2019, 00:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
ffplay.sh, audio player based on ffplay
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
musher0

Joined: 04 Jan 2009
Posts: 14482
Location: Gatineau (Qc), Canada

PostPosted: Fri 22 Feb 2019, 00:25    Post subject:  ffplay.sh, audio player based on ffplay
Subject description: Plays about 20 of the most popular music formats
 

Hello all.

As the title says. It consists of a wrapper script that calls ffplay to play an audio file from
right-click from a ROX window.

I thought I'd bring out some of the "music power" hidden in Puppy. Capture and tree
attached. The tree lists the music formats this script will play.

I believe I have kept about 20 of the major ones. For other music formats you may know
and perhaps prefer, simply copy as a symlink [cp -P] file run-ffplay.sh to the sub-
directory of your choice in OpenWith.

The sound is quite good, IMO, since ffplay uses the ffmpeg libraries. It does not offer
much visual appeal. But that's the way music should be heard, isn't it: with our ears.

Enjoy.
ffplay.sh-01.pet
Description 
pet

 Download 
Filename  ffplay.sh-01.pet 
Filesize  1.22 KB 
Downloaded  129 Time(s) 
ffplay.sh-01.tree.zip
Description 
zip

 Download 
Filename  ffplay.sh-01.tree.zip 
Filesize  476 Bytes 
Downloaded  66 Time(s) 
ffplay.sh.jpg
 Description   
 Filesize   76.42 KB
 Viewed   226 Time(s)

ffplay.sh.jpg


_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Yogi

Joined: 19 Aug 2005
Posts: 207

PostPosted: Fri 22 Feb 2019, 00:51    Post subject:  

Always looking for a small audio player. However, getting a "failed to install" error. ffplay.sh-01.pet seems to be empty.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14482
Location: Gatineau (Qc), Canada

PostPosted: Fri 22 Feb 2019, 00:58    Post subject:  

Hi Yogi.

It is a small pet. But a "failed to install" message? What Puppy are you on? Some older
Pups say that when the pet is archived as an "xz" format.

Anyway, I'll redo the pet as a gzip archive, and we'll see if the error message still
pops up. Give me a couple of minutes.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14482
Location: Gatineau (Qc), Canada

PostPosted: Fri 22 Feb 2019, 01:00    Post subject:  

Here you go.
Keep me posted?
TIA.
ffplay.sh-01.pet
Description 
pet

 Download 
Filename  ffplay.sh-01.pet 
Filesize  1.35 KB 
Downloaded  128 Time(s) 

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Yogi

Joined: 19 Aug 2005
Posts: 207

PostPosted: Fri 22 Feb 2019, 01:37    Post subject:  

musher0,

I'm using Quirky 1.1. Yeah, I know, it's old but works for me. Your updated pet installed fine into /opt/local/bin. When i right clicked on an mp3 file and tried to open with "run-ffplay.sh", nothing happens. So I went into /opt/local/bin and opened a terminal and this is the result:

# lance-ffplay.sh
bash: lance-ffplay.sh: command not found

# ffplay.sh
bash: ffplay.sh: command not found

# run-ffplay.sh
bash: run-ffplay.sh: command not found

What else can I try?
Back to top
View user's profile Send private message 
Yogi

Joined: 19 Aug 2005
Posts: 207

PostPosted: Fri 22 Feb 2019, 04:57    Post subject:  

musher0,

Upon examining ffplay.sh, I noticed that it's calls /usr/bin/ffplay. Well, turns out ffplay is not installed in Quirky 1.1. Not installed in Tahr Puppy 6.0.5, either.

As a side note, if you're looking for a small audio player, you might try Herrie. It plays mp3 files and streams internet radio. Only 32K size and I've never had to install extra files to get it to run.

http://www.murga-linux.com/puppy/viewtopic.php?search_id=629088807&t=31220&sid=3c1a0185c6a9c9ff51bfb2d0e9becb16
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14482
Location: Gatineau (Qc), Canada

PostPosted: Fri 22 Feb 2019, 07:31    Post subject:  

Hi Yogi.

You don't have ffplay, but maybe your old Quirky has avplay? If it does, maybe you can
do a symlink, like so:
Code:
ln -s avplay ffplay
1
It's been a little while since I've used avplay, but I think the only difference between the
two as players is that avplay does not require the " -autoexit " parameter at the end of
the command line (in script ffplay.sh). Maybe try that.

IHTH.
~~~~~~~~~
1 -- Or change ffplay to avplay in the script, hehe.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Yogi

Joined: 19 Aug 2005
Posts: 207

PostPosted: Fri 22 Feb 2019, 12:48    Post subject:  

Nope, don't have avplay either. Oh well, no big deal. But do give Herrie a try.

Thanks
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14482
Location: Gatineau (Qc), Canada

PostPosted: Fri 22 Feb 2019, 15:27    Post subject:  

Yogi wrote:
Nope, don't have avplay either. Oh well, no big deal. But do give Herrie a try.

Thanks

Hi Yogi.

Thanks for the tip.

I just downloaded the source for Herrie. I guess it's time to compile a new exec,
aragon's thread being so old.

Speaking of small audio players, somewhere on this bazaar of a forum you will find
an mp3 player written by technosaurus, that's barely over 8 Kb! (Note to myself: I
have to find it again.)

TWYL.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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