Firefox + FLAC = Flash Crashing

Need help? Post your questions here.

Moderator: moderators

Firefox + FLAC = Flash Crashing

Postby dr3van » Tue Aug 07, 2012 2:07 pm

As the title says in Firefox when I play FLAC files through the web interface flash crashes. I have everything fully updated fully. I have tried starting Firefox in safe mode with all addons disabled. Then I manually disabled all plugins but flash and flash still crashes in Firefox. I have no problem playing FLAC in Chrome of IE, but I mainly use Firefox. I experience this problem on multiple computers. All of them are Windows 7 64bit Pro PCs. The server is running 4.7beta3 on a headless Ubuntu 12.04 server. I'm Fairly certain it is not a transcoding problem due to it playing in Chrome and IE fine, but I could be wrong there. Has anyone ever experienced this and any idea on how to fix it?

Transcoder settings are still default
Code: Select all
ffmpeg -i %s -ab %bk -v 0 -f mp3 -


Here is the subsonic.log
Code: Select all
[8/7/12 8:29:51 AM CDT]    INFO   PlayQueueInputStream   dr3van listening to "(2004) aMOTION/01-Judith (Renholder Mix).flac"
[8/7/12 8:29:51 AM CDT]    DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/var/media/music/discographys/A Perfect Circle/(2004) aMOTION/01-Judith (Renholder Mix).flac] [-ab] [128k] [-v] [0] [-f] [mp3] [-]
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[8/7/12 8:29:51 AM CDT]    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
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) [flac @ 0xa9e6a20] max_analyze_duration 5000000 reached at 5015510
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Input #0, flac, from '/var/media/music/discographys/A Perfect Circle/(2004) aMOTION/01-Judith (Renholder Mix).flac':
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Metadata:
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TITLE : Judith (Renholder Mix)
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ARTIST : A Perfect Circle
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ALBUM : aMOTION
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) DATE : 2004
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) GENRE : Rock
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) track : 01
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ALBUM ARTIST : A Perfect Circle
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Duration: 00:04:24.90, bitrate: 953 kb/s
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Output #0, mp3, to 'pipe:':
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Metadata:
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TIT2 : Judith (Renholder Mix)
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TPE1 : A Perfect Circle
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TALB : aMOTION
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TDRL : 2004
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TCON : Rock
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TRCK : 01
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ALBUM ARTIST : A Perfect Circle
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TSSE : Lavf53.6.0
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream mapping:
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[8/7/12 8:29:51 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
[8/7/12 8:31:26 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) size= 4140kB time=00:04:24.93 bitrate= 128.0kbits/s
[8/7/12 8:31:26 AM CDT]    DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) video:0kB audio:4140kB global headers:0kB muxing overhead 0.007738%
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby BKKKPewsey » Tue Aug 07, 2012 4:42 pm

Odd one that :? np playing flac with FF & vista 32
As far as the web player (JW Player) is concerned it is only playing an mp3 so I don't know what could be causing an issue.

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Tue Aug 07, 2012 5:19 pm

It happens on multiple computers too. Mine at home & both my computers at work and my wife's laptop all have the same problem. I am not sure what is causing this issue. It sometimes throws an unresponsive script error when it crashes:
Code: Select all
Script: chrome://global/content/bindings/browser.xml:236


One thing I tried is log into the demo account on the subsonic.org site to see if it was my server or my Firefox causing the issues, but the demo server has only .mp3 files...

If anyone would be willing to supply me login credentials to a server with some FLAC files on it I would be much appreciative so I can test if it is my Firefox.
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Thu Aug 09, 2012 8:54 pm

After trying to get this issue sorted out I have made a few more observations. When trying to play a FLAC file the little bar that shows how far along you are in the song and how far the song is buffered changes from a light gray to a dark gray like the song is instantly fully buffered.

Also plugin-container.exe starts to use 700,000k memory and 15% CPU before it crashes.

Also I have set up subsonic in a virtual win xp pro pc and with firefox playing FLAC off my real server it crashes firefox, but with the subsonic install on the virtual pc FLAC does not cause Firefox to crash out... It seem to me it is something in the way it transcodes?? I am not sure why it would play back in Chrome and IE fine but not Firefox if it is a transcoding problem tho...

Anyone have any ideas what to do/try next?
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Fri Aug 10, 2012 3:02 pm

ughh.... I have now completely uninstalled subsonic and reinstalled... When playing FLAC in Firefox flash still crashes....

Leaving me to believe it is a Firefox/Flash issue :(
I guess I just use Chrome for time being.....
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby j3tblk » Sat Aug 11, 2012 12:05 am

PM sent w/ log in info to my servers. My FLAC playing is screwed up too.
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Sat Aug 11, 2012 6:08 pm

j3tblk wrote:PM sent w/ log in info to my servers. My FLAC playing is screwed up too.



Thanks!
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby j3tblk » Sun Aug 12, 2012 2:49 am

dr3van wrote:
j3tblk wrote:PM sent w/ log in info to my servers. My FLAC playing is screwed up too.



Thanks!

What do ya think?
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Sun Aug 12, 2012 6:56 pm

j3tblk wrote:What do ya think?


Didn't have much time to look around much. Pretty good library though! I didn't find any FLAC though yet just looking through.
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby j3tblk » Mon Aug 13, 2012 3:07 pm

dr3van wrote:
j3tblk wrote:What do ya think?


Didn't have much time to look around much. Pretty good library though! I didn't find any FLAC though yet just looking through.

Fixed it. It was the 'threads' switch for ffmpeg. I had to remove the threads switch all together...& it seems to be working now.
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Tue Aug 14, 2012 4:24 pm

j3tblk wrote:Fixed it. It was the 'threads' switch for ffmpeg. I had to remove the threads switch all together...& it seems to be working now.


Tried to look at it today and the account you created me is deleted? Also you fixed your FLAC playback issues? Sorry not sure what you meant by "removed the threads switch"
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Tue Aug 14, 2012 5:10 pm

I can also confirm that playing FLAC files is crashing Firefox/Flash on my Ubuntu 12.04 desktop as well...

Chromium however works.... :(
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Tue Aug 14, 2012 5:55 pm

My setup:
Server - Ubuntu 12.04 headless server
Subsonic- 4.7beta3
Client- Firefox


Problem:
When trying to stream a FLAC file to Firefox from my server the song starts to play and just begins skipping and then after about 30 seconds it is at the 1-4 second mark on the song and Firefox/Flash crash. On all tested PCs steaming FLAC to Firefox causes the crash, Chrome, IE, Safari do not crash when streaming FLAC only Firefox crashes.


What it affects: (I have tested FLAC streaming on all of these computers and all present the same problem)
Work PC - Windows 7 64bit Ultimate, Firefox v14 + v15 + v16 (tried to reinstall Firefox as up to date and beta and aurora), Tried Flash downgrading to flash 10 and tried with flash 11
Home PC- Win 7 64bit Ultimate, Firefox v16, Flash 11
2nd Work PC- Win 7 64bit Ultimate Firefox v14, Flash 11
Home Linux PC- Ubuntu 12.04 Desktop, Firefox12, Flash 11.2
Home PC 2- Windows XP Pro 32bit, Firefox 14, Flash 11
Virtual PC- Win XP Pro 32bit, Firefox 14,Flash 11

**All PCs tested on play FLAC fine in Chrome, IE, and Safari**


What I have done to try and fix the issue:
I have deleted my subsonic install and re-installed subsonic (2 times).
Removed the symbolic links and copied the transcoders in the '/var/subsonic/transcode/' directory.


Other Information:
All transcode settings are still set at default.
I have set up a subsonic server on my virtual Windows XP pro and it does not have any issues streaming FLAC...
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Re: Firefox + FLAC = Flash Crashing

Postby sindre_mehus » Thu Aug 16, 2012 7:50 am

I'm guessing that Linux version of ffmpeg is producing something that chokes Flash on Firefox.

If possible, can you try to upgrade to a newer version of ffmpeg and see if that helps?

Thanks,
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Firefox + FLAC = Flash Crashing

Postby dr3van » Thu Aug 16, 2012 3:23 pm

sindre_mehus wrote:I'm guessing that Linux version of ffmpeg is producing something that chokes Flash on Firefox.

If possible, can you try to upgrade to a newer version of ffmpeg and see if that helps?


I currently have the latest ffmpeg installed. I have tried the version that is on by default and the newest downloaded version. Neither work.
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 36 guests