Page 114 of 117

Posted: Mon 18 Sep 2017, 06:29
by Pro
zigbert wrote:pro
Can you test the attached func_mixer?
Yes, i test it. Hot help me.

I compare files xml_pmusic_mixer its normal, but i not start gui with gtkdialog -f ./en_xml_pmusic_mixer
error

Code: Select all

(gtkdialog:21295): Gtk-CRITICAL **: IA__gtk_vscale_new_with_range: assertion 'step != 0.0' failed

(gtkdialog:21295): Gtk-CRITICAL **: IA__gtk_range_set_value: assertion 'GTK_IS_RANGE (range)' failed
**
ERROR:variables.c:189:variables_new_with_widget: assertion failed: (widget != NULL)

Posted: Mon 18 Sep 2017, 07:52
by zigbert
Pro
Strange, I can run both of your attached files - ru_xml_pmusic_mixer and en_xml_pmusic_mixer

Version of gtk/gtkdialog?

Wonder if it can have something to do with the way the decimal is defined by the LANG=ru. gtkdialog requires decimal to be set by a dot (.), while some countries uses a comma (,).

Line 149 in ru_xml_pmusic_mixer defines a <vscale> with decimals. What happens if you remove this slider (line 149-154)

Posted: Mon 18 Sep 2017, 23:02
by Pro
gtkdialog version 0.8.4 r514M


Yes with "," work good.
I test with LC_NUMERIC=C and work with "." good.

I see screenshot, may be swap "bass" and "treble" slider?
Usually Bass frequencies on the equalizers are on the left, Treble on the right.

Puppy noarch and Pmusic version . Update PPM

Posted: Wed 20 Sep 2017, 01:49
by Pelo
Puppy noarch and Pmusic version . Update PPM. Bad Idea :?:

flac issues

Posted: Tue 17 Oct 2017, 19:45
by 666philb
hi zigbert,

pmusic won't play this flac properly
https://drive.google.com/open?id=0B8-cE ... XZ5bTYxSTA
it plays the rest of the album fine but just produces harsh noise with this one.

the flac plays fine in other media players.

cheers
phil

Posted: Wed 08 Nov 2017, 15:02
by zigbert
Version 5.6.0
See wiki

Changelog

Version 5.2.60 provided with Artfulpup.

Posted: Thu 09 Nov 2017, 07:05
by hamoudoudou
Version 5.2.60 provided with Artfulpup. Sure newer version in PPM would allow people to update Pmusic in the Puppy they run, even if they don't read foreign languages
pMusic is not so easy to use, an HOW-to video would be nice .

Re: Version 5.2.60 provided with Artfulpup.

Posted: Thu 09 Nov 2017, 17:39
by zigbert
hamoudoudou wrote:pMusic is not so easy to use, an HOW-to video would be nice .
My intention is to make the usage of pMusic to be a straightforward experience.
Can you specify what you find hard to understand?
It will give me the opportunity to improve pMusic.

Posted: Tue 14 Nov 2017, 01:49
by Pro
zigbert wrote:Version 5.6.0
missing icon_quit.svg in Nad5 theme.

func_mixer on russian lang not work, missing LC_NUMERIC=C

Posted: Tue 14 Nov 2017, 14:22
by zigbert
Pro
Sorry for missing these...
... now fixed for 5.6.1

Thanks a lot
Sigmund

Posted: Wed 22 Nov 2017, 09:57
by peebee
On LxPupSc with ffmpeg-3.3.2

playing the test .flac file found here

- does not play correctly with pMusic-5.6.0 (click on .flac file)

- but does play correctly with gnome-MPlayer-1.0.9 / mplayer-1.3.0-5.3.0

@mavrothal has suggested an option

Posted: Thu 23 Nov 2017, 15:15
by zigbert
Interesting...
I failed to install ffmpeg 3 in artful, and wonder where to get your LxPupSc?

Posted: Thu 23 Nov 2017, 16:58
by OscarTalks
I don't think I have ever tried to play a .flac file before but I took a look in my DpupStretch remaster and can confirm that the test file sounds like strange noise in pMusic 5.4.2 but is OK in other players including ffplay . This Puppy has ffmpeg 3.2.4

Posted: Fri 24 Nov 2017, 14:20
by zigbert
Running ffmpeg 3.2.7 but need advice how to use the -use_buggy_lpc option. Where is it supposed to be added in the cmd?

The following command errors (plays without the -use_buggy_lpc option)

Code: Select all

ffmpeg -acodec flac -use_buggy_lpc -i "/root/test.flac" -f au - | aplay

Posted: Fri 24 Nov 2017, 19:53
by peebee
This page http://cects.com/wp-content/uploads/201 ... p_full.txt
seems to suggest it needs an integer 1 ..... maybe.....

or maybe it goes directly after ffmpeg:
ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

LxPupSc:
http://murga-linux.com/puppy/viewtopic. ... 948#972948

Posted: Fri 24 Nov 2017, 23:33
by zigbert
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: Select all

ffmpeg -i "/root/test.flac" -f au - | aplay -f cdr
or switch output format from Sun audio (au) to Waveform audio format (wav):

Code: Select all

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

Posted: Sat 25 Nov 2017, 16:40
by don570
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: Select all

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

Posted: Mon 27 Nov 2017, 21:25
by don570
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.
____________________________________________________

Posted: Mon 27 Nov 2017, 21:42
by Dry Falls
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: Select all

ffmpeg -i "/root/test.flac" -f au - | aplay -f cdr
or switch output format from Sun audio (au) to Waveform audio format (wav):

Code: Select all

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

Posted: Thu 30 Nov 2017, 18:46
by zigbert
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: Select all

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

#!/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