vdpau & vlc

*nix specific usage questions
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: 15133
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: 37519
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: 15133
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: 37519
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: 37519
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: 37519
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: 37519
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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
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 May 2010 13:55

--enable-vaapi is for your ffmpeg
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.

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

Re: vdpau & vlc

Postby heaven87 » 11 May 2010 10:07

Hi. I have segmentation fault after VLC plays video in VC1 when vaapi enabled.

Code: Select all

[heaven@arch: ~$] vlc VLC media player 1.2.0-git Twoflower (revision 1.1.0-pre1-406-g29f84aa) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x233d728] logger interface: using logger. Blocked: call to setlocale(6, "") Blocked: call to sigaction(17, 0x7f3d73630ad0, 0x7f3d73630b70) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to strerror(2) Blocked: call to setlocale(6, "") Blocked: call to strerror(2) Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() No accelerated IMDCT transform found libva: libva version 0.31.0-sds6 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so libva: va_openDriver() returns 0 [0x2845d58] avcodec decoder: Using VA API version 0.31 for hardware decoding. libva: libva version 0.31.0-sds6 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so libva: va_openDriver() returns 0 [0x2845d58] avcodec decoder: Using VA API version 0.31 for hardware decoding. [0x290af78] main subpicture error: Failed to create sub filter 'freetype' [0x290af78] main subpicture error: Failed while trying to append 'freetype' to filter chain Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() [1] 11510 segmentation fault vlc

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
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 » 11 May 2010 12:27

Hey, could you provide a backtrace? Like running vlc inside gdb
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.

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

Re: vdpau & vlc

Postby heaven87 » 11 May 2010 17:45

Hey, could you provide a backtrace? Like running vlc inside gdb

Code: Select all

[heaven@arch: ~$] gdb /usr/bin/vlc (gdb) r Starting program: /usr/bin/vlc [Thread debugging using libthread_db enabled] VLC media player 1.2.0-git Twoflower (revision 1.1.0-pre1-409-g9be49a5) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") /usr/bin/vlc(unsetenv+0x49)[0x401ca9] /usr/lib/libdbus-1.so.3(+0x2a745)[0x7ffff6f41745] Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") /usr/bin/vlc(unsetenv+0x49)[0x401ca9] /usr/lib/libdbus-1.so.3(+0x2a745)[0x7ffff6f41745] [New Thread 0x7fffbaafd710 (LWP 18319)] [New Thread 0x7fffba9fc710 (LWP 18320)] [New Thread 0x7fffba8fb710 (LWP 18321)] [New Thread 0x7fffba7fa710 (LWP 18322)] [0x65d8c8] logger interface: using logger. [New Thread 0x7fffba6f9710 (LWP 18323)] [New Thread 0x7fffba5f8710 (LWP 18324)] Blocked: call to setlocale(6, "") /usr/bin/vlc(setlocale+0x6b)[0x401f2b] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4initEv+0x1e)[0x7fffe4fbac3e] Blocked: call to sigaction(17, 0x7fffba5f7ad0, 0x7fffba5f7b70) /usr/bin/vlc(sigaction+0xb6)[0x401ea6] /usr/lib/libQtCore.so.4(+0x138567)[0x7fffe4f97567] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Blocked: call to setlocale(6, "") /usr/bin/vlc(setlocale+0x6b)[0x401f2b] /usr/lib/libkdecore.so.5(+0x17f505)[0x7fffb9279505] Blocked: call to strerror(2) /usr/bin/vlc(strerror+0x48)[0x401f88] /lib/libdl.so.2(dlerror+0x145)[0x7ffff74b3365] Warning: call to rand() /usr/bin/vlc(rand+0x21)[0x401d11] /usr/lib/libQtGui.so.4(+0x23c6f5)[0x7fffe550a6f5] Warning: call to rand() /usr/bin/vlc(rand+0x21)[0x401d11] /usr/lib/libQtGui.so.4(+0x23c6f5)[0x7fffe550a6f5] Warning: call to rand() /usr/bin/vlc(rand+0x21)[0x401d11] /usr/lib/libQtGui.so.4(+0x23c6f5)[0x7fffe550a6f5] Warning: call to rand() /usr/bin/vlc(rand+0x21)[0x401d11] /usr/lib/libQtGui.so.4(+0x23c6f5)[0x7fffe550a6f5] [New Thread 0x7fffb2ba4710 (LWP 18325)] [New Thread 0x7fffb2aa3710 (LWP 18326)] [New Thread 0x7fffb29a2710 (LWP 18327)] [Thread 0x7fffb2ba4710 (LWP 18325) exited] [Thread 0x7fffb29a2710 (LWP 18327) exited] [New Thread 0x7fffb2ba4710 (LWP 18328)] [New Thread 0x7fffb29a2710 (LWP 18329)] libva: libva version 0.31.0-sds6 [New Thread 0x7fffb286e710 (LWP 18330)] No accelerated IMDCT transform found Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so libva: va_openDriver() returns 0 [0xb660f8] avcodec decoder: Using VA API version 0.31 for hardware decoding. libva: libva version 0.31.0-sds6 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so libva: va_openDriver() returns 0 [0xb660f8] avcodec decoder: Using VA API version 0.31 for hardware decoding. [New Thread 0x7fffaf77a710 (LWP 18331)] [0xc111d8] main subpicture error: Failed to create sub filter 'freetype' [0xc111d8] main subpicture error: Failed while trying to append 'freetype' to filter chain [Thread 0x7fffb2ba4710 (LWP 18328) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb2aa3710 (LWP 18326)] 0x00007fffc48517b3 in Release () from /usr/lib/vlc/plugins/codec/libavcodec_plugin.so (gdb) bt #0 0x00007fffc48517b3 in Release () from /usr/lib/vlc/plugins/codec/libavcodec_plugin.so #1 0x00007fffc484e0b1 in ffmpeg_ReleaseFrameBuf () from /usr/lib/vlc/plugins/codec/libavcodec_plugin.so #2 0x00007ffff0ab2009 in MPV_common_end () from /usr/lib/libavcodec.so.52 #3 0x00007ffff08de81a in ?? () from /usr/lib/libavcodec.so.52 #4 0x00007ffff08de599 in avcodec_close () from /usr/lib/libavcodec.so.52 #5 0x00007fffc484c253 in CloseDecoder () from /usr/lib/vlc/plugins/codec/libavcodec_plugin.so #6 0x00007ffff7960adf in module_unneed () from /usr/lib/libvlccore.so.5 #7 0x00007ffff7917812 in input_DecoderDelete () from /usr/lib/libvlccore.so.5 #8 0x00007ffff7919871 in EsDestroyDecoder () from /usr/lib/libvlccore.so.5 #9 0x00007ffff791c270 in EsUnselect () from /usr/lib/libvlccore.so.5 #10 0x00007ffff791dd75 in EsOutControl () from /usr/lib/libvlccore.so.5 #11 0x00007ffff79215de in es_out_Control () from /usr/lib/libvlccore.so.5 #12 0x00007ffff79222ee in Control () from /usr/lib/libvlccore.so.5 #13 0x00007ffff792447e in es_out_Control () from /usr/lib/libvlccore.so.5 #14 0x00007ffff7924e05 in End () from /usr/lib/libvlccore.so.5 #15 0x00007ffff792b08d in Run () from /usr/lib/libvlccore.so.5 #16 0x00007ffff7965e54 in thread_entry () from /usr/lib/libvlccore.so.5 #17 0x00007ffff76bc97a in start_thread () from /lib/libpthread.so.0 #18 0x00007ffff722401d in clone () from /lib/libc.so.6 #19 0x0000000000000000 in ?? ()

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

Re: vdpau & vlc

Postby calanor » 11 May 2010 21:16

--enable-vaapi is for your ffmpeg
Thanks,
now I have HW acceleration with vlc.

Code: Select all

[0x23975e8] avcodec decoder: Using VA API version 0.31 for hardware decoding.


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

Who is online

Users browsing this forum: No registered users and 21 guests