You are here: Home » Topic » no playback of musepack files

no playback of musepack files

This topic contains 14 replies, has 2 voices, and was last updated by  rpedde 10 years, 7 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1479

    goana
    Participant

    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

    #11185

    rpedde
    Participant

    @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

    #11186

    goana
    Participant

    hi 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

    #11187

    goana
    Participant

    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]

    #11188

    rpedde
    Participant

    @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.

    #11189

    goana
    Participant

    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

    #11190

    rpedde
    Participant

    @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?

    #11191

    goana
    Participant

    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

    #11192

    rpedde
    Participant

    @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?

    #11193

    goana
    Participant

    hi 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

    #11194

    rpedde
    Participant

    @goana wrote:

    hi 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

    “ipkg install mpc” should do it.

    — Ron

    #11195

    goana
    Participant

    thanks ron for your help.
    The installation worked.
    Now my soundbridge M1001 can see the mpc audio files but is still unable to play the musepack files.

    I have installed “mpc_0.12.1-1_armeb.ipk”and “libmpcdec_1.2.6-1_armeb.ipk”. In the folder /opt/bin/ of my slug the new file “mpc” is visible. Therefore I have changed the code of the mt-daapd-ssh.sh file as follows:


    MPC=/opt/bin/mpc

    mpc_file() {
    $MPC –wav –prev –gain 2 “$FILE” | $WAVSTREAMER -o $OFFSET $FORGELEN

    if ( echo $1 | grep -i “.mpc$” > /dev/null 2>&1 ); then
    mpc_file
    exit;
    fi

    The libmpcdec files are visible in the /opt/lib/ folder.

    Moreover, in the config file of firefly, I have added “.mpc” as extension and the “SSC codec-types” are “ogg,flac,alac,unkn”. I have read this in a former thread – but I am not sure, if this is right in my case.

    If anybody knows the mistake, I would be very happy.

    goana

    #11196

    rpedde
    Participant

    @goana wrote:

    Moreover, in the config file of firefly, I have added “.mpc” as extension and the “SSC codec-types” are “ogg,flac,alac,unkn”. I have read this in a former thread – but I am not sure, if this is right in my case.

    The codectype for mpc is “mpc”. Add that to your codectypes and see what that does.

    — Ron

    #11197

    goana
    Participant

    hi ron,

    I have added “mpc” to the codectypes. But the soundbridge can not play the audio. The display show “unable to play the file”. Moreover, when I additionally delete “unkn” from the codectypes, the soundbridge do not recognize the mpc files as audio file. I can see the file name but no audio symbol at the left site of the soundbridge display.

    I have also find out that the “mpc_0.12.1-1_armeb.ipk” file is a command line tool to interface MPD. I guess this is no decoder for musepack audio files, isn’t?

    Now, I am a little bit helpless how to proceed. I have looked in the package search of optware to find any mpc deocder, but nothing found.

    Any idea to play my musepack audios?

    I am very happy about any help.

    goana

    #11198

    rpedde
    Participant

    @goana wrote:

    hi ron,

    I have added “mpc” to the codectypes. But the soundbridge can not play the audio. The display show “unable to play the file”. Moreover, when I additionally delete “unkn” from the codectypes, the soundbridge do not recognize the mpc files as audio file. I can see the file name but no audio symbol at the left site of the soundbridge display.

    I have also find out that the “mpc_0.12.1-1_armeb.ipk” file is a command line tool to interface MPD. I guess this is no decoder for musepack audio files, isn’t?

    Now, I am a little bit helpless how to proceed. I have looked in the package search of optware to find any mpc deocder, but nothing found.

    Any idea to play my musepack audios?

    I am very happy about any help.

    goana

    Hrm… the issue will be finding a musepack decoder for the slug.

    Might actually be easier to find a mpc->flac converter. 🙂

    — Ron

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.