Page 1 of 1

Streaming MPC / musepack sv8

PostPosted: Mon Mar 15, 2010 1:10 pm
by cellulit
Just a small hint for those who want to stream new musepack / mpc files and play it over the flash player. New mpc means SV8.

1. get the mpcdec file from musepack.net
2. the transcoding line is as simple as:
Code: Select all
mpcdec %s -


Known issues:
1. the flash player won't let you fast-forward through the track.

PostPosted: Wed Apr 07, 2010 4:06 pm
by wattershed
For some reason this isn't working for me, maybe you could help with troubleshooting...

In the transcoding section, I have the following (sans quotes)...

Name: mpc > mp3
Convert from: mpc
Convert to: mp3
Step 1: "mpcdec %s -"
Step 2: "lame -b %b - -"
Default & Enabled checked, saved settings, restarted Subsonic server.

When I select the album it doesn't show anything in it, just the album cover.

Now, you're saying *new* Musepack/mpc files, does that imply that older mpc files will need the old transcoder steps? All the mpc files I have are at least a few years old. If this is the case, I'd understand the information you supplied not working, but the existing (default) settings weren't working either so I'm not really sure which direction to go here.

Any help would be appreciated.

PostPosted: Wed Apr 07, 2010 5:32 pm
by cellulit
Hey.
If you have musepack files which are older than 2 years, most probably you don't have to change anything. Just try the default settin

The change I'm proposing is for musepack files encoded with the new standard called v8 (versus the old v7). But it works and decodes both versions of files: new & old ones, so you should be able to stream any of them.

Make sure that:
1. you get mpcdec.exe (for Win) from musepack.net; it's not distributed by default.
2. the file is copied to the location where other codecs are, in win it's c:\subsonic\transcode

Let me know if it works. It does for me.

PostPosted: Wed Apr 07, 2010 9:29 pm
by wattershed
I have mpcenc.exe in c:\subsonic\transcode along with the rest of the codecs.

Here's my settings for Musepack in Subsonic:

Image

Not working with the above, any suggestions? There's nothing in the Subsonic log either.

PostPosted: Thu Apr 08, 2010 9:43 am
by cellulit
OK... I'm clueless. The difference may be version we're using. I have the latest, stable, stand-alone app for win. Yours?

My log looks like this:

Code: Select all
[4/8/10 11:45:06 AM CEST]   DEBUG   TranscodeInputStream   Starting transcoder: [c:\subsonic\transcode\mpcdec] [s:\sounds\01.mpc] [-]
[4/8/10 11:45:06 AM CEST]   DEBUG   TranscodeInputStream   Starting transcoder: [c:\subsonic\transcode\lame] [-S] [-f] [-b] [96] [-] [-]
[4/8/10 11:45:06 AM CEST]   DEBUG   InputStreamReaderThread   (c:\subsonic\transcode\lame) LAME version 3.96.1 (http://lame.sourceforge.net/)
[4/8/10 11:45:06 AM CEST]   DEBUG   InputStreamReaderThread   (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), 3DNow! (ASM used), SSE, SSE2
[4/8/10 11:45:06 AM CEST]   DEBUG   InputStreamReaderThread   (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 15115 Hz - 15648 Hz
[4/8/10 11:45:06 AM CEST]   DEBUG   InputStreamReaderThread   (c:\subsonic\transcode\lame) Encoding to
[4/8/10 11:45:06 AM CEST]   DEBUG   InputStreamReaderThread   (c:\subsonic\transcode\lame) Encoding as 44.1 kHz 96 kbps j-stereo MPEG-1 Layer III (14.7x) qval=7



PS. my step 2 is currenlty: lame -S -f -b %b - -
But it shouldn't change anything, just lame settings.

PostPosted: Thu Apr 08, 2010 9:45 am
by cellulit
Hey... I know :)
You need mpcdec.exe NOT mpcenc.exe. You need to decode exisitng musepack files.

PostPosted: Thu Apr 08, 2010 9:06 pm
by wattershed
cellulit wrote:Hey... I know :)
You need mpcdec.exe NOT mpcenc.exe. You need to decode exisitng musepack files.


I have mpcdec.exe in my transcode settings (check that screenshot above again).

The problem with the log is that since nothing shows up on the album view when I select a folder of *.mpc songs, there's nothing to show for it in the log. No errors, no recognition of files, etc. If I press "Play All" or another command to send the files in the folder of *.mpc songs, nothing gets sent to the playlist.

If I do that in a folder which has subfolders, and those subfolders are a mix of *.mpc and *.mp3 albums, only the *.mp3 songs will be added to the playlist.

From an end-user perspective it simply appears as if the *.mpc files don't exist.

As for the version, I took the "Musepack SV8 tools" from this page - http://www.musepack.net/index.php?pg=win - and placed those files in my c:\subsonic\transcode folder.

Since I'm not looking to openly discuss actions of questionable legality, I'll be vague, but I think my quickest route to a fix here might be to reacquire the files in question in mp3 format and chalk it up to one of those computer things that I can revisit at some point in the future and work around the incompatibility.

I appreciate your legwork on the matter, and would be willing to try other solutions, but it's technically not preventing me from hearing the music in these files so it's not the worst issue in the world.

PostPosted: Fri Apr 09, 2010 4:41 am
by cellulit
I've mentioned mpcdec, because you had written about mpcenc copied only.
I have mpcenc.exe in c:\subsonic\transcode


Anyway - did you add mpc as the extension to be scanned (Settings -> General)?

PostPosted: Fri Apr 09, 2010 4:12 pm
by wattershed
cellulit wrote:Anyway - did you add mpc as the extension to be scanned (Settings -> General)?


Goddamnit.

No.

My apologies. All's good now.