FLAC playback freezes Firefox
Posted: Fri Feb 17, 2012 10:48 am
Problem Description:
Playback of FLAC files in Firefox 10 jutter and skip. It also causes Firefox to take about 60% of my CPU and lock up. I end up having to force close it through process explorer. MP3 files in Firefox do not present this problem. I have no issues playing FLAC files with IE9 on the same machine, or in Safari on OS X, or through the Android client.
Troubleshooting Steps:
Uninstalled and reinstalled both Firefox and Flash plugins. Rebooting the playback PC between each step. Rebooted Subsonic service.
Playback Application and version:
The problem application is Firefox 10.0.2. On Windows 7x64, fully patched and up to date.
Subsonic Version:
4.6 (build 2585) – December 6, 2011
Server Version:
jetty-6.1.x, java 1.6.0_20, Linux (69.6 MB / 96.7 MB)
Hardware Platform:
ASRock Ion 330 with custom Ubuntu XBMC Linux install.
Java Memory Limit:
100MB
Problem Filename:
All FLAC files regardless of filename.
Output from ffmpeg -i:
Last ten log file lines:
I noticed while gathering all this the issue may be the final line in that log. When playing the exact same file on the same machine, but in IE9, it plays back flawlessly without that error in the log. I'm just stuck at this point on what to do. It works great in everything else I try it in.
Playback of FLAC files in Firefox 10 jutter and skip. It also causes Firefox to take about 60% of my CPU and lock up. I end up having to force close it through process explorer. MP3 files in Firefox do not present this problem. I have no issues playing FLAC files with IE9 on the same machine, or in Safari on OS X, or through the Android client.
Troubleshooting Steps:
Uninstalled and reinstalled both Firefox and Flash plugins. Rebooting the playback PC between each step. Rebooted Subsonic service.
Playback Application and version:
The problem application is Firefox 10.0.2. On Windows 7x64, fully patched and up to date.
Subsonic Version:
4.6 (build 2585) – December 6, 2011
Server Version:
jetty-6.1.x, java 1.6.0_20, Linux (69.6 MB / 96.7 MB)
Hardware Platform:
ASRock Ion 330 with custom Ubuntu XBMC Linux install.
Java Memory Limit:
100MB
Problem Filename:
All FLAC files regardless of filename.
Output from ffmpeg -i:
- Code: Select all
ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 9 2011 14:18:27 with gcc 4.5.2
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
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 9. 1 / 53. 9. 1
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 1 / 2. 28. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[flac @ 0x9684a20] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from '/mnt/media/FFA.flac':
Metadata:
TITLE : Arlandria
ARTIST : Foo Fighters
ALBUM : Wasting Light
track : 5/11
CONTACT : Encoded with FreeRIP
album_artist : Foo Fighters
Duration: 00:04:28.02, bitrate: 1055 kb/s
Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
At least one output file must be specified
Last ten log file lines:
- Code: Select all
[2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) TALB : Wasting Light [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) TRCK : 5/11 [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) CONTACT : Encoded with FreeRIP [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) TPE2 : Foo Fighters [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) TSSE : Lavf53.6.0 [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) Stream mapping: [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0 [2/17/12 3:35:31 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help [2/17/12 3:36:36 AM MST] DEBUGInputStreamReaderThread(/var/subsonic/transcode/ffmpeg) av_interleaved_write_frame(): Operation not permitted
I noticed while gathering all this the issue may be the final line in that log. When playing the exact same file on the same machine, but in IE9, it plays back flawlessly without that error in the log. I'm just stuck at this point on what to do. It works great in everything else I try it in.