Error playing certain Flac files

Need help? Post your questions here.

Moderator: moderators

Error playing certain Flac files

Postby Ratel001 » Tue Nov 11, 2014 7:31 pm

<-------------------------Subsonic Help Request---------------------->
Problem Description: Some of my Flac files transcode properly and play, others do not. If I bump the time bar along one second then the track will play. I posted on this thread, which described my issue exactly, but taking the steps offered did not resolve the problem.

http://forum.subsonic.org/forum/viewtopic.php?f=2&t=14644#p64376


Troubleshooting Steps: As I explained above, I did attempt to update the transcoding arguments.

My transcoding command looks like this:

Code: Select all
ffmpeg -i %s -ab %bk -v 0 -f mp3 -


However, if I change it to this (add the 'n'):

Code: Select all
ffmpeg -i %s -ab %bk -vn 0 -f mp3 -


Then it doesn't play, even if I do move the slider. I also tried changing Downsample and HTTP Live Streaming (adding the 'n') with no success.

Playback Application and version: Chrome Version 38.0.2125.111 m
Subsonic Version: (copy/paste from the "About" screen in the Subsonic Web Interface)
Server Version: (copy/paste from the "About" screen in the Subsonic Web Interface)

License Subsonic Premium (expires August 7, 2015)
Version 5.0 (build 4100) – September 21, 2014
Server jetty-6.1.x, java 1.6.0_32, Linux (117.5 MB / 145.0 MB)

Hardware Platform: Server Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
Java Memory Limit: (don't know how to do this on linux)
Problem Filename: (If you are having difficulty with a particular file, please include it's name)
Output from ffmpeg -i:

Code: Select all
ffmpeg version N-61445-gdded5ed Copyright (c) 2000-2014 the FFmpeg developers
  built on Mar 14 2014 05:12:40 with gcc 4.6 (Debian 4.6.3-1)
  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
  libavutil      52. 66.101 / 52. 66.101
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.101 / 55. 34.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, flac, from '01 - Kill The Lights.flac':
  Metadata:
    COVERART        : /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCAHCAcIDASIAAhEBAxEB/8QAHQAAAAcBAQEAAAA
    COVERARTMIME    : image/jpeg
    TOOL NAME       : Media Center
    TOOL VERSION    : 19.0.128
    REPLAYGAIN_TRACK_GAIN: -12.47 dB
    PEAK LEVEL (SAMPLE): -0.1 dB; -0.1 Left; -0.1 Right
    VOLUME LEVEL (R128): -17.4730396270751953
    REPLAYGAIN_TRACK_PEAK: 0.989000
    DYNAMIC RANGE (DR): 4
    ALBUM ARTIST    : The Birthday Massacre
    PEAK LEVEL (R128): +0.5 dBTP; +0.4 Left; +0.5 Right
    BPM             : 72
    DYNAMIC RANGE (R128): 10.2211198806762695
    VOLUME LEVEL (REPLAYGAIN): -12.4730396270751953
    TITLE           : Kill The Lights
    ALBUM           : Walking With Strangers
    ARTIST          : The Birthday Massacre
    GENRE           : Gothic Rock
    album_artist    : The Birthday Massacre
    DATE            : 2007
    track           : 1
  Duration: 00:03:55.52, bitrate: 1059 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, yuvj420p(pc), 225x225 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)


Last ten log file lines:

Code: Select all
[5/29/02 5:37:35 PM MST]   INFO   PlayQueueInputStream   admin listening to "Walking With Strangers/01 - Kill The Lights.flac"
[5/29/02 5:37:35 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/maat/Public/Music/The Birthday Massacre/Walking With Strangers/01 - Kill The Lights.flac] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[5/29/02 5:38:38 PM MST]   INFO   PlayQueueInputStream   admin listening to "Walking With Strangers/01 - Kill The Lights.flac"
[5/29/02 5:38:38 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/maat/Public/Music/The Birthday Massacre/Walking With Strangers/01 - Kill The Lights.flac] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[5/29/02 5:39:29 PM MST]   INFO   PlayQueueInputStream   admin listening to "Walking With Strangers/01 - Kill The Lights.flac"
[5/29/02 5:39:29 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/maat/Public/Music/The Birthday Massacre/Walking With Strangers/01 - Kill The Lights.flac] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[5/29/02 5:42:20 PM MST]   INFO   PlayQueueInputStream   admin listening to "Walking With Strangers/01 - Kill The Lights.flac"
[5/29/02 5:42:20 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/maat/Public/Music/The Birthday Massacre/Walking With Strangers/01 - Kill The Lights.flac] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
[5/29/02 5:51:09 PM MST]   INFO   PlayQueueInputStream   admin listening to "Walking With Strangers/01 - Kill The Lights.flac"
[5/29/02 5:51:09 PM MST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/media/maat/Public/Music/The Birthday Massacre/Walking With Strangers/01 - Kill The Lights.flac] [-map] [0:0] [-b:a] [128k] [-v] [0] [-f] [mp3] [-]
The complete log is saved in /var/subsonic/subsonic.log.

<-------------------------Subsonic Help Request---------------------->

Thanks!
Ratel001
 
Posts: 4
Joined: Wed Sep 17, 2014 2:57 am

Re: Error playing certain Flac files

Postby Ratel001 » Tue Nov 25, 2014 12:40 am

More information. I find that if I run the ffmpeg command manually it produces data, and if I pipe that into a file it becomes an mp3 that is playable by VLC or JRiver Media Manager, but interestingly not by Microsoft Media Player.
Ratel001
 
Posts: 4
Joined: Wed Sep 17, 2014 2:57 am


Return to Help

Who is online

Users browsing this forum: No registered users and 6 guests