Page 1 of 1

Ogg Error [Solved]

PostPosted: Sat Oct 22, 2011 11:29 pm
by dpilgrim
I am unable to get ogg files to play, either locally or streaming over my home network. MP3 files play just fine, and my ogg files play fine via methods other than Subsonic. I'm running Subsonic 4.6 on Ubuntu 11.04. Client devices are either the same Ubuntu machine that's serving, for various Android devices on the home network. Here's the error message I get when streaming:

Prepare failed.: status=0x64 (IOException)

Any suggestions appreciated.

-Mark (a faithful, paying user)

Re: Ogg Error

PostPosted: Sun Oct 23, 2011 1:14 pm
by BKKKPewsey
dpilgrim wrote:I'm running Subsonic 4.6 on Ubuntu 11.04.

Ahh! that might be the problem. You appear to using a version which is not released yet :P

Making the assumption that the above was a typo, where does that error message appear?
If you could post the relevant part of the SS log whilst trying to play the errant ogg files that would help.
:mrgreen:

Re: Ogg Error

PostPosted: Sun Oct 23, 2011 3:13 pm
by dpilgrim
Yes, typo on my part. More specifically:
    Version: 4.5 (build 2384)
    Server: jetty-6.1.x, java 1.6.0_22, Linux (37.6 MB / 69.7 MB)

Here's the log file output from one of these ogg errors:

[2011-10-22 16:15:23,133] INFO PlaylistInputStream - mark listening to "Layla and Other Assorted Love Songs/9 - Why Does Love Got to Be So Sad?.ogg"
[2011-10-22 16:15:23,157] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/mark/Music/Derek and the Dominos/Layla and Other Assorted Love Songs/9 - Why Does Love Got to Be So Sad?.ogg] [-v] [0] [-f] [wav] [-]
[2011-10-22 16:15:23,186] WARN TranscodingService - Failed to transcode /home/mark/Music/Derek and the Dominos/Layla and Other Assorted Love Songs/9 - Why Does Love Got to Be So Sad?.ogg. Using original.
java.io.IOException: Cannot run program "/var/subsonic/transcode/ffmpeg": java.io.IOException: error=2, No such file or directory


And, now that I look at the log file, problem is obvious. After "apt-get install ffmpeg" everything works fine. It would be good if subsonic issued some kind of warning upon install about this missing dependency.