[MPlayer-users] Problem with -slave and A-V sync

Dirk Meyer dischi at freevo.org
Wed Nov 29 13:17:17 CET 2006


Hi,

I have a strange problem with slave mode and A-V sync. It happens when
I play 720p H.264 files. I have a Core 2 Duo and cpu usage is always
around 50% of one cpu. When I play such a file it works fine, A-V sync
is perfect. When I add -slave to the command line, the video gets out
of sync very fast, about one second after 20 seconds playtime. The cpu
usage is still at 50%, no change there.

The "funny" part is that audio is slower than video. This looks to me
like decoding the video is not the problem (and the cpu usage also
tells me that). The video has an AC3 audio track. I tried -ac hwac3
and a52, both result in the same problem. I also tried -ao null and I
still get A-V running out of sync. Another point that it is not the
cpu itself is that I can add post processing and scaling and I still
have no problem playing it when I don't use -slave.

This only happens for 720p H.264 files, smaller videos run without
problems, even with hwac3. If I throttle the CPU to 1.5 GHz, it still
works without -slave, normal cpu speed is around 2.1 GHz.

So maybe this is a bug in mplayer, maybe something wrong with my
system, I have no idea and do not know how to test it. It happens with
both 1.0-rc1 and svn from yesterday. The system has a Core 2 Duo 6400,
1 GB RAM. Grafic and audio cards are not the problem, it also happens
with ao and vo set to null.

Ideas what I can try?


Dischi

-- 
"I don't suffer from insanity. I enjoy every minute of it."




More information about the MPlayer-users mailing list