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 Fri 18 Apr 2014, 09:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 4.2.8
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 120 [1793 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 118, 119, 120 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 16 Jul 2008, 10:02    Post subject:  

Could you also add the shorten format (.shn)? ffmpeg supports that format and it works from the cli for me.
Back to top
View user's profile Send private message 
dogone


Joined: 21 Apr 2008
Posts: 202
Location: Arizona, USA

PostPosted: Wed 16 Jul 2008, 10:13    Post subject: FLAC support, please  

Zigbert, I have 54GB of FLAC files awaiting Pmusic. Please pursue FLAC compatibility. Thanks!
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Wed 16 Jul 2008, 10:34    Post subject:  

plinej wrote:
I didn't have any delay on my system with ffmpeg

My Puppy computer is a Pentium2-350. Modern computers don't reveal such differences.
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Wed 16 Jul 2008, 11:05    Post subject:  

Ok guys, I just let Pmusic accept *.shn/*.flac/*.ape. lets see what happens Wink

I do intend to use ffmpeg for all formats, since this gives a VERY simple code. Pmusic use ffmpeg both for songinfo, and playback. Using other libs and cli-players will make it much more complex.

Pmusic may not suit everyone, but hopefully many puppy-users get satisfied, and doesn't need to install a bigger player. After all, Pmusic is a simple bash-script of 37 kb, and will never compete with the 'big guys' such as amarok.

Sigmund

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

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 16 Jul 2008, 21:07    Post subject:  

Good, looking forward to 0.1.4
Back to top
View user's profile Send private message 
peppyy


Joined: 27 Jun 2005
Posts: 429
Location: VT USA

PostPosted: Thu 17 Jul 2008, 03:33    Post subject:  

I created a couple lists with xmms to compare.
The xmms generated .pls file looks like this.
Code:
[playlist]
NumberOfEntries=3
File1=/root/Shared/shawn phillips - woman.mp3
File2=///root/Shared/Shawn Phillips - Moonshine.mp3
File3=///root/Shared/Shawn Phillips - Keep On.mp3


xmms M3u file looks like this.

Code:
#EXTM3U
#EXTINF:292,Shawn Phillips - Woman
/root/Shared/shawn phillips - woman.mp3
#EXTINF:283,Shawn Phillips - Moonshine
///root/Shared/Shawn Phillips - Moonshine.mp3
#EXTINF:201,Shawn Phillips - Keep On
///root/Shared/Shawn Phillips - Keep On.mp3


I am guessing part of it has to do with the /// which I assume means local file?

Pmusic M3u files are much simpler like this.

Code:
/root/Shared/3 Doors Down - Here Without You.mp3
/root/Shared/Cat Stevens - Boy With A Moon & Star On His Head.mp3
/root/Shared/Five for Fighting - 100 Years.mp3


VLC created M3u looks like this.
Code:

#EXTM3U
#EXTINF:0,Shawn Phillips - Keep On
/root/Shared/Shawn Phillips - Keep On.mp3
#EXTINF:283,Shawn Phillips - Moonshine
/root/Shared/Shawn Phillips - Moonshine.mp3
#EXTINF:292,Shawn Phillips - Woman
/root/Shared/shawn phillips - woman.mp3


Which seems to show even different links.

Gxine uses the one you have listed below.

I hope this is helpful Smile

zigbert wrote:
peppyy
I'm looking right now at the pls-support. I thought that gxine used pls, but that format looked as something else. My playlist file looks like this:


Code:
<ASX VERSION="3.0">
  <SETTINGS REPEAT="false" RANDOM="false"/>
  <ENTRY>
    <TITLE default="y">TNT - Nothern lights</TITLE>
    <REF HREF="file:///root/TNT%20-%20Nothern%20lights.mp3"/>
  </ENTRY>
  <ENTRY>
    <TITLE default="y">Whitesnake - Here I go again</TITLE>
    <REF HREF="file:///root/Whitesnake%20-%20Here%20I%20go%20again.mp3"/>
  </ENTRY>
</ASX>




Do you know anything about this?
What program do you use to make pls-file?
What playlist format are common? I have only used m3u.

Sigmund

_________________
Questions? Search Puppy Linux Answers with Google
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
zigbert


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

PostPosted: Mon 21 Jul 2008, 05:40    Post subject:  

Version 0.1.4
with experimental support of *.ape / *.flac / *.shn / *.pls

See main post.

Because of holiday Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy I will be mostly OFF the forum in some time. Happy days to you too.

Sigmund

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


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

PostPosted: Mon 04 Aug 2008, 06:42    Post subject:  

Version 0.1.5
See main post

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


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

PostPosted: Sun 10 Aug 2008, 07:49    Post subject:  

Version 0.2.0
See main post

Changelog 0.2.0
- Theme support.
- Pmusic runs better on older hardware:
- New option: Higher cpu-priority to avoid stutter (nice -18 ).
- The progress-bar-function is set to use lesser cpu (nice +18 ).

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


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Tue 19 Aug 2008, 08:12    Post subject:  

For the first time I am testing Pmusic, in 4.1alpha6. It does not work for me.

A bug (?) already reported in this thread, when pmusic is started, the following is output rapidly and endlessly:

Code:
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory


I added /usr/share/audio/2barks.au to the playlist, highlighted it, clicked the Play button, no sound at all. My volume is at 100% and it plays if I click on the file in Rox.

A lot of stuff came out on the terminal:

Code:
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
/usr/local/pmusic/func_kill: line 8: kill: (7259) - No such process
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_alphabetic: No such file or directory
cat: /root/.pmusic/index_alphabetic: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
Playing Sparc Audio 'stdin' : Signed 16 bit Big Endian, Rate 8000 Hz, Mono
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
cat: cat: /root/.pmusic/tmp/pmusic-SHUFFLE: No such file or directory
/usr/local/pmusic/func: line 922: [: =: unary operator expected
/root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-REPEAT: No such file or directory
/usr/local/pmusic/func: line 936: [: =: unary operator expected
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
/usr/local/pmusic/func_kill: line 8: kill: (7601) - No such process
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory


I added /usr/share/audio/2barks.wav, also no sound.
I tested with 'aplay 2barks.au' on the commandline, plays the sound ok.
This is Pmusic 0.2.0.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
zigbert


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

PostPosted: Tue 19 Aug 2008, 17:32    Post subject:  

You're absolutely right, it doesn't bark. I made a quick check. The terminal output isn't pointing to any harm. ( I guess I have to spread around some '> /dev/null' Smile ).

I first thought this could be a trouble with mono files, since ivy.mp3 plays (from the same dir as 2barks.wav), but no; I converted it to stereo and just the same silence. Then I made a 6barks.wav and this plays fine. For some reason process is cut when sound are too short??? I have NO idea of how to fix this......

You may wonder why Pmusic runs wav-files through the ffmpeg converter, and not directly to aplay. This is because ffmpeg generates output (filename, length, bitrate...) that Pmusic uses in progress-bar, and song-info. If we should use output from aplay, the Pmusic backend had to have 2 separate parts; one for ffmpeg, and one for aplay.

.......Maybe a solution could be to measure the length of 'song'. If it is shorter than 5 sec - use only aplay (no progress-bar)........This still doesn't solve the problem with /usr/share/audio/illegal_move.ogg which aplay can't play without using ffmpeg. (and it is too short....)

feedback are welcome Wink

Sigmund

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


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

PostPosted: Wed 20 Aug 2008, 09:38    Post subject:  

I've found a solution.

If length of sound file is under 3 sec, we could skip the pipe to aplay, and make a temporary file. ffmpeg -i /usr/share/audio/illegal_move.ogg -f au -y $HOME/.pmusic/tmp/tmp.au. Now this can be played with aplay.

I'll put it on the todo-list

Sigmund

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


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

PostPosted: Wed 20 Aug 2008, 10:29    Post subject:  

Version 0.2.1
See main post

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Wed 20 Aug 2008, 10:52    Post subject:  

Just downloaded Pmusic for the first time and did run it.
I couldn't add and browse my music directory which is on a shared resource in XP
With rox I can go to that shared resource.
No support for this?

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Thu 21 Aug 2008, 02:15    Post subject:  

I don't know anything about sharing with windows Embarassed , so I need some more info before I can answer that question.
- Do you mount this shared resource?
- If so, are the shared songs detected by the 'open-file-dialog' in Pmusic?
- If not, are the shared songs detected by other apps using the gtk2-open-file-dialog?


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 5 of 120 [1793 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 118, 119, 120 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.0993s ][ Queries: 13 (0.0223s) ][ GZIP on ]