07.06.2024, 16:36 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
Swynndla
Titel: howto get firefox audio in sync  BeitragVerfasst am: 09.08.2006, 23:26 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
A friend (Fran) found a way to keep flash video and audio in sync in firefox ... the method was taken from:
http://blogs.adobe.com/penguin.swf/
(in the comments for the entry August 08, 2006)

... ie without the fix, when I played:
http://www.youtube.com/watch?v=WQ-Q3vy0MoA
... the audio would start in sync ok, but then get more and more out of sync. After the fix, the audio stayed in sync.

Here is the method my friend got me to do:

Install the package - alsa-oss:
apt-get install alsa-oss
(mine was already the newest version)
then in to the file:
.asoundrc
in your home account (I didn't have a file "~/.asoundrc" so I created one) include the following.

Code:
pcm.card0 {
type hw
card 0
mmap_emulation true
}
pcm.!output {
type dmix
ipc_key 1234
ipc_key_add_uid 1
slave {
pcm "card0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.!input {
type dsnoop
ipc_key 4321
ipc_key_add_uid 1
slave {
pcm "card0"
period_time 0
period_size 1024
rate 44100
}
}
pcm.!duplex {
type asym
playback.pcm "output"
capture.pcm "input"
}
pcm.!default {
type plug
slave.pcm "duplex"
}
pcm.!dsp0 {
type plug
slave.pcm "duplex"
}
ctl.!mixer0 {
type hw
card 0
}

Then in the /etc/firefox/firefoxrc file, change:
FIREFOX_DSP="none"
to:
FIREFOX_DSP="aoss"

Then restart alsa-utils:
/etc/init.d/alsa-utils force-reload

restart firefox

Now the play flash video again, and the audio should stay in sync!

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Coma
Titel: RE: howto get firefox audio in sync  BeitragVerfasst am: 11.08.2006, 15:50 Uhr



Anmeldung: 07. Aug 2006
Beiträge: 17

Hi there,
Have been following these instructions step by step, but still got a problem, i think the main issue is the code since i got this error:

ALSA lib conf.c:2827:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it

maybe i missed out something Traurig.

Anyone has idea how this might go?.

_________________
What the deuce!?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel: RE: howto get firefox audio in sync  BeitragVerfasst am: 11.08.2006, 18:09 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Did not need to do anything in .asoundrc here, the change in firefoxrc did the trick perfectly.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.