You are not logged in.
Hi.
I'm having a/v sync problems with hi-def video files (from what I know, I might have always have them, but I didn't use to play hi-def videos). This happens with different players (xine, mplayer, vlc), and different audio drivers (alsa, oss, esd).
I am runing Arch (64-bit) on an Athlon 64 x2 3600+, 1GB RAM, nVidia GeForce 6200, Sound Blaster Audigy 24bit.
I know the video files are OK, because this doesn't happen if I boot Windows.
Any help is appretiated.
Thanks!
Offline
************************************************
**** Your system is too SLOW to play this! ****
************************************************Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
Do you get this in mplayer?
How high is the definition? 720 or 1080 lines?
Do the videos have fancy soft subtitles as well?
If I saw through you, I bet those files are h264 encodes in mkv container: you need quite a cpu, since there is no player supporting multiple cores.
You could try disabling deblocking for nonkey frames with -lavdopts skiploopfilter=nonkey
Or you could just follow the options mplayer suggests by itself.
I can play h264 720p mkv videos on my 2Ghz athlon XP 2400+ flawlessly using those options
Offline
************************************************
**** Your system is too SLOW to play this! ****
************************************************Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.Do you get this in mplayer?
No. Not unless I turn on the post-processing filter
How high is the definition? 720 or 1080 lines?
720.
Do the videos have fancy soft subtitles as well?
No.
If I saw through you, I bet those files are h264 encodes in mkv container: you need quite a cpu, since there is no player supporting multiple cores.
Yes, they are h264-encoded video files. The CPU doesn't seem to be a problem, since no core goes above 65 %. And even if it did, like I said, I can watch the videos perfectly in Windows, so the problem cannot be the hardware.
You could try disabling deblocking for nonkey frames with -lavdopts skiploopfilter=nonkey
Or you could just follow the options mplayer suggests by itself.
I tried -lavdopts skiploopfilter=nonkey and a couple other options. The sync problem is almost gone, but there's still some there.
I'll play with the xine performance options next, since it's the player that I prefer.
Thanks!
Offline
If xine or Mplayer doesn't work out for you, you may want to look into CoreAVC. It's supposed to be an amazingly fast decoder. In fact, it's the benchmark to beat at FFmpeg. There is (or maybe was?) a free version of the codec as well as a mplayer-coreavc build in AUR.
Last edited by skottish (2008-10-07 03:10:35)
Offline
I fixed this problem by enabling "Sync to VBlank" under X Server XVideo Settings in nvidia-settings
if you do this...
warning: restart xorg
Last edited by NoOneImportant (2008-10-07 12:10:01)
Offline
If xine or Mplayer doesn't work out for you, you may want to look into CoreAVC. It's supposed to be an amazingly fast decoder. In fact, it's the benchmark to beat at FFmpeg. There is (or maybe was?) a free version of the codec as well as a mplayer-coreavc build in AUR.
There's a mplayer-coreavc-svn package in AUR. I'll check it out. Thanks!
I fixed this problem by enabling "Sync to VBlank" under X Server XVideo Settings in nvidia-settings
if you do this...
warning: restart xorg
I have 2 "Sync to VBlank" checkboxes, one under "Video Texture Adaptor" and another one under "Video Blitter Adaptor Settings". I had the first one enabled, and I tried enabling the second one. It didn't fix the problem. Thanks anyway!
Offline
How did you get on with this?
I have the same sync problems in mplayer on hd vids (although I get perfect syncing with vlc player, but instead experience a very choppy playback)
Like you, I don't think it's a hardware problem, I never get more the 20% CPU usage in one core, and the videos also play fine on my xbox 360
Did you try mplayer-coreavc-svn?
Offline
I couldn't use mplayer-coreavc-svn. From what I've seen, coreavc is not free, and I didn't find a free version.
Still, since it doesn't seem to be a "slow-hardware" problem, I don't see how a fast decoder could help.
I'd bet the problem is in the configuration of the hardware drivers or something like that (I hope it's there and not in the kernel itself...) :S
Offline
By the way, the new version of VLC (0.9.3) doesn't have this problem!
The video performance could be a little bit better though (like mplayer's, or xine's if you play with the performance options).
Offline
Yeah - i get no audio sync problems with vlc, but the video is way too choppy
again, I don't think it's a resource problem, it's only using ~10%-15% of a 3.16GHz core, but just stutters along...
Offline
i had this problem untill recompiled mplayer from abs repo with this configure flags (i've nvidia card):
./configure --prefix=/usr --disable-arts --enable-x11 \
--confdir=/etc/mplayer --disable-nas \
--enable-gl --enable-tv-v4l2 --enable-largefiles \
--disable-liblzo --disable-speex --disable-openal \
--disable-fribidi --disable-libdv --disable-musepack \
--language=all --disable-dvdnav --disable-esd --disable-mga \
--disable-libamr_nb \
--with-extraincdir=/usr/lib/live-media \
--with-vidix-drivers=nvidia
after recompilation mplayer worked perfect!
p.s. all other players also have had problems with playing hd video (even hang ups with no way to shutdown process except "kill -9").
Offline
cheers, tried that nvidia option- but didnt make any difference
but realised later that not all of my HD files have this syncing problem
ALL of my wmv hd files have a syncing problem, but most of the .mkv/x264 stuff is actually fine...
Offline
i had this problem untill recompiled mplayer from abs repo with this configure flags (i've nvidia card):
./configure --prefix=/usr --disable-arts --enable-x11 \ --confdir=/etc/mplayer --disable-nas \ --enable-gl --enable-tv-v4l2 --enable-largefiles \ --disable-liblzo --disable-speex --disable-openal \ --disable-fribidi --disable-libdv --disable-musepack \ --language=all --disable-dvdnav --disable-esd --disable-mga \ --disable-libamr_nb \ --with-extraincdir=/usr/lib/live-media \ --with-vidix-drivers=nvidia
after recompilation mplayer worked perfect!
Tried it. Didn't help.
cheers, tried that nvidia option- but didnt make any difference
but realised later that not all of my HD files have this syncing problem
ALL of my wmv hd files have a syncing problem, but most of the .mkv/x264 stuff is actually fine...
I have the problem with (at least some) .mkv/x264.
Offline
I have the same audio out of sync with video problem with all the videos I play on xine, whether HD videos of simple DVDrips. Audio goes out of sync only after I have played them for some time. I am using openchrome driver for my VIA chipset.
With VLC, there is not out of sync problem but the vidoe itself runs very slow like it is redrawing itself slowly and slowly
Last edited by arnuld (2009-01-29 12:58:35)
Offline
I have problem with HD x264 content after last update of codec/vlc (january). Every player create artifacts on video, small freeze, blocking... Every player (vlc, mplayer) works bad with this file.
Offline
If you have a nvidia card, you can also look into vdpau.
Offline