Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Fri 24 Nov 2017, 19:33 Post subject:
|
|
Thank you peebee
-use_buggy_lpc 1 keeps errors away, but still won't play the test file properly.
What works is either to tell aplay which format to use: Code: | ffmpeg -i "/root/test.flac" -f au - | aplay -f cdr | or switch output format from Sun audio (au) to Waveform audio format (wav): Code: | ffmpeg -i "/root/test.flac" -f wav - | aplay |
I'm not sure what would be the best solution (if any difference). I need to test this some time to see if I get any issues... Input are welcome
_________________ Stardust resources
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5395 Location: Ontario
|
Posted: Sat 25 Nov 2017, 12:40 Post subject:
|
|
Quote: | I need to test this some time to see if I get any issues... Input are welcome |
When I was working with image viewer ( pho ), I found that when a good file is opened
the error file is zero sized but exists. So I used that to give a warning message to the user.
I wonder what the error file is when a bad file is opened by ffmpeg
Code: | viewer(){
cd "$FOLDER"
[ $PNG = true ] && pho -r *.[Pp][Nn][Gg] 2>/tmp/pho_error
[ $JPEG = true ] && pho -r *.[Jj]*[Gg] 2>/tmp/pho_error
[ $GIF = true ] && pho -r *.[Gg][Ii][Ff] 2>/tmp/pho_error
[ $SVG = true ] && pho -r *.[Ss][Vv][Gg] 2>/tmp/pho_error
# check if error message is zero sized
if [ -s /tmp/pho_error ]; then
Xdialog --title "$(gettext 'Help')" --ok-label "$(gettext 'OK')" --backtitle "\n$TEXTSTRING2 \n " --msgbox "" 0 0
else
exit 0
fi
}
export -f viewer
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5395 Location: Ontario
|
Posted: Mon 27 Nov 2017, 17:25 Post subject:
|
|
I checked out the file with fatdog64 710
and the error is 'no file or folder found',
whereas if a good FLAC file is played the message will say 'playing... '
I was able to open the bad FLAC file with an old version of audacity that I am using and it played properly.
____________________________________________________
|
Back to top
|
|
 |
Dry Falls
Joined: 16 Dec 2014 Posts: 596 Location: Upper Columbia
|
Posted: Mon 27 Nov 2017, 17:42 Post subject:
|
|
zigbert wrote: | Thank you peebee
-use_buggy_lpc 1 keeps errors away, but still won't play the test file properly.
What works is either to tell aplay which format to use: Code: | ffmpeg -i "/root/test.flac" -f au - | aplay -f cdr | or switch output format from Sun audio (au) to Waveform audio format (wav): Code: | ffmpeg -i "/root/test.flac" -f wav - | aplay |
I'm not sure what would be the best solution (if any difference). I need to test this some time to see if I get any issues... Input are welcome |
Hi Zigbert.
what worked in JL64-706 is the first. changing to Wavform produces noise.
using ffmpeg 3.4. Pmusic plays everything in JL64-704 but fails in 706 (pulse, alsa, gcc, glibc upgrade).
Not a problem with ffmpeg as ffplay properly plays test.flac. pmusic produces static noise with everything. aplay by itself also produces noise...only worse.
every other media player works on my box, including exaile (although it segfaults on playing streams from the net).
df
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Thu 30 Nov 2017, 14:46 Post subject:
|
|
Thank you guys for the feedback!
I have taken it one step further to avoid any conflict in the future...
... define the format to be a plain pcm little endian for both input and output Code: | ffmpeg -i "/test.flac" -f s16le -acodec pcm_s16le -ar 44100 -ac 2 - | aplay -f S16_LE -c2 -r44100 |
The /root/.pmusic/tmp/exec looks like below, and works for the test file. Code: | #!/bin/sh
export LC_ALL=C
ffmpeg -i "/root/04. My Great-Grandmother Lived In The Mountains.flac" -ss 0 -af "volume=2.8dB" -f s16le -acodec pcm_s16le -ar 44100 -ac 2 - 2>> /root/.pmusic/tmp/ffmpeg_output | aplay -f S16_LE -c2 -r44100 2> /root/.pmusic/tmp/aplay_error |
I have to test some more before uploading a new version
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Tue 05 Dec 2017, 15:30 Post subject:
|
|
Version 5.6.1
See wiki
Changelog
_________________ Stardust resources
|
Back to top
|
|
 |
Dry Falls
Joined: 16 Dec 2014 Posts: 596 Location: Upper Columbia
|
Posted: Wed 06 Dec 2017, 15:31 Post subject:
|
|
Quote: | Version 5.6.1
See wiki |
Great! This works out of the box. Better if I bypass the pinstall script altogether. Doesn't seem to integrate fully with pulse audio but does access it's aplay plugin.
Thanks zigbert,
df
|
Back to top
|
|
 |
peebee

Joined: 21 Sep 2008 Posts: 4094 Location: Worcestershire, UK
|
Posted: Tue 26 Dec 2017, 06:05 Post subject:
|
|
Reports:
http://murga-linux.com/puppy/viewtopic.php?p=978189#978189
http://murga-linux.com/puppy/viewtopic.php?p=978376#978376
of problems with pause/play in pMusic when run with the latest version of libasound2 (version 1.1.3-5) in recent upup/dpups (ArtfulPup and Dpup-Stretch).
Error message is:
aplay: xrun:1624: read/write error, state = RUNNING
_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5395 Location: Ontario
|
Posted: Sat 10 Feb 2018, 15:53 Post subject:
|
|
Note to Zigbert ...
Have you ever run pmusic over SSH connection (no GUI)?
I have been testing with raspberry pi2 computer...
I found that pmusic works in SSH terminal when I want to play a single music file.
pmusic -B /path/to/Song
....but it won't work with a playlist
pmusic -B /path/to/Playlist
Here's a picture to show my setup with a headless Raspberry pi2
http://murga-linux.com/puppy/viewtopic.php?p=982670#982670
_______________________________________
omxplayer can apparently use a playlist over SSH
I will test that
https://www.raspberrypi.org/forums/viewtopic.php?t=26277
_______________________________________________
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Fri 16 Feb 2018, 14:00 Post subject:
|
|
don570
I have no experience with ssh, so please add more info if you get some. I'll add it to the buglist
Thank you
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
peebee

Joined: 21 Sep 2008 Posts: 4094 Location: Worcestershire, UK
|
Posted: Sun 22 Jul 2018, 12:30 Post subject:
|
|
Playing an audio cd under upupbb-18.05+9 gives the attached error....but the cd plays (once at least, maybe not a 2nd time...)
Description |
|
Filesize |
113 KB |
Viewed |
335 Time(s) |

|
_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Tue 24 Jul 2018, 12:50 Post subject:
|
|
@peebee
The pink message is unknown to me, and is not produced by pMusic.
... But it seems like pMusic is not grabbing cddb info from the web.
- Are you connected?
- Are you playing an rare disc?
- Is libcddb installed?
Description |
|
Filesize |
16.69 KB |
Viewed |
300 Time(s) |

|
_________________ Stardust resources
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12807 Location: Stratford, Ontario
|
Posted: Tue 24 Jul 2018, 13:06 Post subject:
|
|
That pink error message is coming out of pequalizer.
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6608 Location: Valåmoen, Norway
|
Posted: Wed 25 Jul 2018, 07:39 Post subject:
|
|
I am now running latest BionicPup (very satisfying!), and I see that libcddb is not there...
_________________ Stardust resources
|
Back to top
|
|
 |
peebee

Joined: 21 Sep 2008 Posts: 4094 Location: Worcestershire, UK
|
Posted: Wed 25 Jul 2018, 11:29 Post subject:
|
|
Pink error message is fixed by the update to:
/usr/local/pup_event/frontend_change
provided as an sfs at:
https://github.com/puppylinux-woof-CE/woof-CE/issues/1228
libcddb2 is part of the upupbb-18.05 build....
so NOT a pmusic problem - sorry to have reported incorrectly.
_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
|
Back to top
|
|
 |
|