You are not logged in.

#51 2008-12-19 21:25:04

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

Re: [Request]MPlayer with vdpau support?

Could you at least fix the mplayer nogui build it seem to require a lot more than the package requires.


Use the Source, Luke!

Offline

#52 2008-12-20 08:52:35

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

Re: [Request]MPlayer with vdpau support?

Roberth wrote:

Could you at least fix the mplayer nogui build it seem to require a lot more than the package requires.

I just stole the PKGBUILD from this thread, but I'll look into it.

Offline

#53 2008-12-23 08:07:16

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

Re: [Request]MPlayer with vdpau support?

And by the way a new nvidia beta is out which brings alot of vdpau fixes.

But I got mplayer with vdpau to compile but when playing 1080p video I see no difference according to htop when it comes to cpu load.

Last edited by Roberth (2008-12-23 09:06:18)


Use the Source, Luke!

Offline

#54 2008-12-23 16:34:21

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

Re: [Request]MPlayer with vdpau support?

Roberth wrote:

And by the way a new nvidia beta is out which brings alot of vdpau fixes.

But I got mplayer with vdpau to compile but when playing 1080p video I see no difference according to htop when it comes to cpu load.

The mplayer stuff gives me twice as much as cpu load as without vdpau. Using the patched xine results in 5% usage at max.

Offline

#55 2008-12-23 18:40:16

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

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:
Roberth wrote:

And by the way a new nvidia beta is out which brings alot of vdpau fixes.

But I got mplayer with vdpau to compile but when playing 1080p video I see no difference according to htop when it comes to cpu load.

The mplayer stuff gives me twice as much as cpu load as without vdpau. Using the patched xine results in 5% usage at max.

Where is the point with this if you get even more cpu usage?


Use the Source, Luke!

Offline

#56 2008-12-23 18:51:30

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

Re: [Request]MPlayer with vdpau support?

Roberth wrote:
buddabrod wrote:
Roberth wrote:

And by the way a new nvidia beta is out which brings alot of vdpau fixes.

But I got mplayer with vdpau to compile but when playing 1080p video I see no difference according to htop when it comes to cpu load.

The mplayer stuff gives me twice as much as cpu load as without vdpau. Using the patched xine results in 5% usage at max.

Where is the point with this if you get even more cpu usage?

It might be broken for my gpu...

Offline

#57 2008-12-23 20:20:59

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

Re: [Request]MPlayer with vdpau support?

Well me for it looks like mplayer doesn't use vdpau at all, the exact same load as without vdpau, how can I check if it's using it at all?

Well I was right, I didn't compile with vdpau support... now it works about 50-60 % lower cpu load when playing h264 video:)

Last edited by Roberth (2008-12-23 20:31:55)


Use the Source, Luke!

Offline

#58 2008-12-24 03:12:54

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

Re: [Request]MPlayer with vdpau support?

Roberth wrote:

how can I check if it's using it at all?

I'm glad it worked for you.

big_smilemplayer -vo vdpau -vc ffh264vdpau PREMIERE\ HD\ Das\ Imperium\ der\ Wölfe\ 20080124_222320\ #1.ts
MPlayer dev-SVN-r27960-4.3.2 (C) 2000-2008 MPlayer Team                                                                 
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)                               
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1                                                             
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2                                                                 
129 audio & 262 video codecs                                                                                             

Playing PREMIERE HD Das Imperium der Wölfe 20080124_222320 #1.ts.
TS file format detected.                                         
VIDEO H264(pid=767) AUDIO A52(pid=771) NO SUBS (yet)!  PROGRAM N. 129
FPS seems to be: 25.000000                                           
==========================================================================
Forced video codec: ffh264vdpau                                          
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family         
[VD_FFMPEG] VDPAU accelerated codec.                                     
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
   
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52                 
Using SSE optimized IMDCT transform                                       
Using MMX optimized resampler                                             
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)   
Selected audio codec: [a52] afm: liba52 (AC3-liba52)                     
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)                         
Starting playback...                                                     
[VD_FFMPEG] Trying pixfmt=0.                                             
VDec: vo config request - 1920 x 1088 (preferred colorspace: H.264 MAIN VDPAU acceleration)
VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1)           
                 
Movie-Aspect is 1.76:1 - prescaling to correct movie aspect.                               
VO: [vdpau] 1920x1088 => 1920x1088 H.264 MAIN VDPAU acceleration
......................................................................................................................................................................

Same file without VDPAU acceleration

sadmplayer PREMIERE\ HD\ Das\ Imperium\ der\ Wölfe\ 20080124_222320\ #1.ts
MPlayer dev-SVN-r27960-4.3.2 (C) 2000-2008 MPlayer Team                                       
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)     
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1                                   
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2                                       
129 audio & 262 video codecs                                                                   

Playing PREMIERE HD Das Imperium der Wölfe 20080124_222320 #1.ts.
TS file format detected.                                         
VIDEO H264(pid=767) AUDIO A52(pid=771) NO SUBS (yet)!  PROGRAM N. 129
FPS seems to be: 25.000000                                           
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family         
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

Offline

#59 2008-12-24 13:01:38

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: [Request]MPlayer with vdpau support?

Hi guys

I just want to share with you the PKGBUILD I've used to build this morning my mplayer-vdpau-svn package, consider that i've already installed on my system the 180.18 nvidia beta drivers.. and mplayer is patched with the latest vdpau patch (available since yesterday)

pkgname=mplayer-vdpau-nogui-svn
pkgver=27960
pkgrel=2
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.18' 'nvidia-beta>=180.18')
optdepends=('codecs')
makedepends=('subversion' 'mesa')
conflicts=('mplayer')
provides=('mplayer')
source=(ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3263604.tar.bz2)
md5sums=('49866b1df6d7c555c18b8c60b805dfdc')

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

    # 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
}

hope to have been useful.. and thanks for your suggestions on this thread, they've been very useful to me for building with success my package

oh and Merry Christmas to everyone wink

Last edited by Berseker (2008-12-24 13:04:51)

Offline

#60 2008-12-24 13:28:10

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

Re: [Request]MPlayer with vdpau support?

Berseker wrote:

Hi guys

I just want to share with you the PKGBUILD I've used to build this morning my mplayer-vdpau-svn package, consider that i've already installed on my system the 180.18 nvidia beta drivers.. and mplayer is patched with the latest vdpau patch (available since yesterday)

pkgname=mplayer-vdpau-nogui-svn
pkgver=27960
pkgrel=2
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.18' 'nvidia-beta>=180.18')
optdepends=('codecs')
makedepends=('subversion' 'mesa')
conflicts=('mplayer')
provides=('mplayer')
source=(ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3263604.tar.bz2)
md5sums=('49866b1df6d7c555c18b8c60b805dfdc')

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

    # 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
}

hope to have been useful.. and thanks for your suggestions on this thread, they've been very useful to me for building with success my package

oh and Merry Christmas to everyone wink

You are missing --enable-vdpau.

Looks like vdpau doesn't work with matroska container yet?

Last edited by Roberth (2008-12-24 13:34:04)


Use the Source, Luke!

Offline

#61 2008-12-24 13:56:24

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: [Request]MPlayer with vdpau support?

even if --enable-vdpau is not set, I can play without any issues .mkv (matroska) files with no effect on the cpu, if I use the options -vo vdpau -vc ffh264vdpau.. without those options, the cpu is occuped, about 30-40% wink

Last edited by Berseker (2008-12-24 13:57:59)

Offline

#62 2008-12-24 14:08:16

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

Re: [Request]MPlayer with vdpau support?

Those options just slows the video playback down extremly.


Use the Source, Luke!

Offline

#63 2008-12-25 14:12:40

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

Re: [Request]MPlayer with vdpau support?

new mplayer works great . they fix jumpy picture with mkv files . still cpu is 0 % .
16692741gf3.th.png

Offline

#64 2008-12-25 14:20:16

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

Re: [Request]MPlayer with vdpau support?

bgmiki wrote:

new mplayer works great . they fix jumpy picture with mkv files . still cpu is 0 % .
http://img214.imageshack.us/img214/9576 … gf3.th.png

Oh you mean new vdpau patches, when I'm trying to use them, I get this when playing a video:

Error 25 at libvo/vo_vdpau.c:992: -0.000   0/  0 ??% ??% ??,?% 5 0 99%

Last edited by Roberth (2008-12-25 14:35:20)


Use the Source, Luke!

Offline

#65 2008-12-25 17:53:52

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

Re: [Request]MPlayer with vdpau support?

Roberth wrote:
bgmiki wrote:

new mplayer works great . they fix jumpy picture with mkv files . still cpu is 0 % .
http://img214.imageshack.us/img214/9576 … gf3.th.png

Oh you mean new vdpau patches, when I'm trying to use them, I get this when playing a video:

Error 25 at libvo/vo_vdpau.c:992: -0.000   0/  0 ??% ??% ??,?% 5 0 99%

I don't have any problem either with vdpau h264 (mkv, ts..) and mpeg2 tested with patched mplayer and xine.
Another good news vlc player is getting vdpau support smile

Roberth: try this forum http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 regarding that error.

Offline

#66 2008-12-26 17:40:41

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

Re: [Request]MPlayer with vdpau support?

Berseker wrote:

[...]

I'm using this to build them for my little repo: http://rafb.net/p/k1Eimb76.html

As a reminder:

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

There is a package also for xine-lib-vdpau.

Offline

#67 2008-12-27 16:35:49

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

Re: [Request]MPlayer with vdpau support?

Someone here got nvidia pkgbuilds that works with the 2.6.28 kernel?


Use the Source, Luke!

Offline

#68 2008-12-27 21:57:40

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

Re: [Request]MPlayer with vdpau support?

The nvidia-beta in aur?

Offline

#69 2008-12-27 23:23:50

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

Re: [Request]MPlayer with vdpau support?

Vintendo wrote:

The nvidia-beta in aur?

Does it work fine with vdpau?


Use the Source, Luke!

Offline

#70 2008-12-27 23:29:15

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

Re: [Request]MPlayer with vdpau support?

Here they do.

Offline

#71 2008-12-28 14:01:33

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

Re: [Request]MPlayer with vdpau support?

I can't even get it to compile with the kernel 2.6.28, it fails to compile the kernel module.


Use the Source, Luke!

Offline

#72 2008-12-29 11:27:32

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

Re: [Request]MPlayer with vdpau support?

i try vdpau with smplayer and this is works . u can play avi, mpeg , mkv files . wmv crash sad
snapshot6fs4.th.png

Offline

#73 2008-12-29 21:53:16

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

Re: [Request]MPlayer with vdpau support?

I read here (http://blog.mymediasystem.net/avchd/mpl … -matroska/) that the 180.18 version does not work with twinview:(

Offline

#74 2009-01-04 19:24:57

vr4b4c
Member
Registered: 2008-12-30
Posts: 37

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:
Berseker wrote:

[...]

I'm using this to build them for my little repo: http://rafb.net/p/k1Eimb76.html

As a reminder:

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

There is a package also for xine-lib-vdpau.

Hi, i vote to for x86_64 version, or a PKGBUILD file smile).

Offline

#75 2009-01-04 23:02:25

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

Re: [Request]MPlayer with vdpau support?

It's here http://rafb.net/p/TpboNR42.html
I think there wont be a prebuilt x86_64 version soon although I'm the kdemod-legacy maintainer for this architecture. Since the system b0rked I didnt find the time and motivation to set up another one (should only take 30-60 min, though).

Offline

Board footer

Powered by FluxBB