Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
audio delayed with ALSA [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Fri May 20, 2005 9:01 pm    Post subject: audio delayed with ALSA [SOLVED] Reply with quote

Hey all,

I'm using Mplayer to watch movies, and I noticed that my audio is delayed from the movement of lips... only be miliseconds, but its noticible. What can I do to reduce the delay?

Thanks!
George


Last edited by gnychis on Sun Jun 19, 2005 11:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Fri May 20, 2005 11:35 pm    Post subject: Reply with quote

Are you sure you're using ALSA directly (-ao alsa)? I have the delay problem too, but only when using a sound daemon like KDE's. I guess it's because these daemons are buffering audio somewhere.

For a quick workaround, mplayer allows you to adjust audio delay on the fly, in steps of 100ms. I'm not sure about the exact key combination, but I think it was one of the numpad keys, + or - probably. It should print a message like "audio delay adjust: 100ms".
Back to top
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sat May 21, 2005 2:53 pm    Post subject: Reply with quote

is -ao alsa supposed to be a command line arguement for mplayer?

i will try it, thanks!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Sat May 21, 2005 3:46 pm    Post subject: Reply with quote

Yes. I haven't seen a decent mplayer GUI around yet...
Back to top
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Jun 19, 2005 11:35 pm    Post subject: Reply with quote

when I use xine, there is no audio delay... so i shall use xine for DVDs!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum