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 Sun 18 Nov 2018, 16:59
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 5.6.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 153 of 154 [2296 Posts]   Goto page: Previous 1, 2, 3, ..., 151, 152, 153, 154 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 6558
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 5178
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5178
Location: Ontario

PostPosted: 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
View user's profile Send private message 
Dry Falls

Joined: 16 Dec 2014
Posts: 571
Location: Upper Columbia

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6558
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6558
Location: Valåmoen, Norway

PostPosted: Tue 05 Dec 2017, 15:30    Post subject:  

Version 5.6.1
See wiki

Changelog

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Dry Falls

Joined: 16 Dec 2014
Posts: 571
Location: Upper Columbia

PostPosted: 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
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3535
Location: Worcestershire, UK

PostPosted: 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
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 5178
Location: Ontario

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6558
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 3535
Location: Worcestershire, UK

PostPosted: 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...)
Screenshot.png
 Description   
 Filesize   113 KB
 Viewed   222 Time(s)

Screenshot.png


_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6558
Location: Valåmoen, Norway

PostPosted: 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?
Screenshot.jpg
 Description   
 Filesize   16.69 KB
 Viewed   186 Time(s)

Screenshot.jpg


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12324
Location: Stratford, Ontario

PostPosted: Tue 24 Jul 2018, 13:06    Post subject:  

That pink error message is coming out of pequalizer.
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6558
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 3535
Location: Worcestershire, UK

PostPosted: 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
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 153 of 154 [2296 Posts]   Goto page: Previous 1, 2, 3, ..., 151, 152, 153, 154 Next
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.4117s ][ Queries: 14 (0.2337s) ][ GZIP on ]