WMA Lossless to mp3 - problem with recent Subsonic release

Need help? Post your questions here.

Moderator: moderators

WMA Lossless to mp3 - problem with recent Subsonic release

Postby Edward Lowy » Sun Jan 30, 2011 11:41 am

From 4.3 I think - cannot transcode WMA Lossless to mp3 when downloading to an Android device.

This was working fine up to and including 4.2 (I think), but recent releases, something has changed.

Log extract this morning :

Starting transcoder: [c:\subsonic\transcode\wmadec] [-b] [16] [C:\Users\Daddy Lowy\Music\Adele\21\03 Turning Tables.wma] [-]
[1/30/11 11:38:42 AM GMT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\lame] [-v] [-b] [2147483647] [-r] [-]
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Assuming raw pcm input file
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) LAME 3.98.4 32bits (http://www.mp3dev.org/)
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), SSE (ASM used), SSE2
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 17249 Hz - 17782 Hz
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Encoding to
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=4)
[1/30/11 11:38:43 AM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) INTERNAL ERROR IN VBR NEW CODE, please send bug report

help!

Thanks

Edward Lowy
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

Postby Edward Lowy » Fri Feb 11, 2011 8:42 pm

Bump!

Ok, I'll just chat to myself over in the corner here.

Have returned to Subsonic 4.2 and by using the following settings from another thread can now once again transcode WMA lossless to my HTC Desire running Froyo.

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

I have been unsuccessful with any settings in Version 4.4 to get WMA Lossless zapped to my phone.

Would appreciate any guidance so that I can get back to using the latest version of Subsonic.

Thanks in anticipation

Edward
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

Postby GJ51 » Fri Feb 11, 2011 9:34 pm

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 Edward Lowy » Fri Feb 11, 2011 11:43 pm

Thanks for the reply Gary - so forgive me but does that mean that the WMA Lossless to MP3 transcoder is :

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 -

?

Why I wonder are the correct transcoding details not built into Subsonic?

Kind regards

Edward
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

Postby GJ51 » Sat Feb 12, 2011 1:38 am

Edward Lowy wrote:Thanks for the reply Gary - so forgive me but does that mean that the WMA Lossless to MP3 transcoder is :

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 -

?

Why I wonder are the correct transcoding details not built into Subsonic?

Kind regards

Edward


You have two options using Stozher's settings, both are one step transcoding.


Honestly, don't ask me the difference, Stozher's the expert in this department, but both should work. I'm just guessing, but I think you might want the VBR.

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 -
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 Edward Lowy » Sat Feb 12, 2011 12:39 pm

Thank you for your help Gary, will reinstall 4.4 and will report back

Kind regards

Edward
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

Postby Edward Lowy » Sat Feb 12, 2011 1:31 pm

Unfortunately I cannot get any of those settings to work with 4.4 transcoding WMA Lossless to Android 2.2

Help!

Works OK in 4.2 but not thereafter for me
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

Postby GJ51 » Sat Feb 12, 2011 5:58 pm

You might want to ask Stozher. He really knows this stuff way better than I do.
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 Edward Lowy » Wed Feb 16, 2011 7:08 pm

Bump bump bumpity bump!

Sindre, help!

Cannot transcode WMA Lossless on Android FroYo 2.2 (HTC Desire). Transcoding works fine on 4.2, but broken from 4.3 and upwards.

On the server, I have Squeezebox Server running - can that make any difference? have always been running SB Server, but mention it incase it is important.

Would appreciate a fix

Many thanks

Edward Lowy
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

WMA Lossless working with Subsonic 4.4

Postby citynomad » Thu Feb 24, 2011 1:43 am

I was also having problems when trying to play WMA Lossless files with default transcoding settings - it looks like ffmpeg is not capable of transcoding WMA Lossless at all.

Ironically, I was finally able to get it to work with wmadec using the settings you mentioned a few posts up (which were not working for you):

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

Are these settings still not working for you?
citynomad
 
Posts: 4
Joined: Wed Feb 16, 2011 7:58 am

Postby mjones73 » Fri Feb 25, 2011 2:00 am

Switch lame -v -b %b -r - - to lame -b %b -r - -

I had the same problem, taking out the -v flag did the trick for me.

-v is supposed to be the same as adding -V 4 for VBR, not sure why it's not working.
mjones73
 
Posts: 35
Joined: Sat Apr 24, 2010 11:08 pm

Postby Edward Lowy » Fri Feb 25, 2011 8:22 pm

mjones73 wrote:Switch lame -v -b %b -r - - to lame -b %b -r - -

I had the same problem, taking out the -v flag did the trick for me.

-v is supposed to be the same as adding -V 4 for VBR, not sure why it's not working.


Brilliant! Many thanks, that did it. So to summarise, WMA Lossless transcoding with 4.4 works for me with :

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

Kind regards

Edward
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK

Postby muiz » Tue Mar 08, 2011 9:30 am

Edward Lowy wrote:
mjones73 wrote:Switch lame -v -b %b -r - - to lame -b %b -r - -

I had the same problem, taking out the -v flag did the trick for me.

-v is supposed to be the same as adding -V 4 for VBR, not sure why it's not working.


Brilliant! Many thanks, that did it. So to summarise, WMA Lossless transcoding with 4.4 works for me with :

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

Kind regards

Edward


OMG thx !!!! finaly !! :P
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Postby ameyers » Sun Mar 13, 2011 11:42 pm

I've also been successfully streaming WMA lossless to Android devices (and Mac OS X) using the following settings:

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

I'm guessing the extra -b 16 to wmadec above just forces it to output 16-bit PCM audio? In any case it doesn't appear to be strictly necessary at least if you've used WMP to rip to WMA lossless.

Any reason these shouldn't be the default settings for WMA->MP3 transcoding for Windows? I don't believe that wmadec is available for other platforms but non-Windows users are extremely unlikely to be using WMA lossless anyway. The wmadec decoder ships with subsonic on Windows as well so it seems that these settings should be the default since they cover all WMA codecs.
ameyers
 
Posts: 11
Joined: Sun Mar 13, 2011 11:27 pm

Postby Edward Lowy » Tue Mar 15, 2011 7:05 pm

ameyers wrote:I've also been successfully streaming WMA lossless to Android devices (and Mac OS X) using the following settings:

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

I'm guessing the extra -b 16 to wmadec above just forces it to output 16-bit PCM audio? In any case it doesn't appear to be strictly necessary at least if you've used WMP to rip to WMA lossless.

Any reason these shouldn't be the default settings for WMA->MP3 transcoding for Windows? I don't believe that wmadec is available for other platforms but non-Windows users are extremely unlikely to be using WMA lossless anyway. The wmadec decoder ships with subsonic on Windows as well so it seems that these settings should be the default since they cover all WMA codecs.


I quite agree - why doesn't Subsonic ship with working WMA transcoding settings?
Edward Lowy
 
Posts: 8
Joined: Sat Nov 20, 2010 10:33 am
Location: Surrey, UK


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests