You are not logged in.

#26 2008-12-15 01:07:07

bgmiki
Member
Registered: 2008-09-24
Posts: 26

Re: [Request]MPlayer with vdpau support?

did u install 180.16 from aur because vdpau lib is enable in nvidia-utils-beta?

Offline

#27 2008-12-15 11:21:10

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: [Request]MPlayer with vdpau support?

Does it work with anybody on i686? And does it work with anyone on x86_64 or am i just lucky?

Offline

#28 2008-12-15 12:20:11

bgmiki
Member
Registered: 2008-09-24
Posts: 26

Re: [Request]MPlayer with vdpau support?

pkgname=mplayer-vdpau-nogui-svn
pkgver=27960
pkgrel=1
pkgdesc="Famous multimedia player, dev. version, without its GUI and support for nvidia VDPAU"
arch=('i686' 'x86_64')
url="http://www.mplayerhq.hu/"
license=('GPL')
depends=('libxv' 'libgl' 'ttf-dejavu' 'libtheora' 'nvidia-utils-beta=>180.16-1' 'nvidia-beta=>180.16-1')
optdepends=('codecs')
makedepends=('subversion' 'mesa')
conflicts=('mplayer')
provides=('mplayer')
source=(ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3219724.tar.bz2)
md5sums=(38d3adfb5441f2e93da9ed0569c23260)

build() {
    cd $srcdir/mplayer-vdpau-3219724

    # Custom CFLAGS break the mplayer build
    unset CFLAGS

    co_dir=mplayer-vdpau
    
    svn co --ignore-externals -r 27960 svn://svn.mplayerhq.hu/mplayer/trunk ${co_dir} || return 1
    cd ${co_dir} || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libpostproc || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavformat || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavutil || return 1

    patch -p0 < ../mplayer-vdpau-mplayer.patch || return 1
    patch -p0 < ../mplayer-vdpau-libavutil.patch || return 1
    patch -p0 < ../mplayer-vdpau-libavcodec.patch || return 1 
    

    ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
    --disable-runtime-cpudetection --enable-largefiles --enable-menu \
    --disable-libdv --disable-aa --disable-liblzo --disable-speex \
    --disable-fribidi --disable-arts --disable-smb --disable-dvdnav \
    --disable-openal --disable-faad-internal --disable-jack \
    --disable-musepack --disable-libamr_nb --disable-libamr_wb --disable-lirc \
    --disable-lircc --disable-x264 --disable-mencoder

    make -j2 || return 1
    make -j1 DESTDIR=$pkgdir install || return 1

    install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
    install -d $pkgdir/usr/share/mplayer/
    ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
}

this is work for me on i686 but same pkg gives error in x86_64

Last edited by bgmiki (2008-12-15 12:24:04)

Offline

#29 2008-12-15 16:14:38

augegr
Member
Registered: 2007-10-03
Posts: 36

Re: [Request]MPlayer with vdpau support?

This one builds and runs fine on x86_64:

pkgname=mplayer-vdpau-nogui-svn
pkgver=28056
pkgrel=1
pkgdesc="Famous multimedia player, dev. version, without its GUI, VDPAU patches included."
arch=('i686' 'x86_64')
url="http://www.mplayerhq.hu/"
license=('GPL')
depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia'
         'sdl' 'lame' 'libtheora' 'xvidcore' 'zlib'
         'libgl' 'smbclient' 'aalib' 'jack-audio-connection-kit'
         'x264' 'faac' 'lirc-utils' 'ttf-dejavu' 'fribidi'
      'amrnb' 'amrwb')
makedepends=('subversion')
conflicts=('mplayer')
provides=('mplayer')
source=()
md5sums=()

build() {

  cd $srcdir
  svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer -r $pkgver
  cd mplayer
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libpostproc
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavformat
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavutil

  CFLAGS="$CFLAGS -fomit-frame-pointer"
  patch -p0 < ../../mplayer-vdpau-mplayer.patch 
  patch -p0 < ../../mplayer-vdpau-libavutil.patch 
  patch -p0 < ../../mplayer-vdpau-libavcodec.patch 
  ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
    --enable-largefiles --enable-menu --enable-freetype --enable-ass \
    --disable-x264-lavc --disable-x264 --enable-vdpau

  make || return 1
  make DESTDIR=$pkgdir install || return 1

  install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
  install -d $pkgdir/usr/share/mplayer/
  ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
  rm -rf $srcdir/mplayer

}

you just need the nvidia patches extracted in the same dir as the PKGBUILD

Last edited by augegr (2008-12-15 16:15:40)

Offline

#30 2008-12-15 16:58:57

bgmiki
Member
Registered: 2008-09-24
Posts: 26

Re: [Request]MPlayer with vdpau support?

augegr wrote:

This one builds and runs fine on x86_64:

pkgname=mplayer-vdpau-nogui-svn
pkgver=28056
pkgrel=1
pkgdesc="Famous multimedia player, dev. version, without its GUI, VDPAU patches included."
arch=('i686' 'x86_64')
url="http://www.mplayerhq.hu/"
license=('GPL')
depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia'
         'sdl' 'lame' 'libtheora' 'xvidcore' 'zlib'
         'libgl' 'smbclient' 'aalib' 'jack-audio-connection-kit'
         'x264' 'faac' 'lirc-utils' 'ttf-dejavu' 'fribidi'
      'amrnb' 'amrwb')
makedepends=('subversion')
conflicts=('mplayer')
provides=('mplayer')
source=()
md5sums=()

build() {

  cd $srcdir
  svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer -r $pkgver
  cd mplayer
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libpostproc
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavformat
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec
  svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavutil

  CFLAGS="$CFLAGS -fomit-frame-pointer"
  patch -p0 < ../../mplayer-vdpau-mplayer.patch 
  patch -p0 < ../../mplayer-vdpau-libavutil.patch 
  patch -p0 < ../../mplayer-vdpau-libavcodec.patch 
  ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
    --enable-largefiles --enable-menu --enable-freetype --enable-ass \
    --disable-x264-lavc --disable-x264 --enable-vdpau

  make || return 1
  make DESTDIR=$pkgdir install || return 1

  install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
  install -d $pkgdir/usr/share/mplayer/
  ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
  rm -rf $srcdir/mplayer

}

you just need the nvidia patches extracted in the same dir as the PKGBUILD

i said that this pkg works for me in i686 and i do not need nvidia patches smile

Offline

#31 2008-12-15 17:36:18

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: [Request]MPlayer with vdpau support?

bgmiki wrote:

did u install 180.16 from aur because vdpau lib is enable in nvidia-utils-beta?

Hi

My PKGBUILD is based on wilson's
http://djail.com/pacman/nvidia-utils/PKGBUILD
http://djail.com/pacman/nvidia/PKGBUILD
I just changed to 180.16, new files and md5sum. i did'nt install from AUR, both my nvidia-beta and nvidia-utls-beta are based on his.

Offline

#32 2008-12-15 19:00:19

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Request]MPlayer with vdpau support?

bgmiki wrote:
pkgname=mplayer-vdpau-nogui-svn
pkgver=27960
pkgrel=1
pkgdesc="Famous multimedia player, dev. version, without its GUI and support for nvidia VDPAU"
arch=('i686' 'x86_64')
url="http://www.mplayerhq.hu/"
license=('GPL')
depends=('libxv' 'libgl' 'ttf-dejavu' 'libtheora' 'nvidia-utils-beta=>180.16-1' 'nvidia-beta=>180.16-1')
optdepends=('codecs')
makedepends=('subversion' 'mesa')
conflicts=('mplayer')
provides=('mplayer')
source=(ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3219724.tar.bz2)
md5sums=(38d3adfb5441f2e93da9ed0569c23260)

build() {
    cd $srcdir/mplayer-vdpau-3219724

    # Custom CFLAGS break the mplayer build
    unset CFLAGS

    co_dir=mplayer-vdpau
    
    svn co --ignore-externals -r 27960 svn://svn.mplayerhq.hu/mplayer/trunk ${co_dir} || return 1
    cd ${co_dir} || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libpostproc || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavformat || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec || return 1
    svn co -r 15884 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavutil || return 1

    patch -p0 < ../mplayer-vdpau-mplayer.patch || return 1
    patch -p0 < ../mplayer-vdpau-libavutil.patch || return 1
    patch -p0 < ../mplayer-vdpau-libavcodec.patch || return 1 
    

    ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
    --disable-runtime-cpudetection --enable-largefiles --enable-menu \
    --disable-libdv --disable-aa --disable-liblzo --disable-speex \
    --disable-fribidi --disable-arts --disable-smb --disable-dvdnav \
    --disable-openal --disable-faad-internal --disable-jack \
    --disable-musepack --disable-libamr_nb --disable-libamr_wb --disable-lirc \
    --disable-lircc --disable-x264 --disable-mencoder

    make -j2 || return 1
    make -j1 DESTDIR=$pkgdir install || return 1

    install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
    install -d $pkgdir/usr/share/mplayer/
    ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
}

this is work for me on i686 but same pkg gives error in x86_64

I get a complete different compile fail with this one:

libavcodec/libavcodec.a(h264.o): In function `decode_nal_units':
h264.c:(.text+0x2e48e): undefined reference to `VDPAU_h264_add_data_chunk'
h264.c:(.text+0x2e4ad): undefined reference to `VDPAU_h264_add_data_chunk'
h264.c:(.text+0x30ea7): undefined reference to `VDPAU_h264_add_data_chunk'
libavcodec/libavcodec.a(h264.o): In function `decode_frame':
h264.c:(.text+0x316eb): undefined reference to `VDPAU_h264_picture_complete'
libavcodec/libavcodec.a(mpeg12.o): In function `decode_chunks':
mpeg12.c:(.text+0x5d9f): undefined reference to `VDPAU_mpeg_picture_complete'
mpeg12.c:(.text+0x6645): undefined reference to `VDPAU_mpeg_field_start'
libavcodec/libavcodec.a(vc1.o): In function `vc1_decode_frame':
vc1.c:(.text+0x12907): undefined reference to `VDPAU_vc1_decode_picture'
vc1.c:(.text+0x13734): undefined reference to `decode_postinit'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
==> ERROR: Build Failed.
    Aborting...

Which seem to me to be directly asociated with the vdpau patches.


Use the Source, Luke!

Offline

#33 2008-12-16 00:34:43

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: [Request]MPlayer with vdpau support?

bgmiki wrote:

this is work for me on i686 but same pkg gives error in x86_64

Thanks it works for me now smile just tested with a full HD h264 ts file, with vdapau my CPU is 1% without 24% on my INTEL CORE 2 QUAD Q6600 2.4 GHZ

Offline

#34 2008-12-16 05:09:11

bgmiki
Member
Registered: 2008-09-24
Posts: 26

Re: [Request]MPlayer with vdpau support?

picture jump with mkv files but they fix this in next nvidia drive.
@decaturguy nice  smile

Offline

#35 2008-12-17 14:40:34

wilson
Member
Registered: 2008-02-26
Posts: 13

Re: [Request]MPlayer with vdpau support?

I updated the PKGBUILDS to 180.16 (sorry for not doing it sooner)

http://djail.com/pacman/nvidia-utils/PKGBUILD
http://djail.com/pacman/nvidia/PKGBUILD

Offline

#36 2008-12-17 17:09:09

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: [Request]MPlayer with vdpau support?

wilson wrote:

I updated the PKGBUILDS to 180.16 (sorry for not doing it sooner)

http://djail.com/pacman/nvidia-utils/PKGBUILD
http://djail.com/pacman/nvidia/PKGBUILD

thanks for posting these


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#37 2008-12-17 19:03:23

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Request]MPlayer with vdpau support?

Hello I got a package with mplayer with vdpau support here but I seem to miss some library, anyone know whats wrong?

mplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory


Use the Source, Luke!

Offline

#38 2008-12-17 23:47:18

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: [Request]MPlayer with vdpau support?

Roberth wrote:

Hello I got a package with mplayer with vdpau support here but I seem to miss some library, anyone know whats wrong?

mplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory

i believe you need to build the nvidia/nvidia-utils packages with the PKGBUILDs posted above, the nvidia-utils package copies over the necessary library/include files, i believe the regular nvidia package does not (correct me if i'm wrong).


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#39 2008-12-17 23:57:19

toxygen
Member
Registered: 2008-08-22
Posts: 713

Re: [Request]MPlayer with vdpau support?

bgmiki wrote:
augegr wrote:

This one builds and runs fine on x86_64:

pkgname=mplayer-vdpau-nogui-svn
pkgver=28056
pkgrel=1
}

you just need the nvidia patches extracted in the same dir as the PKGBUILD

i said that this pkg works for me in i686 and i do not need nvidia patches smile

after building the nvidia/nvidia-utils from the PKGBUILDs posted above, tried the mplayer PKGBUILD on arch 64, built with no problems, thanks!

wont have a chance to test til i get home, but this is further than i got with the previous nvidia drivers


"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"

Offline

#40 2008-12-18 10:29:52

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

Hey there, I made a small repo for some of these packages (including xine-lib vdpau branch).

Add these lines to your /etc/pacman.conf:

[vdpau-repo]
Server = http://www-user.rhrk.uni-kl.de/~dbrendel/repo/i686

It's i686 only for now until there are enough requests for x86_64.

vdpau with xine doesnt work for me so far, I just get a crappy screen and a nice crash.

Feedback is very welcome!

Offline

#41 2008-12-18 15:37:41

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [Request]MPlayer with vdpau support?

Says no permission on that directory


Acer Aspire V5-573P Antergos KDE

Offline

#42 2008-12-18 19:07:11

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:

Hey there, I made a small repo for some of these packages (including xine-lib vdpau branch).

Add these lines to your /etc/pacman.conf:

[vdpau-repo]
Server = http://www-user.rhrk.uni-kl.de/~dbrendel/repo/i686

It's i686 only for now until there are enough requests for x86_64.

vdpau with xine doesnt work for me so far, I just get a crappy screen and a nice crash.

Feedback is very welcome!

I would like to see it for x86_64 please:P


Use the Source, Luke!

Offline

#43 2008-12-18 19:26:37

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Request]MPlayer with vdpau support?

toxygen wrote:
Roberth wrote:

Hello I got a package with mplayer with vdpau support here but I seem to miss some library, anyone know whats wrong?

mplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory

i believe you need to build the nvidia/nvidia-utils packages with the PKGBUILDs posted above, the nvidia-utils package copies over the necessary library/include files, i believe the regular nvidia package does not (correct me if i'm wrong).

mplayer: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

what do I miss now?


Use the Source, Luke!

Offline

#44 2008-12-18 20:07:51

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

venky80 wrote:

Says no permission on that directory

You can not list it via browser but you should be able to sync and download.

@Roberth: Maybe tomorrow or next week wink

Offline

#45 2008-12-18 20:11:14

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

Re: [Request]MPlayer with vdpau support?

Roberth wrote:
toxygen wrote:
Roberth wrote:

Hello I got a package with mplayer with vdpau support here but I seem to miss some library, anyone know whats wrong?

mplayer: error while loading shared libraries: libvdpau.so.1: cannot open shared object file: No such file or directory

i believe you need to build the nvidia/nvidia-utils packages with the PKGBUILDs posted above, the nvidia-utils package copies over the necessary library/include files, i believe the regular nvidia package does not (correct me if i'm wrong).

mplayer: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

what do I miss now?

sdl.

Offline

#46 2008-12-18 22:11:33

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Request]MPlayer with vdpau support?

Anybody here has a mplayer package with vdpau support for x86_64 which is as minimal as the mplayer-no-gui in aur?


Use the Source, Luke!

Offline

#47 2008-12-18 23:00:13

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

The xine version works very fine here.. Better than the mplayer thing.

Dont forget to change engine.buffers.video_num_frames to 22 in your ~/.xine/config

Offline

#48 2008-12-18 23:52:25

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:

The xine version works very fine here.. Better than the mplayer thing.

Dont forget to change engine.buffers.video_num_frames to 22 in your ~/.xine/config

Quite logical since the MPlayer patches are very experimental.

Maybe rename the nvidia drivers to nvidia-vdpau or something to not mix them with the official nvidia-driver packages.

Last edited by Roberth (2008-12-18 23:55:35)


Use the Source, Luke!

Offline

#49 2008-12-19 00:17:05

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

Re: [Request]MPlayer with vdpau support?

why to rename it? there is nvidia-beta in aur


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

Offline

#50 2008-12-19 09:08:55

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

Roberth wrote:
buddabrod wrote:

The xine version works very fine here.. Better than the mplayer thing.

Dont forget to change engine.buffers.video_num_frames to 22 in your ~/.xine/config

Quite logical since the MPlayer patches are very experimental.

Maybe rename the nvidia drivers to nvidia-vdpau or something to not mix them with the official nvidia-driver packages.

The mplayer patches are developed by nvidia and they exist longer than the xine implementation which is done by the community. BOTH are highly experimental.

I dont like changing the name, since arch repos might provide a more recent version of the driver faster than I myself tongue and I dont expect the arch devs to not include vdpau stuff. It doesnt break anything if you dont use it, though.

Offline

Board footer

Powered by FluxBB