Gentoo: Integrating KDE aRts, Flash Player and Firefox-source for sync'd audio and video
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
All you need to do is change the line to read.
"$(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!