Subsonic cannot play wma files

Need help? Post your questions here.

Moderator: moderators

Subsonic cannot play wma files

Postby mxgods » Tue Apr 19, 2011 1:00 pm

I'm running subsonic 4.4 on windows server 2008 x64 (which is a virtual machine running under hyper-v server 2008 r2). Everything seems to play fine except for wma files. FFMPEG gives me an error of:

Error while decoding stream #0.0
Last message repeated 1 times
[wmav2 @ 03346160]block_len_bits 6 out of range
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby GJ51 » Tue Apr 19, 2011 2:43 pm

What's your transcoding?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby mxgods » Tue Apr 19, 2011 2:45 pm

Stage 1:
ffmpeg -i %s -v 0 -f wav -

Stage 2:
lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -



It fails on stage 1
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby GJ51 » Tue Apr 19, 2011 2:53 pm

That looks correct. I've seen others have trouble with WMA's before, but I've never had trouble with mine. Do all WMA files give the same result, or do some work?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby mxgods » Tue Apr 19, 2011 2:54 pm

All wma files do. This only happened since i moved my subsonic install from an old desktop to a vm that i use to host all my web applications.
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby GJ51 » Tue Apr 19, 2011 2:57 pm

Java up-to-date?

Other users use

wmadec %s -
lame -b %b -r - -

successfully.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby GJ51 » Tue Apr 19, 2011 3:02 pm

Here are some other option that others use:

Step 1 : ffmpeg -v 0 -i %s -f mp3 -acodec libmp3
Step 2 : lame -ar 44100 -aq 0 -ac 2 -map_meta_data 0:0 -

Another one:

Step 1: wmadec -b 16 %s -
Step 2: lame -v -b %b -r - -

another claims removing the v helps

Step 1: wmadec -b 16 %s -
Step 2: lame -b %b -r - -

One step settings:

ABR:

ffmpeg -v 0 -i %s -f mp3 -acodec libmp3lame -ar 44100 -ab %bk -ac 2 -map_meta_data 0:0 -

VBR:

ffmpeg -v 0 -i %s -f mp3 -acodec libmp3lame -ar 44100 -aq 0 -ac 2 -map_meta_data 0:0 -


Not having problems myself, I have not tested these transcodings, nut others claim these settings work on their systems.

http://forum.subsonic.org/forum/viewtop ... hlight=wma
Last edited by GJ51 on Tue Apr 19, 2011 3:05 pm, edited 2 times in total.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby mxgods » Tue Apr 19, 2011 3:04 pm

Java is up to date. When i changed the decoder this is what came up in the log:

[4/19/11 11:02:28 AM EDT] INFO PlaylistInputStream admin listening to "A Beautiful Lie\1 - Attack - 30 SECONDS TO MARS.wma"
[4/19/11 11:02:28 AM EDT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\wmadec] [C:\Music\30 Seconds to Mars\A Beautiful Lie\1 - Attack - 30 SECONDS TO MARS.wma] [-]
[4/19/11 11:02:28 AM EDT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\lame] [-b] [128] [-r] [-] [-]
[4/19/11 11:02:28 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\wmadec) Opening stream failed with error code 0xc00d0bbd
[4/19/11 11:02:29 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Assuming raw pcm input file
[4/19/11 11:02:29 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) LAME 3.98.4 32bits (http://www.mp3dev.org/)
[4/19/11 11:02:29 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), 3DNow! (ASM used), SSE (ASM used), SSE2
[4/19/11 11:02:29 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
[4/19/11 11:02:29 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Encoding to
[4/19/11 11:02:29 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (11x) 128 kbps qval=3
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby mxgods » Tue Apr 19, 2011 3:09 pm

Forgot to say, when i tried the first suggestion, it worked up untill the last line:

[4/19/11 11:08:11 AM EDT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\ffmpeg) At least one output file must be specified
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby GJ51 » Tue Apr 19, 2011 3:10 pm

Here's what Sindre posted last year:

Sounds like that ffmpeg doesn't support wma lossless. If it worked with your previous setup you can change the transcoding settings for wma as follows:

Go to Settings > Transcoding, and specify:
Step 1: wmadec %s
Step 2: lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 -x - -

http://forum.subsonic.org/forum/viewtop ... hlight=wma

The OP got it working using:

Step 1: wmadec %s
Step 2: lame -v -V 0 -b 96 -B 320 -x - -
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby mxgods » Tue Apr 19, 2011 3:23 pm

Neither worked. The second gave me an error message of invalid file type.
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby mxgods » Tue Apr 19, 2011 3:26 pm

I'm guessing it is a problem with windows media player. Since the vm does not have a sound card, maybe its causing issues with Windows Media Player.
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby mxgods » Tue Apr 19, 2011 3:28 pm

I looked up the error message I was getting: error code 0xc00d0bbd. It said there was a problem with DRM (assuming its because the audio was ripped with windows media player.)
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Postby GJ51 » Tue Apr 19, 2011 3:29 pm

One idea, can you rename one of the files you're having trouble with to test.wma and place it in a directory that is very simple in it's structrure, e.g. C:\WMAtests\tests\test.wma

Reading the log output, I'm wondering if you may be having issues parsing the filename.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby mxgods » Tue Apr 19, 2011 3:41 pm

Still nothing. If i try to play the file on the server it fails due to not having an audio card. These files played when i had subsonic installed on a vista physical computer.
mxgods
 
Posts: 10
Joined: Tue Apr 19, 2011 12:55 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 41 guests