ffplay.sh, audio player based on ffplay

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

ffplay.sh, audio player based on ffplay

#1 Post by musher0 »

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.
Attachments
ffplay.sh-01.pet
(1.22 KiB) Downloaded 192 times
ffplay.sh-01.tree.zip
(476 Bytes) Downloaded 120 times
ffplay.sh.jpg
(76.42 KiB) Downloaded 258 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#2 Post by Yogi »

Always looking for a small audio player. However, getting a "failed to install" error. ffplay.sh-01.pet seems to be empty.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Here you go.
Keep me posted?
TIA.
Attachments
ffplay.sh-01.pet
(1.35 KiB) Downloaded 176 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#5 Post by Yogi »

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?

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#6 Post by Yogi »

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/viewto ... d0e9becb16

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

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: Select all

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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#8 Post by Yogi »

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

Thanks

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply