You are not logged in.
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
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
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
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
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
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
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
how can I check if it's using it at all?
I'm glad it worked for you.
mplayer -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
mplayer 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
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
Last edited by Berseker (2008-12-24 13:04:51)
Offline
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
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
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%
Last edited by Berseker (2008-12-24 13:57:59)
Offline
Those options just slows the video playback down extremly.
Use the Source, Luke!
Offline
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
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.pngOh 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
Roberth: try this forum http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 regarding that error.
Offline
[...]
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
Someone here got nvidia pkgbuilds that works with the 2.6.28 kernel?
Use the Source, Luke!
Offline
Offline
The nvidia-beta in aur?
Does it work fine with vdpau?
Use the Source, Luke!
Offline
Offline
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
I read here (http://blog.mymediasystem.net/avchd/mpl … -matroska/) that the 180.18 version does not work with twinview:(
Offline
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 ).
Offline
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