Transcoded FLACs don't start playing
Posted: Thu Aug 21, 2014 3:14 am
Hi,
I'm running Subsonic 5.0.beta1 on Ubuntu 14.04 on an ARM-based machine (Odroid U3). Subsonic worked fine on Ubuntu 13.10 with ffmpeg but has had the following problem since the upgrade to 14.04 and avconv.
The problem is that FLAC files, which are set to transcode to MP3 using Ubuntu's avconv, don't start playing in either the web player or DSub on my Android phone and tablet. Oddly, if I drag the play position in the web player to the right (from the start of the track to somewhere in the middle) it plays from that position. So it's just when I first tell it to play the track. I can see on the server that avconv's CPU usage goes up when I hit play and then drops down again later, presumably when the transcoding is complete. But the track doesn't start playing. Only if I drag the slider does the track start playing.
MP3 tracks seem to play OK, which leads me to think the issue is with starting to stream a track after transcoding.
This was happening with Subsonic 4.9 too before I upgraded to 5.0 beta1.
In DSub for transcoded FLACs it says "Downloading - 360KB" (or some number of KB) when I hit play, then says "Buffering", but then the player just goes back to its idle state - the track never starts playing. Dragging the slider in DSub doesn't start the track playing. MP3 tracks seem to play back OK in DSub.
My avconv settings are taken from this thread: viewtopic.php?f=2&t=10655
Any ideas about what's going wrong? Is this a known issue with avconv or have other people got avconv working OK?
Thanks!
I'm running Subsonic 5.0.beta1 on Ubuntu 14.04 on an ARM-based machine (Odroid U3). Subsonic worked fine on Ubuntu 13.10 with ffmpeg but has had the following problem since the upgrade to 14.04 and avconv.
The problem is that FLAC files, which are set to transcode to MP3 using Ubuntu's avconv, don't start playing in either the web player or DSub on my Android phone and tablet. Oddly, if I drag the play position in the web player to the right (from the start of the track to somewhere in the middle) it plays from that position. So it's just when I first tell it to play the track. I can see on the server that avconv's CPU usage goes up when I hit play and then drops down again later, presumably when the transcoding is complete. But the track doesn't start playing. Only if I drag the slider does the track start playing.
MP3 tracks seem to play OK, which leads me to think the issue is with starting to stream a track after transcoding.
This was happening with Subsonic 4.9 too before I upgraded to 5.0 beta1.
In DSub for transcoded FLACs it says "Downloading - 360KB" (or some number of KB) when I hit play, then says "Buffering", but then the player just goes back to its idle state - the track never starts playing. Dragging the slider in DSub doesn't start the track playing. MP3 tracks seem to play back OK in DSub.
My avconv settings are taken from this thread: viewtopic.php?f=2&t=10655
Any ideas about what's going wrong? Is this a known issue with avconv or have other people got avconv working OK?
Thanks!