LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-24-2005, 01:47 AM   #1
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
MPlayer Audio/Video out of sync


Hi, I compiled the latest version of MPlayer(v1.0pre7try2) from source. And I downloaded the codecs from the MPlayer website, too.

Everything works as expected except this small irritation.
When I play a rmvb file, and try to fast-forward it with the "Page Up" button, the audio and video start to go out of sync and never come back. Luckily, if I watch it from the beginning to the end this problem doesn't happen. Xine works well, too.

I tried to specify these options and it works, but ugrily(it needs about 2 seconds to sync them back).
Code:
mplayer -mc 1 -autosync 30 -framedrop
Setting -mc to 0 make the situation worse.

I have tried mplayer in debian and it doesn't act like this.
Are there anything I need to pass to ./configure to avoid this problem?
So far I have tried CFLAGS="-O2 -march=athlon-xp"

Thanks for any suggestions.
 
Old 09-24-2005, 05:10 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you try to set hardware RTC timer frequency to 1024 ?
Code:
echo 1024 > /proc/sys/dev/rtc/max-user-freq
 
Old 09-24-2005, 07:09 AM   #3
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Original Poster
Rep: Reputation: 31
Yeah I just tried that but no luck...
 
Old 09-24-2005, 06:23 PM   #4
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
try using the -cache option and set it to something fairly high. The max is 65535
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio/Video goes badly out of sync after 2 minutes. bb002 Ubuntu 1 10-11-2005 08:20 PM
No Video/Audio using MPlayer vaneeri Red Hat 7 10-15-2004 12:35 AM
mplayer streams audio but not video Chuck23 Fedora 2 09-20-2004 12:53 PM
Transcode - Video and Audio not in sync davecs Linux - Software 1 06-01-2004 02:52 PM
Shockwave audio/video sync bad MagicTom Linux - Software 0 07-22-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration