LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   MPlayer Audio/Video out of sync (https://www.linuxquestions.org/questions/slackware-14/mplayer-audio-video-out-of-sync-366465/)

koyi 09-24-2005 01:47 AM

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.

keefaz 09-24-2005 05:10 AM

Did you try to set hardware RTC timer frequency to 1024 ?
Code:

echo 1024 > /proc/sys/dev/rtc/max-user-freq

koyi 09-24-2005 07:09 AM

Yeah I just tried that but no luck...

Namaseit 09-24-2005 06:23 PM

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


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