Bug? "Error writing mp3 output"

Need help? Post your questions here.

Moderator: moderators

Bug? "Error writing mp3 output"

Postby amiantos » Wed May 12, 2010 4:35 pm

4.0beta2 here... Trying to listen to an album I listened to previously through Subair and the web client, but now it won't play any of the tracks. The log shows this:

[2010-05-12 09:29:10,270] INFO PlaylistInputStream - admin listening to "Treats\01 Tell 'Em.m4a"
[2010-05-12 09:29:10,278] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\faad] [-w] [C:\Users\Brad\Music\Sleigh Bells\Treats\01 Tell 'Em.m4a]
[2010-05-12 09:29:10,281] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\lame] [-b] [128] [-x] [-] [-]
[2010-05-12 09:29:10,299] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Assuming raw pcm input file : Forcing byte-swapping
[2010-05-12 09:29:10,299] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) LAME version 3.96.1 (http://lame.sourceforge.net/)
[2010-05-12 09:29:10,299] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), SSE, SSE2
[2010-05-12 09:29:10,299] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 17249 Hz - 17782 Hz
[2010-05-12 09:29:10,299] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Encoding <stdin> to <stdout>
[2010-05-12 09:29:10,299] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=3
[2010-05-12 09:29:10,775] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Error writing mp3 output


My theory is that there's a cache of transcoded songs somewhere and it doesn't see it and can't overwrite it or something. I can't locate the cached songs to test it.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby sindre_mehus » Wed May 12, 2010 4:39 pm

Can you please see if c:/subsonic/transcode/faad.exe exists? If not, please upgrade to 4.0 and you should be fine.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby amiantos » Wed May 12, 2010 4:43 pm

sindre_mehus wrote:Can you please see if c:/subsonic/transcode/faad.exe exists? If not, please upgrade to 4.0 and you should be fine.


I'm on 4.0beta2. faad.exe exists. Transcoding this/these files has worked before, but not now.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby amiantos » Wed May 12, 2010 4:51 pm

sindre_mehus wrote:Can you please see if c:/subsonic/transcode/faad.exe exists? If not, please upgrade to 4.0 and you should be fine.


Oh, I see! 4.0 is out. I'll upgrade and let you know what happens.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby sindre_mehus » Wed May 12, 2010 4:54 pm

Good, thanks!
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby amiantos » Wed May 12, 2010 4:55 pm

sindre_mehus wrote:Good, thanks!


Same error on 4.0. It's not happening just on this album either, but all M4A tracks now. Hmm.

What can I try next?
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby sindre_mehus » Wed May 12, 2010 5:01 pm

Could you please email me one of your m4a files?

Thanks!
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby amiantos » Wed May 12, 2010 5:06 pm

sindre_mehus wrote:Could you please email me one of your m4a files?

Thanks!


Sent!
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby amiantos » Wed May 12, 2010 5:15 pm

I rebooted the whole server, no change. Same exact error in the log.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby amiantos » Wed May 12, 2010 5:30 pm

When trying to save new cover art, I'm getting:

java.lang.Exception: Permission denied: C:\Users\Brad\Music\Archie Bronson Outfit\Fur\cover.jpg

I have a feeling there is some sort of permissions issue going on. I'll try fiddling with my windows permissions.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby amiantos » Wed May 12, 2010 5:41 pm

Yeah nothing I can do will get

java.lang.Exception: Permission denied: C:\Users\Brad\Music\Archie Bronson Outfit\Fur\cover.jpg


to stop coming up. Don't know if these two issues are related or what.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby amiantos » Wed May 12, 2010 5:42 pm

The plot thickens!

The .m4a file I sent you decodes fine on other user accounts, just not mine ("admin").

EDIT: The music transcodes fine when playing with SubAir but when using the web player it does not work.
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am

Postby sindre_mehus » Wed May 12, 2010 6:02 pm

Ah, I think I found the error. It's in the web player code, not on the server side. I'll try to come up with a bugfix asap.

An excellent work-around is to simply disable the m4a>mp3 transcoding altogether, as Subsonic now supports native streaming of m4a :-)

Oh, and the cover art error is unrelated - I'm working on a fix for that too.

Thanks for helping out!
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby amiantos » Wed May 12, 2010 6:07 pm

sindre_mehus wrote:Thanks for helping out!


Great, you'll see a lot of me around!
http://staires.org
amiantos
 
Posts: 30
Joined: Wed May 05, 2010 1:50 am


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests