You are not logged in.

#1 2010-03-04 18:33:23

silkuze
Member
Registered: 2010-03-04
Posts: 5

Video lag (MPlayer, VLC)

Hi everyone,

Firstly, I'm new to Arch Linux (while I've used other distributions for a while). Just installed it few days ago.

Okay, so here's the problem. I'm trying to play some videos on MPlayer (gnome-mplayer frontend) or VLC, but they are kind of laggy (attached an image so you can see what I mean). I'm using Nvidia 195.xx drivers with glx. I tried all of the available video outputs (gl, gl2, x11, xv, xvmc, vdpau) and they are all the same.

screenshotjfsmirtiesura.th.png

MPlayer output:

MPlayer SVN-r30526-4.4.3 (C) 2000-2010 MPlayer Team
142 audio & 332 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing [JFS] Mirties Užrašai 20 (lt subs).mkv.
[mkv] Track ID 1: subtitles (S_TEXT/ASS) "[JFS] vertė Evil Mastermind, redagavo Narya, dizainas Tabeko", -sid 0, -slang lit
[mkv] Track ID 2: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 3: audio (A_MPEG/L3), -aid 0, -alang jpn
[mkv] Track ID 4: audio (A_MPEG/L3), -aid 1, -alang eng
[mkv] Track ID 5: subtitles (S_VOBSUB), -sid 1, -slang eng
[mkv] Track ID 6: subtitles (S_VOBSUB), -sid 2, -slang eng
[mkv] Will play video track 2.
Matroska file format detected.
VIDEO:  [avc1]  720x400  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.

Sorry, if it's a lame question and thank you all for your answers smile

Offline

#2 2010-03-04 18:36:11

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Video lag (MPlayer, VLC)

for your card i suggest to only use vdpau. maybe is not a problem with mplayer but maybe the video is poor encoded.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-03-04 18:38:25

silkuze
Member
Registered: 2010-03-04
Posts: 5

Re: Video lag (MPlayer, VLC)

I've also tried a few other videos and it was just the same.

Offline

#4 2010-03-05 09:34:38

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Video lag (MPlayer, VLC)

Try reverting to nvidia driver 190.x.x.  I've noticed some video performance issues with the newer 195.x.x driver, as well as performance issues with running multiple openGL applications.

Offline

#5 2010-03-05 16:06:24

silkuze
Member
Registered: 2010-03-04
Posts: 5

Re: Video lag (MPlayer, VLC)

Tried downgrading to 190.53, nothing changed.

Offline

#6 2010-06-18 16:41:13

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: Video lag (MPlayer, VLC)

I'm also getting lag but only with x264 encoded videos.
Using xf86-video-intel-newest and kernel26-ck (1000hz clock)

Offline

#7 2010-12-19 06:23:49

james2432
Member
Registered: 2010-01-25
Posts: 10

Re: Video lag (MPlayer, VLC)

I was having lag on videos  over 720p
I fixed this by forcing vdpau by default

I installed:

nvidia nvidia-utils libvdpau vdpau-video

in ~/.mplayer/config:

vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau,

the trailing comma tells if you can't load it revert to defaults

Offline

Board footer

Powered by FluxBB