[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

schwere Soundprobleme in manchen Programmen



Hallo,

ich habe ein merkwürdiges Problem und finde nicht die Ursache.
Bei manchen Programmen wird der Sound viel zu schnell und damit extrem
hoch abgespielt oder hakt einfach und macht es unbrauchbar.

Aufgefallen ist mir das Problem bei folgenden Programmen:

avidemux:
=========
Video mit Audio: MPEG-1 Layer 3 (stereo, 44100 Hz) geladen. Play spielt
Ton viel zu schnell ab. Man versteht kein Wort. totem spielt das Video
ohne Probleme ab.

gleiches Video mit mplayer:
OSS: keine Probleme
ALSA: Ton ist normal schnell, aber hakt alle paar Millisekunden (nach
jedem Wort ein Aussetzer) und damit unbrauchbar.

Gleichzeitig mplayer-Fehlermeldungen:
alsa-space: xrun of at least 25,506 msecs. resetting stream,?% 0 0
alsa-space: xrun of at least 90,489 msecs. resetting stream,?% 4 0
alsa-space: xrun of at least 0,996 msecs. resetting stream 11,8% 6 0
alsa-space: xrun of at least 1,087 msecs. resetting stream7,1% 11 0
alsa-space: xrun of at least 0,927 msecs. resetting stream6,9% 11 0
alsa-space: xrun of at least 0,860 msecs. resetting stream6,3% 11 0
alsa-space: xrun of at least 4,572 msecs. resetting stream5,4% 12 0
alsa-space: xrun of at least 0,007 msecs. resetting stream4,8% 12 0
alsa-space: xrun of at least 0,958 msecs. resetting stream5,8% 12 0
alsa-space: xrun of at least 0,891 msecs. resetting stream6,4% 12 0
alsa-space: xrun of at least 5,827 msecs. resetting stream5,8% 12 0
alsa-space: xrun of at least 2,349 msecs. resetting stream5,6% 12 0
alsa-space: xrun of at least 82,123 msecs. resetting stream,1% 12 0
alsa-space: xrun of at least 16,943 msecs. resetting stream,4% 13 0
alsa-space: xrun of at least 1,056 msecs. resetting stream5,4% 13 0
...


transcode:
==========
selbes Video oder andere Fernsehaufnahme mit selben Codecs. Umgewandelt
nach xvid mit Neuaufnahme des Audio-Stroms:

...
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.12 (2004-05-07) (video) ffmpeg: MS
MPEG4v1-3/MPEG4/MJPEG
[export_xvid4.so] v0.0.5 (2003-12-05) (video) XviD 1.0.x series (aka API
4.0) | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "tv--01.06_1337.avi" -x mp3 -d 0 |
tcdecode -x mp3 -d 0 -z 16000
Audio: using new version
tc_memcpy: using sse for memcpy
Audio: using lame-3.96.1
encoding frames [000000-000121],   1.40 fps, EMT: 0:00:04, ( 0| 0| 9)

Endergebnis:
Der Ton _in_ dem umgewandelten Video ist zu schnell (wie bei avidemux).
Vorher konnte ich das Video mit totem normal abspielen, nach dem
Umwandeln ist es mit totem ebenfalls zu schnell. Das Problem habe ich
jetzt seit Ende November. Vorher hatte ich mit dem Umwandeln von Videos
(selbes Skript) keine Probleme.
Ich vermute also Fehler in Treibern oder Libraries. Totem benutzt
anscheinend funktionierende, transcode defekte und baut damit einen
defekten Audiostrom in das Video.


Doom3/Quake4:
=============
Ton ist normal schnell, aber völlig verzerrt und nicht zu gebrauchen.
Bei beiden Spielen selbe Fehlermeldung.

Konsolenmeldungen:

dlopen(libasound.so.2)
asoundlib version: 1.0.11rc2
Alsa is available
------ Alsa Sound Initialization -----
opened Alsa PCM device default for playback
device buffer size: 15052 frames ( 60208 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
[...]
Async thread started
snd_pcm_writei short write: 3760 out of 4096
guid set to TcHGP4i5vYQ
snd_pcm_writei short write: 3760 out of 4096
snd_pcm_writei short write: 3760 out of 4096
snd_pcm_writei short write: 3760 out of 4096
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 940 out of 4096
snd_pcm_writei short write: 1880 out of 2048
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei failed: Resource temporarily unavailable
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei failed: Resource temporarily unavailable
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
snd_pcm_writei short write: 940 out of 1024
idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_writei short write: 940 out of 1024
...


Ich benutze SID + alle möglichen Codecs von marillat auf aktuellem Stand.
Eine falsche Benutzerkonfiguration kann es nicht sein, da ein neu
eingerichteter Nutzer selbe Probleme hat. Eine andere Soundkarte bringt
dieselben Probleme.
Ich verwende Kernel 2.6.13-12.6.15, auch daran liegt es nicht (2.6.13
ging früher).
Alsa Treiber und Libs habe ich aus SID getestet und derzeit die
aktuellen 1.0.11rc2 von der alsa-Homepage - keine Änderung.
Bleibt also eigentlich nur noch eine defekte Library bzw. ein Codec
(zumal nur wenige Programme betroffen sind), aber dann müsstet ihr ja
auch das Problem haben. Könnte jemand überprüfen, ob diese Probleme
ebenfalls auftauchen?

Hat sonst vielleicht irgendjemand eine Idee, woran das liegen könnte und
was ich machen kann?

Danke & Gruß,
Alexander



Reply to: