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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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!