You are not logged in.

#1 2009-03-07 21:59:49

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

xine/mplayer etc.., what video driver to use?

Hi all.
I was wondering, when watching movies with one of the media players out there, what is the best driver to use?
For example, xv, gl, gl2, dxr3, etc..  which one is best?
I would think maybe because I have an NVidia gpu I should use gl?
Thanks.

Offline

#2 2009-03-07 22:41:49

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: xine/mplayer etc.., what video driver to use?

I noticed very similar performance with xv, gl and gl2. They all fail on huge 800MB 1980x1020 video files, and work fine with normal sizes.

Offline

#3 2009-03-07 23:36:38

nego
Member
From: Gdasnk, Poland
Registered: 2009-01-29
Posts: 14

Re: xine/mplayer etc.., what video driver to use?

GL2 seemed to be the quickest for me. I only noticed a big difference when I was playing HD movies.

Offline

#4 2009-03-07 23:41:29

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: xine/mplayer etc.., what video driver to use?

daf666 wrote:

I would think maybe because I have an NVidia gpu I should use gl?
Thanks.

Hmm, you are thinking about GPU accelerated video, this is only possible with a patched mplayer build and the option for it would not be "-vo gl", but "-vo vdpau"


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#5 2009-03-08 00:14:21

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: xine/mplayer etc.., what video driver to use?

Mplayer does not need patches for vdpau. It hasn't for at least a month. One just needs a newer version from subversion. I don't need to enable anything to get it set up; It just works automagically. But, I've heard that others need the --enable-vdpau switch.

With that being said, the order for usefulness/quality of drivers for nVidia cards in my experience is:

vdpau
xvmc
xv
gl

vdpau isn't perfect yet, but it uses almost no CPU.

Offline

#6 2009-03-08 00:41:48

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: xine/mplayer etc.., what video driver to use?

I gotta try vdpau out. mplayer-svn in AUR will do right? I do have a Geforce 8500.

EDIT
It works. But ass subtitles don't work anymore. I think I had that with nogui-svn too and switched back.

And I think that 1980x file I had was broken.

EDIT:
No, the 1980x file works fine in xine.

Last edited by Procyon (2009-03-08 01:04:31)

Offline

#7 2009-03-08 01:35:59

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: xine/mplayer etc.., what video driver to use?

I just read through some posts at mplayer-dev, and looks as if there is at least one outstanding patch for libass. Hopefully it will do what you need it to do in the next couple of days if xine isn't working out for you.

Offline

#8 2009-03-08 08:16:46

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: xine/mplayer etc.., what video driver to use?

Procyon wrote:

I gotta try vdpau out. mplayer-svn in AUR will do right? I do have a Geforce 8500.

EDIT
It works. But ass subtitles don't work anymore. I think I had that with nogui-svn too and switched back.

And I think that 1980x file I had was broken.

EDIT:
No, the 1980x file works fine in xine.

OSD works fine for me with this PKGBUILD:

Keep in mind that it needs the ms-core-fonts package installed. Otherwise you need to link your own font with ln -s /usr/share/TTF/YOURFONT ~/.mplayer/subfont.ttf

pkgname=mplayer-svn
pkgver=28876
pkgrel=1
pkgdesc="A movie player for linux"
depends=('libungif' 'cdparanoia' 'sdl' 'libjpeg' \
         'ttf-bitstream-vera' 'libxxf86dga' 'fontconfig' \
         'libxinerama' 'libxv' 'libpng' 'libxxf86vm')

makedepends=('subversion' 'pkgconfig')
source=()
md5sums=()
conflicts=('mplayer')
provides=('mplayer')
url="http://www.mplayerhq.hu/"
license=("GPL")
arch=('i686' 'x86_64')

_svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk
_svnmod=mplayer

build() {
  cd $startdir/src

  svn co $_svntrunk $_svnmod --config-dir ./ -r $pkgver

  cp -r $_svnmod $_svnmod-build
  cd $_svnmod-build

  unset CFLAGS

  patch -p1 < ../../no_segfault_configure.diff
  ./configure --prefix=/usr --confdir=/etc/mplayer \
      --enable-runtime-cpudetection \
      --disable-gui \
      --disable-lirc \
      --disable-lircc \
      --enable-vdpau

  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  install -m644 etc/{codecs.conf,input.conf,example.conf} $startdir/pkg/etc/mplayer
  ln -s /usr/share/fonts/TTF/Vera.ttf $startdir/pkg/usr/share/mplayer/subfont.ttf
  rm -rf $startdir/pkg/usr/share/mplayer/font

  rm -rf ../$_svnmod-build
}

Last edited by Rasi (2009-03-08 08:19:40)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2009-03-08 12:41:36

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: xine/mplayer etc.., what video driver to use?

I don't mean OSS, but ASS/Advanced SubStation Alpha subtitles.

It actually says:

Warning unknown option ass at line 10                                                                                                                                                 
Warning unknown option ass-font-scale at line 11                                                                                                                                      
Warning unknown option ass-force-style at line 12                                                                                                                                     
Option vf: ass doesn't exist.                                                                                                                                                         
Error parsing option vf=ass,screenshot at line 29                                                                                                                                     
ID_EXIT=NONE

Offline

#10 2009-03-08 13:55:18

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: xine/mplayer etc.., what video driver to use?

I compiled it with --enable-ass and it works

It still says

Couldn't open video filter 'ass'.                                                                                                                                                     
ASS: cannot add video filter

But it is of no influence.

I did install libass from AUR priorly. I also used that when installing mplayer-svn from AUR, but automatic detection didn't seem to work.

Offline

Board footer

Powered by FluxBB