Issues Transcoding to and Streaming wav on 4.6

Need help? Post your questions here.

Moderator: moderators

Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Sat Dec 17, 2011 5:01 am

Hi All,

I just upgraded to Subsonic 4.6 from Subsonic 4.5. Under Subsonic 4.5, I was able to transcode flac files to wav and then stream these wav files via an external player (with playlist) with no issues (assuming I had the network bandwidth necessary). Under Subsonic 4.6, however, the new transcoding framework seems to have issues transcoding to wav files. The files will start to play fine, but then will cut off after 10-30 seconds and the next track will begin.

I see the issue using both VLC on Linux and on the latest version of the Andorid App. When I try to use an external player with the flac > wav transcoder enabled, each track will play for a few seconds, then cut out.

When I turn off all transcoding on the external players and stream wav or flac files directly to VLC (or wav files directly to the android app), everything works fine, so clearly the issue is being introduced during the transcoding phase. The default mp3 transcoding seems to work fine, so the issue seems to be limited to transcoding to wav (or maybe any non-mp3 type).

I see the same issues using all of the following (theoretically equivalent) transcoding parameters (large gap indicates separation between step 1 and 2 where necessary):
Code: Select all
ffmpeg -i %s -f wav -
flac -d --stdout %s
ffmpeg -i %s -f wav -     lame --decode - -
flac -d --stdout %s     lame --decode - -


The Subsonic log shows the the transcoding process getting interrupted after a few precent:
Code: Select all
...
[12/16/11 9:36:25 PM MST]   INFO   PlaylistInputStream   admin listening to "Boingo Alive/01-Winning Side-957.flac"
[12/16/11 9:36:25 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/flac] [-d] [--stdout] [/data-store/music-store/asayler/flac/O/Oingo Boingo/Boingo Alive/01-Winning Side-957.flac]
[12/16/11 9:36:25 PM MST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac)
[12/16/11 9:36:25 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/lame] [--decode] [-] [-]
[12/16/11 9:36:25 PM MST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
[12/16/11 9:36:25 PM MST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
[12/16/11 9:36:25 PM MST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) welcome to redistribute it under certain conditions. Type `flac' for details.
[12/16/11 9:36:25 PM MST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac)
[12/16/11 9:36:33 PM MST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) 01-Winning Side-957.flac: 3% complete
[12/16/11 9:37:52 PM MST]   INFO   StreamController   Got range: Range[1734306,9223372036854775807]
[12/16/11 9:37:52 PM MST]   INFO   PlaylistInputStream   asayler listening to "Thriller/Human Nature.wav"
...


Like I said, these all worked fine on 4.5. The issue is new to 4.6 and seems to be related to the new transcoding framework. Non-transcoded audio, and mp3 transcoded audio all works fine.

Any ideas or assistance would be appreciated. I love the program, but really want to be able to use it for lossless audio.

Thanks,
Andy
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Wed Dec 21, 2011 9:21 pm

A few updates:

I upgraded java on the Ubuntu 11.10 Server that I use to host Subsonic to Oracle version 1.7.0_02. Previously I was using the Ubuntu default openJDK 6:

Code: Select all
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)


However, I'm still experiencing the same issue: When transcoding to wav and trying to use an External Player with Playlist, each song will play for 5-30 seconds and then skip to the next song. I have confirmed this using VLC on Ubuntu 11.10 and using WMP on Windows XP SP3. External Players with Playlist seem to work fine when transcoding to mp3 or when not transcoding at all (i.e. streaming flac or wav natively). This worked under Subsonic 4.5

An interesting note: VLC seems to be able to "pre-determine" the erroneous cut-off length of each song. When I first load a Subsonic external player playlist into VLC, all the tracks are listed with their correct lengths (i.e. 3:36). However, as soon as I start playing a track, it's length drops to the shortened length (i.e. 0:27). It's as though the new transcoding framework is sending the wrong length when the file starts playing, causing the player to skip ahead when it hits this "shortened" length instead of playing the entire track.

As another note, is seems at least one person has this working on a Windows-hosted Subsonic install (viewtopic.php?f=2&t=8396), so the issue may be related to Linux-hosted installs.

Any ideas?
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Wed Dec 21, 2011 9:55 pm

Further update: Having just got Jukebox working, I can confirm that this issue seems to be limited to streaming (external player or Android). When using a Jukebox player, the aforementioned flac>wav transcoding seems to work and play without error. It is only when I try to stream files with these transcoding settings that I have experienced errors.
Last edited by asayler on Wed Jan 11, 2012 9:45 pm, edited 2 times in total.
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby sl1000 » Fri Jan 06, 2012 7:48 pm

Yeah, i find i have the same issues :(
did somebody ever find a solution for this? i'll be downgrading back to 4.5 again i guess :(:(
sl1000
 
Posts: 4
Joined: Mon Jun 06, 2011 11:24 am

Re: Issues Transcoding to and Streaming wav on 4.6

Postby Joeshmoe » Fri Jan 06, 2012 8:27 pm

Just signed up to confirm this really seems to be a problem...

I'm just getting a new media server built and having a very hard time getting this working.

Here is my setup and some of the things I've tried...

Ubuntu 11.10 server 8GB ram
Java version:
Code: Select all
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)


I've tried using the supplied ffmpeg binaries as well as the ones that come with Ubuntu by linking the /var/subsonic/transcoders/ffmpeg with the one in the /usr/bin/ as well with no luck ...

I've also changed the transcoding commands to several other versions I've found here as well with no change, the output below is using the standard listed on the transcoding page.

Code: Select all
[2012-01-06 13:24:10,851] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/music/Loverboy/Get Lucky [1981]/01 Loverboy - Get Lucky [1981]- Working For The Weekend.flac] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   built on Aug  9 2011 14:18:27 with gcc 4.5.2
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libavutil    51. 11. 1 / 51. 11. 1
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libavcodec   53.  9. 1 / 53.  9. 1
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libavformat  53.  6. 0 / 53.  6. 0
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libavdevice  53.  2. 0 / 53.  2. 0
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libavfilter   2. 28. 1 /  2. 28. 1
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libswscale    2.  0. 0 /  2.  0. 0
[2012-01-06 13:24:10,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   libpostproc  51.  2. 0 / 51.  2. 0
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [flac @ 0x9bcabe0] max_analyze_duration 5000000 reached at 5015510
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, flac, from '/home/music/Loverboy/Get Lucky [1981]/01 Loverboy - Get Lucky [1981]- Working For The Weekend.flac':
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Metadata:
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ALBUM           : Get Lucky
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ARTIST          : Loverboy
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     DATE            : 1981
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TITLE           : Working For The Weekend
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     track           : 01
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_ALBUM_GAIN: -1.81 dB
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_ALBUM_PEAK: 0.758545
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_GAIN: -1.33 dB
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_PEAK: 0.685669
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     METADATA_BLOCK_PICTURE: AAAAAAAAAAppbWFnZS9qcGVnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKMz/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Duration: 00:03:42.21, bitrate: 928 kb/s
[2012-01-06 13:24:10,863] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Output #0, mp3, to 'pipe:':
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Metadata:
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TALB            : Get Lucky
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TPE1            : Loverboy
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TDRL            : 1981
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TIT2            : Working For The Weekend
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TRCK            : 01
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_ALBUM_GAIN: -1.81 dB
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_ALBUM_PEAK: 0.758545
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_GAIN: -1.33 dB
[2012-01-06 13:24:10,870] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_PEAK: 0.685669
[2012-01-06 13:24:10,871] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     METADATA_BLOCK_PICTURE: AAAAAAAAAAppbWFnZS9qcGVnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKMz/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4
[2012-01-06 13:24:10,871] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TSSE            : Lavf53.6.0
[2012-01-06 13:24:10,871] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s
[2012-01-06 13:24:10,871] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2012-01-06 13:24:10,871] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Stream #0.0 -> #0.0
[2012-01-06 13:24:10,871] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
[2012-01-06 13:24:19,652] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3528kB time=00:03:42.24 bitrate= 130.0kbits/s   
[2012-01-06 13:24:19,652] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) video:0kB audio:3473kB global headers:0kB muxing overhead 1.581470%

It looks like something is happening but in the end there is no output to the player?

Any help would be great
Joeshmoe
 
Posts: 5
Joined: Fri Jan 06, 2012 8:09 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Wed Jan 11, 2012 9:40 pm

I'm still experiencing this issue and have not been able to find a solution. It seems to be an issue related to the way Subsonic uses transcoding programs and stdi/o in 4.6 on Ubuntu/Linux when the output is a wav file. The underlying transcoders seem to work fine when run without subsonic (i.e. from the command line using pipes, etc), but they all exit prematurely when used by Subsonic 4.6.

Any ideas to get this fixed would be greatly appreciated... It puts a serious damper on using Subsonic on Linux for wav output.

-Andy
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby Joeshmoe » Wed Jan 18, 2012 4:00 pm

Just had some more time to look at this ... I got it working!

Here's what I did...

Download the "Standalone" version
Extract all the files and copy them to /var/subsonic/
Start Subsonic "sudo /var/subsoninc/subsonic.sh"
Set the username password/library location etc using the web interface.
Now install the transcoders:
sudo apt-get install lame flac faad vorbis-tools ffmpeg
sudo ln -s /usr/bin/lame /var/subsonic/transcoders/lame
sudo ln -s /usr/bin/flac /var/subsonic/transcoders/flac
sudo ln -s /usr/bin/ffmpeg /var/subsonic/transcoders/ffmpeg

What this says to me is that the transcoders that are supplied with the .deb version are not fully compatible with ubuntu and so they are what's causing the issue.

Just for the record, I'm running 11.10...Hope this helps!
Joeshmoe
 
Posts: 5
Joined: Fri Jan 06, 2012 8:09 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Sat Jan 21, 2012 6:24 am

Joeshmoe wrote:Just had some more time to look at this ... I got it working!


So I tried the steps posted above:
1. Used dpkg to remove the .deb Subsonic 4.6 install
2. Re-installed the standalone version of Subsonic 4.6
3. Installed the transcoder packages
4. Sym-linked the transcoders into the /var/subsonic/trancode folder
5. Set subsonic back up

These changes seem to have increased the time before the song ends/skips, but I am still experiencing the same issue. It now takes 1-2 minutes for the song to end prematurely, but it still occurs without fail.

As before, the issue occurs when using either flac or ffmpeg as the transcoder. It occurs whenever I try to use an External Player with Playlist (as an aside, I can't seem to get External Players without the playlist to work at all in 4.6).

When using ffmpeg, the log reads as follows (with some minor redaction/edits for verbosity):
Code: Select all
...
[2012-01-20 22:26:20,160] INFO StreamController - Got range: Range[0,9223372036854775807]
[2012-01-20 22:26:20,161] INFO PlaylistInputStream - admin listening to "Stadium Arcadium (Mars)/1-Desecration Smile-1028.flac"
[2012-01-20 22:26:20,163] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/data-store/music-store/asayler/flac/R/Red Hot Chili Peppers/Stadium Arcadium (Mars)/1-Desecration Smile-1028.flac] [-f] [wav] [-]
[2012-01-20 22:26:20,173] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1,
[2012-01-20 22:26:20,173] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   built on Jan  4 2012 16:08:51 with gcc 4.6.1
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) [flac @ 0x18ee560] max_analyze_duration reached
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Input #0, flac, from '/data-store/music-store/asayler/flac/R/Red Hot Chili Peppers/Stadium Arcadium (Mars)/1-Desecration Smile-1028.flac':
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Metadata:
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TITLE           : Desecration Smile
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ARTIST          : Red Hot Chili Peppers
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ALBUM           : Stadium Arcadium (Mars)
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     GENRE           : Rock
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ENSEMBLE        : Red Hot Chili Peppers
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     track           : 1
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     DATE            : 2006
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_PEAK: 1
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_GAIN: -10.6300001144409 dB
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ALBUM ARTIST    : Red Hot Chili Peppers
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_ALBUM_GAIN: -10.8299999237061 dB
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Duration: 00:05:01.89, bitrate: 1028 kb/s
[2012-01-20 22:26:20,192] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     Stream #0.0: Audio: flac, 44100 Hz, 2 channels, s16
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Output #0, wav, to 'pipe:':
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Metadata:
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     TITLE           : Desecration Smile
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ARTIST          : Red Hot Chili Peppers
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ALBUM           : Stadium Arcadium (Mars)
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     GENRE           : Rock
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ENSEMBLE        : Red Hot Chili Peppers
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     track           : 1
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     DATE            : 2006
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_PEAK: 1
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_TRACK_GAIN: -10.6300001144409 dB
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     ALBUM ARTIST    : Red Hot Chili Peppers
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     REPLAYGAIN_ALBUM_GAIN: -10.8299999237061 dB
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     encoder         : Lavf53.3.0
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)     Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Stream mapping:
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg)   Stream #0.0 -> #0.0
[2012-01-20 22:26:20,195] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) Press ctrl-c to stop encoding
[2012-01-20 22:26:21,205] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=     738kB time=4.28 bitrate=1411.3kbits/s   
[2012-01-20 22:26:21,797] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=     900kB time=5.22 bitrate=1411.3kbits/s   
[2012-01-20 22:26:22,305] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=     972kB time=5.64 bitrate=1411.3kbits/s   
[2012-01-20 22:26:22,937] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1098kB time=6.37 bitrate=1411.3kbits/s   
[2012-01-20 22:26:23,445] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1152kB time=6.69 bitrate=1411.3kbits/s   
[2012-01-20 22:26:23,957] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1224kB time=7.11 bitrate=1411.2kbits/s   
[2012-01-20 22:26:24,537] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1386kB time=8.05 bitrate=1411.2kbits/s   
[2012-01-20 22:26:25,045] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1440kB time=8.36 bitrate=1411.2kbits/s   
[2012-01-20 22:26:25,557] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1548kB time=8.99 bitrate=1411.2kbits/s   
[2012-01-20 22:26:26,185] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1674kB time=9.72 bitrate=1411.2kbits/s   
[2012-01-20 22:26:26,697] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1728kB time=10.03 bitrate=1411.2kbits/s   
[2012-01-20 22:26:27,205] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1836kB time=10.66 bitrate=1411.2kbits/s   
[2012-01-20 22:26:27,837] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    1962kB time=11.39 bitrate=1411.2kbits/s   
[2012-01-20 22:26:28,347] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2016kB time=11.70 bitrate=1411.2kbits/s   
[2012-01-20 22:26:28,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2088kB time=12.12 bitrate=1411.2kbits/s   
[2012-01-20 22:26:29,485] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2214kB time=12.85 bitrate=1411.2kbits/s   
[2012-01-20 22:26:30,457] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2376kB time=13.79 bitrate=1411.2kbits/s   
[2012-01-20 22:26:31,089] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2502kB time=14.52 bitrate=1411.2kbits/s   
[2012-01-20 22:26:31,597] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2592kB time=15.05 bitrate=1411.2kbits/s   
[2012-01-20 22:26:32,105] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2664kB time=15.46 bitrate=1411.2kbits/s   
[2012-01-20 22:26:32,737] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2790kB time=16.20 bitrate=1411.2kbits/s   
[2012-01-20 22:26:33,245] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2862kB time=16.61 bitrate=1411.2kbits/s   
[2012-01-20 22:26:33,757] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    2952kB time=17.14 bitrate=1411.2kbits/s   
[2012-01-20 22:26:34,385] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3078kB time=17.87 bitrate=1411.2kbits/s   
[2012-01-20 22:26:34,897] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3150kB time=18.29 bitrate=1411.2kbits/s   
[2012-01-20 22:26:35,517] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3312kB time=19.23 bitrate=1411.2kbits/s   
[2012-01-20 22:26:36,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3438kB time=19.96 bitrate=1411.2kbits/s   
[2012-01-20 22:26:37,005] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3492kB time=20.27 bitrate=1411.2kbits/s   
[2012-01-20 22:26:37,637] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3654kB time=21.21 bitrate=1411.2kbits/s   
[2012-01-20 22:26:38,145] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3726kB time=21.63 bitrate=1411.2kbits/s   
[2012-01-20 22:26:38,657] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3780kB time=21.94 bitrate=1411.2kbits/s   
[2012-01-20 22:26:39,289] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3942kB time=22.88 bitrate=1411.2kbits/s   
[2012-01-20 22:26:39,797] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    3978kB time=23.09 bitrate=1411.2kbits/s   
[2012-01-20 22:26:40,421] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4140kB time=24.03 bitrate=1411.2kbits/s   
[2012-01-20 22:26:41,397] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4266kB time=24.76 bitrate=1411.2kbits/s   
[2012-01-20 22:26:41,905] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4320kB time=25.08 bitrate=1411.2kbits/s   
[2012-01-20 22:26:42,537] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4482kB time=26.02 bitrate=1411.2kbits/s   
[2012-01-20 22:26:43,045] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4554kB time=26.44 bitrate=1411.2kbits/s   
[2012-01-20 22:26:43,677] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4716kB time=27.38 bitrate=1411.2kbits/s   
[2012-01-20 22:26:44,185] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4752kB time=27.59 bitrate=1411.2kbits/s   
[2012-01-20 22:26:44,697] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4842kB time=28.11 bitrate=1411.2kbits/s   
[2012-01-20 22:26:45,205] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    4896kB time=28.42 bitrate=1411.2kbits/s   
[2012-01-20 22:26:45,785] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5058kB time=29.36 bitrate=1411.2kbits/s   
[2012-01-20 22:26:46,297] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5094kB time=29.57 bitrate=1411.2kbits/s   
[2012-01-20 22:26:46,805] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5184kB time=30.09 bitrate=1411.2kbits/s   
[2012-01-20 22:26:47,437] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5328kB time=30.93 bitrate=1411.2kbits/s   
[2012-01-20 22:26:47,945] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5382kB time=31.24 bitrate=1411.2kbits/s   
[2012-01-20 22:26:48,457] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5472kB time=31.76 bitrate=1411.2kbits/s   
[2012-01-20 22:26:49,085] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5616kB time=32.60 bitrate=1411.2kbits/s   
[2012-01-20 22:26:49,597] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5670kB time=32.91 bitrate=1411.2kbits/s   
[2012-01-20 22:26:50,105] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5760kB time=33.44 bitrate=1411.2kbits/s   
[2012-01-20 22:26:50,737] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    5904kB time=34.27 bitrate=1411.2kbits/s   
[2012-01-20 22:26:51,705] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6048kB time=35.11 bitrate=1411.2kbits/s   
[2012-01-20 22:26:52,337] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6192kB time=35.94 bitrate=1411.2kbits/s   
[2012-01-20 22:26:52,845] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6246kB time=36.26 bitrate=1411.2kbits/s   
[2012-01-20 22:26:53,357] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6318kB time=36.68 bitrate=1411.2kbits/s   
[2012-01-20 22:26:53,985] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6444kB time=37.41 bitrate=1411.2kbits/s   
[2012-01-20 22:26:54,497] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6534kB time=37.93 bitrate=1411.2kbits/s   
[2012-01-20 22:26:55,005] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6606kB time=38.35 bitrate=1411.2kbits/s   
[2012-01-20 22:26:55,637] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6732kB time=39.08 bitrate=1411.2kbits/s   
[2012-01-20 22:26:56,605] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    6894kB time=40.02 bitrate=1411.2kbits/s   
[2012-01-20 22:26:57,237] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7020kB time=40.75 bitrate=1411.2kbits/s   
[2012-01-20 22:26:57,745] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7074kB time=41.06 bitrate=1411.2kbits/s   
[2012-01-20 22:26:58,257] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7182kB time=41.69 bitrate=1411.2kbits/s   
[2012-01-20 22:26:58,885] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7308kB time=42.42 bitrate=1411.2kbits/s   
[2012-01-20 22:26:59,397] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7362kB time=42.74 bitrate=1411.2kbits/s   
[2012-01-20 22:26:59,905] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7434kB time=43.15 bitrate=1411.2kbits/s   
[2012-01-20 22:27:00,537] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7596kB time=44.09 bitrate=1411.2kbits/s   
[2012-01-20 22:27:01,046] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7650kB time=44.41 bitrate=1411.2kbits/s   
[2012-01-20 22:27:01,665] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7776kB time=45.14 bitrate=1411.2kbits/s   
[2012-01-20 22:27:02,645] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    7938kB time=46.08 bitrate=1411.2kbits/s   
[2012-01-20 22:27:03,157] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8010kB time=46.50 bitrate=1411.2kbits/s   
[2012-01-20 22:27:03,785] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8172kB time=47.44 bitrate=1411.2kbits/s   
[2012-01-20 22:27:04,297] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8208kB time=47.65 bitrate=1411.2kbits/s   
[2012-01-20 22:27:04,805] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8298kB time=48.17 bitrate=1411.2kbits/s   
[2012-01-20 22:27:05,437] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8424kB time=48.90 bitrate=1411.2kbits/s   
[2012-01-20 22:27:05,945] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8496kB time=49.32 bitrate=1411.2kbits/s   
[2012-01-20 22:27:06,457] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8550kB time=49.63 bitrate=1411.2kbits/s   
[2012-01-20 22:27:07,037] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8712kB time=50.57 bitrate=1411.2kbits/s   
[2012-01-20 22:27:07,545] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8784kB time=50.99 bitrate=1411.2kbits/s   
[2012-01-20 22:27:08,057] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    8838kB time=51.30 bitrate=1411.2kbits/s   
[2012-01-20 22:27:08,685] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9000kB time=52.24 bitrate=1411.2kbits/s   
[2012-01-20 22:27:09,197] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9072kB time=52.66 bitrate=1411.2kbits/s   
[2012-01-20 22:27:09,705] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9126kB time=52.98 bitrate=1411.2kbits/s
[2012-01-20 22:27:10,337] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9288kB time=53.92 bitrate=1411.2kbits/s   
[2012-01-20 22:27:10,845] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9324kB time=54.13 bitrate=1411.2kbits/s   
[2012-01-20 22:27:11,357] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9414kB time=54.65 bitrate=1411.2kbits/s   
[2012-01-20 22:27:11,985] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9540kB time=55.38 bitrate=1411.2kbits/s   
[2012-01-20 22:27:12,957] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9702kB time=56.32 bitrate=1411.2kbits/s   
[2012-01-20 22:27:13,585] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9828kB time=57.05 bitrate=1411.2kbits/s   
[2012-01-20 22:27:14,097] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9900kB time=57.47 bitrate=1411.2kbits/s   
[2012-01-20 22:27:14,605] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=    9990kB time=57.99 bitrate=1411.2kbits/s   
[2012-01-20 22:27:15,237] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10116kB time=58.72 bitrate=1411.2kbits/s   
[2012-01-20 22:27:15,745] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10188kB time=59.14 bitrate=1411.2kbits/s   
[2012-01-20 22:27:16,257] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10278kB time=59.66 bitrate=1411.2kbits/s   
[2012-01-20 22:27:16,885] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10404kB time=60.40 bitrate=1411.2kbits/s   
[2012-01-20 22:27:17,857] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10530kB time=61.13 bitrate=1411.2kbits/s   
[2012-01-20 22:27:18,485] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10656kB time=61.86 bitrate=1411.2kbits/s   
[2012-01-20 22:27:18,997] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10764kB time=62.48 bitrate=1411.2kbits/s   
[2012-01-20 22:27:19,505] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10818kB time=62.80 bitrate=1411.2kbits/s   
[2012-01-20 22:27:20,137] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   10944kB time=63.53 bitrate=1411.2kbits/s   
[2012-01-20 22:27:20,645] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11052kB time=64.16 bitrate=1411.2kbits/s   
[2012-01-20 22:27:21,157] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11106kB time=64.47 bitrate=1411.2kbits/s   
[2012-01-20 22:27:21,785] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11232kB time=65.20 bitrate=1411.2kbits/s   
[2012-01-20 22:27:22,297] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11304kB time=65.62 bitrate=1411.2kbits/s   
[2012-01-20 22:27:22,917] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11466kB time=66.56 bitrate=1411.2kbits/s   
[2012-01-20 22:27:23,897] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11592kB time=67.29 bitrate=1411.2kbits/s   
[2012-01-20 22:27:24,405] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11664kB time=67.71 bitrate=1411.2kbits/s   
[2012-01-20 22:27:25,037] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) size=   11808kB time=68.55 bitrate=1411.2kbits/s   
[2012-01-20 22:27:28,174] INFO StreamController - Got range: Range[0,9223372036854775807]
[2012-01-20 22:27:28,175] INFO PlaylistInputStream - admin listening to "Stadium Arcadium (Mars)/2-Tell Me Baby-1040.flac"
...


As you can see, the file is 00:05:01.89, but Subsonic spontaneously stops decoding and skips to the next track after 68.55 seconds.

When using flac, the log reads as follows:
Code: Select all
...
[2012-01-20 23:00:34,604] INFO StreamController - Got range: Range[0,9223372036854775807]
[2012-01-20 23:00:34,604] INFO PlaylistInputStream - admin listening to "Platinum Collection/02-I Can't Dance-849.flac"
[2012-01-20 23:00:34,606] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/flac] [-d] [--stdout] [/data-store/music-store/asayler/flac/G/Genesis/Platinum Collection/02-I Can't Dance-849.flac]
[2012-01-20 23:00:34,607] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/flac)
[2012-01-20 23:00:34,607] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/flac) flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
[2012-01-20 23:00:34,607] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/flac) flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
[2012-01-20 23:00:34,607] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/flac) welcome to redistribute it under certain conditions.  Type `flac' for details.
[2012-01-20 23:00:34,607] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/flac)
[2012-01-20 23:02:10,399] DEBUG InputStreamReaderThread - (/var/subsonic/transcode/flac) 02-I Can't Dance-849.flac: 22% complete
[2012-01-20 23:02:13,329] INFO StreamController - Got range: Range[0,9223372036854775807]
[2012-01-20 23:02:13,330] INFO PlaylistInputStream - admin listening to "Platinum Collection/02-Counting Out Time-928.flac"
...


Here again, Subsonic stops transcoding at 22% complete and skips to the next track.

In short:
* I am still experiencing the issue on a standalone install using Ubuntu 11.10 server
* The issue can clearly be seen in the logs
* The issue occurs when trying to transcode to wav using either ffmpeg or flac and an External Player with Playlist
* The issue is new in 4.6 (4.5 works fine)
* When bypassing Subsonic and piping the output of the transcoder directly to the system's soundcard on the command line, everything works fine. So I know the system can do this. Just not via Subsonic...

Joeshmoe, are you sure your install is working correctly 100% of the time?

Any other ideas?

Cheers,
Andy
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby muiz » Thu Feb 23, 2012 12:26 am

Even under windows it does not work
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Re: Issues Transcoding to and Streaming wav on 4.6

Postby sty » Fri Feb 24, 2012 2:14 am

Yup, same problem here. I was wondering why some of the newly buffered songs didn't play all the way to the end.

And happens of course only on my android phone. All utils from command line (ffmpeg/lame) work just fine.

ubuntu 11.10

# java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.1)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Downgraded to 3.5 and things are back to normal :)
sty
 
Posts: 4
Joined: Wed May 05, 2010 7:30 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby maxslug » Fri Mar 23, 2012 1:20 am

seeing this behavior too, anyone find a solution?
-m
maxslug
 
Posts: 44
Joined: Tue Oct 26, 2010 11:23 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Fri Mar 23, 2012 1:36 am

Not yet. Hoping that it's fixed in 4.7.

-Andy
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby GJ51 » Fri Mar 23, 2012 2:42 am

It's a known issue that should be fixed in 4.7. Track length calculation method was changed in 4.6 and adversely affects some transcodings. 4.4 and 4.5 do not have this problem. 4.7 is in active development and testing and is currently being tweaked to improve performance. As soon as this is resolved there should be a beta release.

In other of my posts I have outlined how I set up ver 4.5 and used 3 versions of ffmpeg to optimize transcoding for different file types by renaming each version to Audioffmpeg (the ffmpeg from 4.4 used to transcode mp3 and flac to ogg for mobile), Videoffmpeg (the latest static build from ffmpeg.org), and leaving the distribution version from 4.5 with it's original name.

We are all hoping that these issues will be resolved in 4.7 and we can have everything working properly under one version of ffmpeg.
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

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Tue Jun 12, 2012 1:34 am

My preliminary testing indicates that as of at least 4.7 Beta 2, this issue is resolved. Files transcoded to WAV using FFMPEG seem to play to completion just fine.

I can also report that External Player functionality seems to be a lot less buggy than it use to be. I can now use an external player, change tracks from the Subsonic web interface, and have the changes reflected in the External Player. This never used to work.

Thanks for all of the hard work!

-Andy
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm

Re: Issues Transcoding to and Streaming wav on 4.6

Postby asayler » Fri Jul 06, 2012 8:47 pm

P.S.

While this is now working with Subsonic 4.7 beta 2, there are a few issues to note:

  • It only works with VLC 2+. VLC 1.X still does not seem to want to stream Flac or Wav files at all. Thus, it's possible that it was a change in VLC that fixed this issue as opposed to a change in Subsonic. I have not tested VLC 2+ with Subsonic 4.6 so I can not verify whether VLC 2+ is the fix, or whether Subsonic 4.7 is the fix.
  • Occasionally, on at least a few systems I have tested with, VLC fails to auto advance to the next song in the playlist after the current song ends. If VLC is issuesed a Stop command followed by a Play command, it will correctly restart with the next track in the playlist.
Just some notes from my testing...
asayler
 
Posts: 29
Joined: Sat Nov 12, 2011 11:12 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests