FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › General Discussion › no playback of musepack files
- This topic has 14 replies, 2 voices, and was last updated 17 years, 1 month ago by rpedde.
-
AuthorPosts
-
16/06/2007 at 7:36 PM #1479goanaParticipant
hi together,
I have a soundbridge M1001 which gets the audios from my unslung NSLU2 (V2.3R63-uNSLUng-6.8-beta) with the firefly server (nightlies svn-1549).The playback of mp3, ogg and flacs is no problem. But I can not playback of musepack (mpc) audios.
What I have to do to play also mpc at my soundbridge?Any ideas
goana
16/06/2007 at 7:44 PM #11185rpeddeParticipant@goana wrote:
hi together,
I have a soundbridge M1001 which gets the audios from my unslung NSLU2 (V2.3R63-uNSLUng-6.8-beta) with the firefly server (nightlies svn-1549).The playback of mp3, ogg and flacs is no problem. But I can not playback of musepack (mpc) audios.
What I have to do to play also mpc at my soundbridge?Any ideas
goana
You’ll have to edit the mt-daapd-ssc.sh to transcode mpc files. They will come through with a codectype of “unkn” (or “mpc” if you compile it with the –enable-musepack flag).
Beyond that, I’m not sure. I don’t even know what program decodes musepack. What you’d have to do generally is find the command line that you use to decode musepack to a .wav file to stdout, then edit the mt-daapd-ssc.sh script to run that command when it gets a musepack file. Check the file out, it should be very easy to read and understand. Just add another section just like the existing ones for flac and ogg, but for musepack instead.
— Ron
16/06/2007 at 8:47 PM #11186goanaParticipanthi ron,
thanks for the reply.
I am really no expert in these things, but how can I edit the mt-daapd-ssc.sh and where can I find the file?
goana
24/09/2007 at 1:13 PM #11187goanaParticipantI have tried to change the things in mt-daapd-ssc.sh as follows:
…..
MPPDEC=/opt/bin/mppdec
…
mpc_file() {
$MPPDEC –wav –prev –gain 2 “$FILE” | $WAVSTREAMER -o $OFFSET $FORGELEN
}
…
if ( echo $1 | grep -i “.mpc$” > /dev/null 2>&1 ); then
mpc_file
exit;
fi
….but I have no permission to save the changed file.
Moreover, the location of the file is adminoptsbinmt-daapd-ssc.sh …. and not adminusrsbinmt-daapd-ssc.sh as reported in other threads.
Maybe, this is the problem?I am pleased about any help.
goana[/code]
25/09/2007 at 4:48 AM #11188rpeddeParticipant@goana wrote:
I have tried to change the things in mt-daapd-ssc.sh as follows:
…..
MPPDEC=/opt/bin/mppdec
…
mpc_file() {
$MPPDEC –wav –prev –gain 2 “$FILE” | $WAVSTREAMER -o $OFFSET $FORGELEN
}
…
if ( echo $1 | grep -i “.mpc$” > /dev/null 2>&1 ); then
mpc_file
exit;
fi
….but I have no permission to save the changed file.
Moreover, the location of the file is adminoptsbinmt-daapd-ssc.sh …. and not adminusrsbinmt-daapd-ssc.sh as reported in other threads.
Maybe, this is the problem?I am pleased about any help.
goana[/code]
Where it is is probably right, otherwise ogg and flac work.
as far as changing the saved file, you are logged in as root when you edit, right? What program are you using to edit the file?
That looks like it should work, actually.
25/09/2007 at 7:05 AM #11189goanaParticipanthi ron,
thanks for your answer.
I have opened “mt-daapd-ssc.sh” with notepad (using my WinXP PC). I do not have logged in as root via telnet. Do I need a special program to edit the file?I would be happy about any help.
goana
26/09/2007 at 3:14 AM #11190rpeddeParticipant@goana wrote:
hi ron,
thanks for your answer.
I have opened “mt-daapd-ssc.sh” with notepad (using my WinXP PC). I do not have logged in as root via telnet. Do I need a special program to edit the file?I would be happy about any help.
goana
You’ll have to edit it with notepad, then save it someplace you can write to on the slug (the public share, maybe), then copy it from there to where it belongs while you are logged into the slug as root.
Does this make sense?
26/09/2007 at 6:40 PM #11191goanaParticipanthi ron,
I have copied the new mt-daapd-ssc.sh file to the slug as described by you. Thanks for your help, the file is in place, but the soundbridge do not playback my mpc audios. The folder of the audio is visible in the soundbridge display but no audio files are recognized.
I think the problem is that there is no mpcdec in the opt/bin folder of the slug (there, I can see oggdec, flac and so on but no mpcdec).
Do you know where I can find a suitable mpcdec file and how can I install it on my slug?Many thanks in advance for your very helpful work.
goana
27/09/2007 at 2:57 AM #11192rpeddeParticipant@goana wrote:
hi ron,
I have copied the new mt-daapd-ssc.sh file to the slug as described by you. Thanks for your help, the file is in place, but the soundbridge do not playback my mpc audios. The folder of the audio is visible in the soundbridge display but no audio files are recognized.
I think the problem is that there is no mpcdec in the opt/bin folder of the slug (there, I can see oggdec, flac and so on but no mpcdec).
Do you know where I can find a suitable mpcdec file and how can I install it on my slug?Many thanks in advance for your very helpful work.
goana
oh, sure. without that, it certainly wouldn’t work.
I’m not sure where you would get it. If it’s not part of unslung itself, then it would have to compiled for the slug, or else find someone else who has it compiled already.
Anyone?
27/09/2007 at 6:43 PM #11193goanaParticipanthi ron,
I have found the file “mpc_0.12.1-1_armeb.ipk” at http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/unstable/.
I am not sure, but can I use this one? And if yes, how can I install it?
Thanks for any help
goana
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.