Song length cut into half when playing FLAC files

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Song length cut into half when playing FLAC files

Postby nordboerg » Fri Dec 07, 2012 3:32 pm

Hello,

I've found a topic about the issue, but that thread is closed and I think it sill needs attention.

My subsonic is on a debian server, I use the latest subsonic version along with the latest flac and lame encoders.
The default web client works flawlessly but the most recent minisub chrome app produces this very strange issue. It cuts and plays exactly the half of my FLAC files. I've tried many different albums...

Here is what the log sais:
Code: Select all
[12/7/12 4:23:13 PM CET]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/flac] [-c] [-d] [-F] [/media/drive/Music/Vladislav Delay/(2012) Kuopio [FLAC]/01 - Vladislav Delay - Vastaa.flac]
[12/7/12 4:23:13 PM CET]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/lame] [-V] [0] [--vbr-new] [-] [-]
[12/7/12 4:23:13 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac)
[12/7/12 4:23:13 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
[12/7/12 4:23:13 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
[12/7/12 4:23:13 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) welcome to redistribute it under certain conditions. Type `flac' for details.
[12/7/12 4:23:13 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac)
[12/7/12 4:24:17 PM CET]   DEBUG   AudioScrobblerService   Successfully registered submission for song 'Vastaa' for user 4m0rph15 at Last.fm: Fri Dec 07 16:24:17 CET 2012
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/lame) LAME 3.99.5 32bits (http://lame.sf.net)
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/lame) polyphase lowpass filter disabled
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) 01 - Vladislav Delay - Vastaa.flac: 2% complete01 - Vladislav Delay - Vastaa.flac: 3% complete01 - Vladislav Delay - Vastaa.flac: 5% complete01 - Vladislav Delay - Vastaa.flac: 6% complete01 - Vladislav Delay - Vastaa.flac: 8% complete01 - Vladislav Delay - Vastaa.flac: 9% complete01 - Vladislav Delay - Vastaa.flac: 11% complete01 - Vladislav Delay - Vastaa.flac: 12% complete01 - Vladislav Delay - Vastaa.flac: 14% complete01 - Vladislav Delay - Vastaa.flac: 15% complete01 - Vladislav Delay - Vastaa.flac: 17% complete01 - Vladislav Delay - Vastaa.flac: 18% complete01 - Vladislav Delay - Vastaa.flac: 20% complete01 - Vladislav Delay - Vastaa.flac: 21% complete01 - Vladislav Delay - Vastaa.flac: 23% complete01 - Vladislav Delay - Vastaa.flac: 24% complete01 - Vladislav Delay - Vastaa.flac: 26% complete01 - Vladislav Delay - Vastaa.flac: 27% complete01 - Vladislav Delay - Vastaa.flac: 29% complete01 - Vladislav Delay - Vastaa.flac: 30% complete01 - Vladislav Delay - Vastaa.flac: 32% complete01 - Vladislav Delay - Vastaa.flac: 33% complete01 - Vladislav Delay - Vastaa.flac: 35% complete01 - Vladislav Delay - Vastaa.flac: 36% complete01 - Vladislav Delay - Vastaa.flac: 38% complete01 - Vladislav Delay - Vastaa.flac: 39% complete01 - Vladislav Delay - Vastaa.flac: 41% complete01 - Vladislav Delay - Vastaa.flac: 42% complete01 - Vladislav Delay - Vastaa.flac: 44% complete01 - Vladislav Delay - Vastaa.flac: 45% complete01 - Vladislav Delay - Vastaa.flac: 47% complete01 - Vladislav Delay - Vastaa.flac: 48% complete01 - Vladislav Delay - Vastaa.flac: 50% complete01 - Vladislav Delay - Vastaa.flac: 50% complete
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) 01 - Vladislav Delay - Vastaa.flac: done
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/lame) Encoding to
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/lame) Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=0)
[12/7/12 4:25:17 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/lame) Error writing mp3 output
[12/7/12 4:25:17 PM CET]   WARN   RESTFilter   Error in REST API: Closed
[12/7/12 4:26:34 PM CET]   INFO   StreamController   Got range: Range[0,9223372036854775807]
[12/7/12 4:26:34 PM CET]   INFO   PlayQueueInputStream   pi listening to "(2012) Kuopio [FLAC]/02 - Vladislav Delay - Hetkonen.flac"
[12/7/12 4:26:34 PM CET]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/flac] [-c] [-d] [-F] [/media/drive/Music/Vladislav Delay/(2012) Kuopio [FLAC]/02 - Vladislav Delay - Hetkonen.flac]
[12/7/12 4:26:34 PM CET]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/lame] [-V] [0] [--vbr-new] [-] [-]
[12/7/12 4:26:34 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac)
[12/7/12 4:26:34 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
[12/7/12 4:26:34 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
[12/7/12 4:26:34 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac) welcome to redistribute it under certain conditions. Type `flac' for details.
[12/7/12 4:26:34 PM CET]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/flac)
[12/7/12 4:26:35 PM CET]   DEBUG   AudioScrobblerService   Successfully registered now playing for song 'Hetkonen' for user 4m0rph15 at Last.fm: Fri Dec 07 16:26:33 CET 2012
[12/7/12 4:28:19 PM CET]   DEBUG   AudioScrobblerService   Successfully registered submission for song 'Hetkonen' for user 4m0rph15 at Last.fm: Fri Dec 07 16:28:18 CET 2012


Please check out this other topic for more details: https://github.com/tsquillario/MiniSub/issues/13

Cheers,
Norbert
nordboerg
 
Posts: 6
Joined: Tue Dec 04, 2012 1:11 pm

Re: Song length cut into half when playing FLAC files

Postby nordboerg » Fri Dec 14, 2012 3:13 pm

any comment on this? do I must encode my flac to CBR to get the full length song? which means I must set it back and forth between V0 and CBR depending on where I am. not the most convinient way...
nordboerg
 
Posts: 6
Joined: Tue Dec 04, 2012 1:11 pm

Re: Song length cut into half when playing FLAC files

Postby rockguitardude » Sun Feb 10, 2013 9:41 pm

Try adding
-ar 44100 -
to step 1 of the transcode. Worked for me.
rockguitardude
 
Posts: 12
Joined: Sat Feb 09, 2013 8:39 pm


Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 1 guest