LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Linux Answers > Applications / GUI / Multimedia
User Name
Password

Notices

By unreal128 at 2007-03-26 17:50

The most frustrating experience for myself in Firefox was getting the Adobe Flash Player to play nice with KDE. First I wasn't able to hear any sound, then I couldn't get the audio to sync with the video; it was a nightmare. There are two issues going on here.

The first issue is getting Firefox to pipe the sound through aRts. This can be fixed by using artsdsp to wrap around the Firefox binary that runs when you bring up the web browser.

Code:
artsdsp firefox
The frustrating part is that artsdsp will complain at the command line that "artsdsp works only for binaries". This is because the Firefox file is a shell script and not a binary. The script will include some library files and eventually call another script file that then finally calls the binary. I was able to dig through the script and find the line that finally calls the binary. It is a line that contains...

Code:
"$mozbin" "$@"
All you need to do is change the line to read.

Code:
"$(which artsdsp)" "$mozbin" "$@"
If that doesn't work, change $(which artsdsp) to the full location of the artsdsp command. I have found this solution to only work on Firefox built from source; it has only been tested on Gentoo in KDE.

The second issue is to sync up the audio and video in Flash Player (especially for the YouTube fanatics out there.) I have noticed the sync issue is no longer a factor in the Flash Player 9 plugin for Linux. Just get the latest beta version of the plugin from http://www.adobe.com/go/fp9_update_b2_installer_linuxplugin and follow the readme.txt instructions. It will have you extract a library file to your plugins directory; fire up Firefox, check out a flash video and enjoy!


  



All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration