vdpau & vlc

*nix specific usage questions
cherryzi3
New Cone
New Cone
Posts: 2
Joined: 15 Aug 2009 00:50

Re: vdpau & vlc

Postby cherryzi3 » 10 Sep 2009 02:06

Yeah increase udp-caching doesn't help in my case... any other ideas?

Here's what I did to get VA-API working (sort of...):

1) Install VLC_1.0.0 and make sure it's working properly before going to the next step

2) Install libva_0.30.4+sds3 (http://www.splitted-desktop.com/~gbeauchesne/libva/) by doing the following:
$ tar zxvf libva_0.30.4-1+sds3.tar.gz
$ cd libva-0.30.4
$ for p in debian/patches/*.patch; do patch -p1 < $p; done
$ autoreconf -f -i
$ ./configure
$ make
$ make install
(Thanks to Gwenole Beauchesne, who provided me with the above instructions :) )
In order to install libva, I had to install other libraries -- these are pretty straight forward since the error message(s) indicated what was missing.

4) Install vdpau-video_0.3.2 (http://www.splitted-desktop.com/~gbeauc ... pau-video/) -- just do the usual 'make' and 'make install'

** NOTE: up to this point, make sure libva is properly installed by running vainfo

5) Patch ffmpeg with h264-vaapi (http://lists.mplayerhq.hu/pipermail/ffm ... 71061.html):
a) Copy h264-vaapi.patch to ffmpeg project root
b) Appy patch:
$ patch -p0 < h264-vaapi.patch
d) Compile and install FFmpeg:
$ ./configure --enable-gpl --enable-postproc <...and/or other optional configurations...>
$ make
$ make install

** NOTE: after ./configure, make sure you see 'h264_vaapi' under 'hw_accel'

6) Patch VLC with VA-API (http://mailman.videolan.org/pipermail/v ... 58798.html)
a) Copy the patch to VLC project root (in my case I called it "vlc-vaapi.patch")
b) Apply patch:
$ patch -p1 < vlc-vaapi.patch
c) Edit vlc-config.in.in and add "-lX11 -lva -lva-x11" to libs=""
d) $ ./configure <...optional configurations...>
e) modify <vlc_root>/modules/codec/avcodec/Makefile to include vaapi.h and vaapi.c (this is a bit confusing, but in short, just search for 'avcodec.c', replicate those lines, and rename to vaapi)
f) compile:
$ make
$ make install

And there you go! You now have VLC with VA-API (which uses VDPAU as backend) :D

TimeWaster
New Cone
New Cone
Posts: 5
Joined: 27 Aug 2009 15:41

Re: vdpau & vlc

Postby TimeWaster » 10 Sep 2009 10:00

Keep in mind, this is a DRAFT HOWTO in version v0.0.0.0.0.0.0.0.1. :-|
i followed your howto right to the final "make" (i never thought to get that far), but unfortunately this make stops with an error:

Code: Select all

make[6]: *** [libvdpau_plugin_la-video.lo] Error 1 make[6]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec/vdpau' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec/vdpau' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nas/Desktop/vlc/build/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nas/Desktop/vlc/build' make: *** [all] Error 2
and i dont know what that means.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vdpau & vlc

Postby Jean-Baptiste Kempf » 10 Sep 2009 11:58

People need info above that.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

TimeWaster
New Cone
New Cone
Posts: 5
Joined: 27 Aug 2009 15:41

Re: vdpau & vlc

Postby TimeWaster » 10 Sep 2009 21:37

okok:

Code: Select all

libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../../modules/codec/vdpau -I../../.. -I../../../../include -I../../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=vdpau -DMODULE_NAME_IS_vdpau -DMODULE_STRING=\"vdpau\" -g -O2 -ffast-math -funroll-loops -mtune=pentium2 -Werror=unused-function -Werror=unused-label -Werror=unused-value -Werror=unused-parameter -Werror=unused-variable -Werror=unused -Werror=missing-braces -Werror=nonnull -Werror=parentheses -Werror=address -Werror=undef -Werror=comment -Werror=switch -Werror=bad-function-cast -Werror=implicit -Werror=sequence-point -Werror=strict-aliasing -Werror=array-bounds -Werror=missing-parameter-type -Werror=overflow -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=div-by-zero -Werror=overflow -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -MT libvdpau_plugin_la-video.lo -MD -MP -MF .deps/libvdpau_plugin_la-video.Tpo -c ../../../../modules/codec/vdpau/video.c -fPIC -DPIC -o .libs/libvdpau_plugin_la-video.o ../../../../modules/codec/vdpau/video.c:40:44: error: src/video_output/vout_pictures.h: No such file or directory ../../../../modules/codec/vdpau/video.c:93: warning: ‘AVPaletteControl’ is deprecated ../../../../modules/codec/vdpau/video.c:140: warning: ‘AVPaletteControl’ is deprecated ../../../../modules/codec/vdpau/video.c:234: warning: no previous prototype for ‘debug_vdp_status’ ../../../../modules/codec/vdpau/video.c:243: warning: no previous prototype for ‘error_vdp_status’ ../../../../modules/codec/vdpau/video.c: In function ‘ffmpeg_PreemptionCallback’: ../../../../modules/codec/vdpau/video.c:253: error: unused parameter ‘device’ ../../../../modules/codec/vdpau/video.c: In function ‘ffmpeg_reinitialize_decoder’: ../../../../modules/codec/vdpau/video.c:277: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:277: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:292: warning: passing argument 2 of ‘p_sys->pf_vdp_preemption_callback_register’ from incompatible pointer type ../../../../modules/codec/vdpau/video.c:293: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:293: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c: In function ‘ffmpeg_OpenVDPAU’: ../../../../modules/codec/vdpau/video.c:1028: warning: passing argument 2 of ‘p_sys->pf_vdp_preemption_callback_register’ from incompatible pointer type ../../../../modules/codec/vdpau/video.c:1032: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1032: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c: In function ‘ffmpeg_CopyPicture’: ../../../../modules/codec/vdpau/video.c:1085: warning: comparison between pointer and integer ../../../../modules/codec/vdpau/video.c:1094: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1094: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1111: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1111: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1117: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘struct VdpBitstreamBuffer *’ ../../../../modules/codec/vdpau/video.c:1127: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1127: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1145: warning: implicit declaration of function ‘vlc_memalign’ ../../../../modules/codec/vdpau/video.c:1145: warning: assignment makes pointer from integer without a cast ../../../../modules/codec/vdpau/video.c:1153: warning: passing argument 3 of ‘p_sys->pf_vdp_video_surface_get_bits_y_cb_cr’ from incompatible pointer type ../../../../modules/codec/vdpau/video.c:1155: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1155: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c: In function ‘ffmpeg_ReGetFrameBuf’: ../../../../modules/codec/vdpau/video.c:1276: warning: comparison between signed and unsigned ../../../../modules/codec/vdpau/video.c: In function ‘vdpau_GetFreeSurface’: ../../../../modules/codec/vdpau/video.c:1436: warning: passing argument 1 of ‘error_vdp_status’ discards qualifiers from pointer target type ../../../../modules/codec/vdpau/video.c:1436: warning: passing argument 2 of ‘error_vdp_status’ discards qualifiers from pointer target type make[6]: *** [libvdpau_plugin_la-video.lo] Error 1 make[6]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec/vdpau' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec/vdpau' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/nas/Desktop/vlc/build/modules/codec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nas/Desktop/vlc/build/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nas/Desktop/vlc/build' make: *** [all] Error 2

TimeWaster
New Cone
New Cone
Posts: 5
Joined: 27 Aug 2009 15:41

Re: vdpau & vlc

Postby TimeWaster » 14 Sep 2009 21:27

well, since noone here seems to know how to help me, i give up here and live a few month with this shitty mplayer.

i hope the vdpau support will be added to vlc soon.

fabriciolelis
New Cone
New Cone
Posts: 4
Joined: 14 Dec 2009 20:42

Re: vdpau & vlc

Postby fabriciolelis » 14 Dec 2009 20:45

I tried to install and i have some problems and one of that is the output of vainfo:
fabricio@iris:~/Desktop/vdpau-video-0.6.0$ vainfo
libva: libva version 0.31.0-sds4
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/local/lib/va/drivers/nvidia_drv_video.so
libva error: /usr/local/lib/va/drivers/nvidia_drv_video.so init failed
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Some one have any idea?
Thanks in advance!

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: vdpau & vlc

Postby djstava » 21 Dec 2009 11:24

I use vlc-1.1.0-git,but it seems doesn't work for hardware decoding.
I need a more detail operation list.
Thanks.

fabriciolelis
New Cone
New Cone
Posts: 4
Joined: 14 Dec 2009 20:42

Re: vdpau & vlc

Postby fabriciolelis » 21 Dec 2009 20:04

I installed all video acceleration libraries and vlc git but i see nothing in vlc. And this errors is shows:
VLC media player 1.1.0-git The Luggage
[0x9dfaa8c] main interface error: no interface module matched "globalhotkeys,none"
[0x9dfaa8c] main interface error: no suitable interface module
[0x9d7213c] main libvlc error: interface "globalhotkeys,none" initialization failed
[0xa04acb4] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0xa04acb4] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

fabriciolelis
New Cone
New Cone
Posts: 4
Joined: 14 Dec 2009 20:42

Re: vdpau & vlc

Postby fabriciolelis » 11 Feb 2010 20:56

Some have tried to do tests between VLC and Mplayer with VDPAU integrated? What the results?

smpn
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Feb 2007 20:44

Re: vdpau & vlc

Postby smpn » 12 Apr 2010 23:05

Any updates on Ubuntu 9.10 integration?

It looks like ffmpeg supports VDPAU with no tweaking (just did apt-get install ffmpeg)

Code: Select all

$ ffmpeg -formats | grep vdpau FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al. ... D V D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) D V DT mpeg1video_vdpau MPEG-1 video (VDPAU acceleration) D V DT mpegvideo_vdpau MPEG-1/2 video (VDPAU acceleration) D V D vc1_vdpau SMPTE VC-1 VDPAU D V D wmv3_vdpau Windows Media Video 9 VDPAU
So, I can use that right away with mplayer-nogui via "mplayer -vc ffh264vdpau -vo vdpau"
Beautiful low CPU full screen HDTV!! Now if only in VLC...
The package version on Ubuntu 9.10 is "vlc/karmic uptodate 1.0.2-1ubuntu2.1"

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vdpau & vlc

Postby Rémi Denis-Courmont » 13 Apr 2010 17:04

VLC supports only VAAPI, and from versions 1.1.0 onward.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

bsmith1051
Blank Cone
Blank Cone
Posts: 14
Joined: 20 May 2009 20:08

Re: vdpau & vlc

Postby bsmith1051 » 15 Apr 2010 02:27

I thought that 'libva' was a VAAPI interface with a VDPAU backend?

I installed both 'libva' and 'libva1' through the FTP site's AMD64 packages but the 'vainfo' command-line reports, "Trying to open /usr/lib/va/drivers/nvidia_drv_video.so" and then fails. Does libva expect the open-source 'nvidia' driver perhaps, instead of the proprietary Nvidia?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vdpau & vlc

Postby Jean-Baptiste Kempf » 15 Apr 2010 12:18

I thought that 'libva' was a VAAPI interface with a VDPAU backend?
Yes.

And no, you need the nVidia driver from nVidia Corp.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vdpau & vlc

Postby Rémi Denis-Courmont » 15 Apr 2010 20:59

VDPAU may be open-source. But it's written against an X11 extension protocol which is implemented only by the proprietary "NVidia driver from nVideo Corp.".
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Hansvon
New Cone
New Cone
Posts: 5
Joined: 07 May 2010 14:22

Re: vdpau & vlc

Postby Hansvon » 07 May 2010 15:56

I've managed to get vaapi(->vdpau) working with VLC 1.1.0 (pre3). However, the CPU usage remains quite high compared to MPlayer:
1080p VC-1 Blu-ray:
- VLC: ~60%
- MPlayer: ~9%
- without acceleration: 100% (unwatchable)
720p H.264 mkv:
- VLC: ~40%
- MPlayer:~ 5%
- wo acc: 80%-90%

I see the same CPU usage in MPlayer is I use vdpau directy or vaapi->vdpau. The system is a Nvidia ION (atom + geforce 9400).

Somebody noticed the same thing?

Anyway, the 60% in the 1080p Blu-ray is stable, no frames are dropped so it's already great!

heaven87
Blank Cone
Blank Cone
Posts: 41
Joined: 14 Feb 2010 16:35
Operating System: Linux
Contact:

Re: vdpau & vlc

Postby heaven87 » 08 May 2010 16:24

Hi. Yep, MPlayer with vdpau works better. But I have more modest results with 1080p and VC1 codec. 60% of CPU it's not so bad :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vdpau & vlc

Postby Jean-Baptiste Kempf » 08 May 2010 18:24

I am not surprised by your numbers, because VLC needs to get the data back and isn't directly using a vdpau_vout
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

calanor
Blank Cone
Blank Cone
Posts: 50
Joined: 08 May 2010 19:36

Re: vdpau & vlc

Postby calanor » 08 May 2010 20:09

I compiled vlc to Mandriva 2010.0 x86_64 but the acceleration does not work.
libva with patches appears to be ok. vainfo return

Code: Select all

libva: libva version 0.31.0-sds3 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /home/thresh/sandbox/lib/va/nvidia_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API - 0.5.2 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
ffmpeg with patch also seems to be ok. "ffmpeg -formats | grep vdpau" return:

Code: Select all

FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al. All the errors with this package you should report to ALT Linux bugzilla (https://bugzilla.altlinux.org)! libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.29. 1 / 52.29. 1 libavformat 52.33. 0 / 52.33. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on May 8 2010 07:05:35, gcc: 4.4.1 D V D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) D V DT mpeg1video_vdpau MPEG-1 video (VDPAU acceleration) D V DT mpegvideo_vdpau MPEG-1/2 video (VDPAU acceleration) D V D vc1_vdpau SMPTE VC-1 VDPAU D V D wmv3_vdpau Windows Media Video 9 VDPAU
But VLC does not seem to support the aceración VDPAU and not include ffmpeg support. "vlc -list | grep ffmpeg" returns nothing:

Code: Select all

VLC media player 1.2.0-git Twoflower (revision exported)
while the original vlc returned:

Code: Select all

VLC media player 1.0.6 Goldeneye avcodec Decodificador d’àudio/vídeo ffmpeg avcodec Filtre de vídeo desentrellaçat ffmpeg avcodec Codificador d’àudio/vídeo ffmpeg avformat Demultiplexor ffmpeg avformat Multiplexor ffmpeg
In the "configure" of VLC (from git master) the only setting I've seen that supports ffmpeg is - enable-merge-ffmpeg.

Any idea for full support of vdpau in vlc?

thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vdpau & vlc

Postby Jean-Baptiste Kempf » 08 May 2010 20:15

ffmpeg -formats | grep vaapi
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

calanor
Blank Cone
Blank Cone
Posts: 50
Joined: 08 May 2010 19:36

Re: vdpau & vlc

Postby calanor » 08 May 2010 22:13

ffmpeg -formats | grep vaapi[/quote
Nothing

Code: Select all

[root@localhost vlc]# ffmpeg -formats | grep vaapi FFmpeg version UNKNOWN, Copyright (c) 2000-2009 Fabrice Bellard, et al. All the errors with this package you should report to ALT Linux bugzilla (https://bugzilla.altlinux.org)! libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.29. 1 / 52.29. 1 libavformat 52.33. 0 / 52.33. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on May 8 2010 07:05:35, gcc: 4.4.1
My configure options:

Code: Select all

./configure --enable-libva --enable-x11 --enable-xvideo --disable-gtk --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-flac --enable-live555 --enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde --enable-qt4 --enable-ncurses --enable-release --enable-realrtsp --enable-twolame --enable-real --enable-cddax --enable-x264 --with-ffmpeg-tree=/home/myuser/mp/ffmpeg --disable-a52 --with-pic --enable-ffmpeg --enable-merge-ffmpeg

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vdpau & vlc

Postby Jean-Baptiste Kempf » 09 May 2010 10:07

You diddn't compile ffmpeg with vaapi.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

calanor
Blank Cone
Blank Cone
Posts: 50
Joined: 08 May 2010 19:36

Re: vdpau & vlc

Postby calanor » 09 May 2010 15:26

Some have tried to do tests between VLC and Mplayer with VDPAU integrated? What the results?
This 1080p trailer in a Atom 330 dual core with 2 GBytes RAM and nvidia ION:

mplayer : CPU at 98% (with playback problems)
mplayer with vdpau : CPU at 8% (Incredible but true, playback fine)

vlc: CPU at 108% (with playback problems )
vlc with vaapi and HW accel enabled : 65%
Last edited by calanor on 11 May 2010 00:30, edited 1 time in total.

calanor
Blank Cone
Blank Cone
Posts: 50
Joined: 08 May 2010 19:36

Re: vdpau & vlc

Postby calanor » 09 May 2010 17:37

You diddn't compile ffmpeg with vaapi.
How to compile vlc with vaapi?
not is the option "--enable-libva " in ./configure?

thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vdpau & vlc

Postby Jean-Baptiste Kempf » 09 May 2010 23:57

--enable-vaapi
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

calanor
Blank Cone
Blank Cone
Posts: 50
Joined: 08 May 2010 19:36

Re: vdpau & vlc

Postby calanor » 10 May 2010 11:50

--enable-vaapi
configure: WARNING: unrecognized options: --enable-x11, --disable-gtk, --enable-libdvbpsi, --enable-faac, --enable-skins, --disable-kde, --enable-release, --enable-cddax, --with-ffmpeg-tree, --enable--ffmpeg, --enable-vaapi

The source its from vlc git.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests