Page 4 of 5

Re: vdpau & vlc

Posted: 12 May 2010 09:15
by Jean-Baptiste Kempf
Cool.
Please update vlc to the latest 1.1.0-rc version

Re: vdpau & vlc

Posted: 07 Aug 2010 05:33
by Repto
I'm trying to get this working on mythbuntu 10:04, have upgraded to VLC 1.1.2 and installed ffmpeg 0.6. I'm still not getting vdpau CPU use figures yet (H264 1080i test files). It seems I need to enable vaapi somewhere in preferences also, but I cannot find it. Can someone send me a screen dump of preferences where this is enabled, to help me find it? With many thanks.

Re: vdpau & vlc

Posted: 07 Aug 2010 09:53
by Repto

Re: vdpau & vlc

Posted: 27 Aug 2010 22:23
by shad0w
The same thing.
I'm totally sure that vaapi works on my nvidia card.
mplayer-vaapi playing 1080i h.264 file with 10%-15% CPU usage. When vlc 35-55%(like mplayer without vaapi).

PS I tried compile vlc sources from debian repo and also try vlc 1.1.3 from debian squeeze with ffmpeg 0.6 from experimental

Re: vdpau & vlc

Posted: 28 Aug 2010 11:20
by heaven87
Sometimes VLC with vaapi works worse than without it. When vaapi enabled VLC use 60-70% of CPU, when disabled — 45-50% (1920x1080, h264 in .mkv container). Also I can upload a part of this file, if necessary.

Re: vdpau & vlc

Posted: 28 Aug 2010 11:35
by Repto
Yes that is the sort of improvement I am also getting, seems its only partially working because mythtv vdpau achieves much lower CPU % for the same files. e.g. one H264 1080i clip wouldn't play smoothly with VLC before VAAPI, now plays with recent versions but ~80-90% CPU but seems much of a way to go to the mythtv achieving around 20% CPU only. This example is using a 2G C2Duo Intel CPU.

Re: vdpau & vlc

Posted: 30 Aug 2010 06:31
by Repto
FWIW my configuration includes the default setting of "Accelerated Video Output (Overlay)" as found under Preferences / Video and also checking "Use GPU acceleration (experimental)" under Preferences / "Input / Codecs". Is this as others are doing?

Re: vdpau & vlc

Posted: 07 Jul 2011 20:37
by DBabo
Gentlemen,

I'm trying to compile the latest vlc (1.1.9) with the vaapi support on RHEL6.
Here are a few questions, that i hope can be easily resolved by you:
1. is this page is up-to-date - http://wiki.videolan.org/VLC_VAAPI ?
2. This page http://wiki.videolan.org/VLC_configure_help seemed to be outdated:
a. it states vlc version 0.9.0
b. list of the options is very much different from the 1.1.9 i have . Please take a look:

Code: Select all

/home/az/rpmbuild/SOURCES/vlc-1.1.9 [az@sl64 vlc-1.1.9]$ ./configure --help | grep -i FFMPEG --enable-merge-ffmpeg merge FFmpeg-based plugins (default disabled)
3. By reading on the forums and looking thru the vlc.spec (vlc-1.1.9/extras/package/rpm), it appears that ffmpeg is supported in two forms - "static" and "external". Where "static" is in the subdirectory (of vlc) and "external" is system based.
If the above statement is valid. How do i use the "external" ffmpeg?
here are the results of my attempts:

Code: Select all

+ ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-l inux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sys confdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libex ec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --d isable-dependency-tracking --disable-rpath --disable-nls --disable-mozilla --disable-static --enable-aa --enable-alsa --enable-caca --enable-dirac --enable-dvbpsi --enable-dvdread --enable-faad --enable-fbo sd --enable-ffmpeg configure: WARNING: unrecognized options: --enable-ffmpeg
and

Code: Select all

+ ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-l inux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sys confdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libex ec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --d isable-dependency-tracking --disable-rpath --disable-nls --disable-mozilla --disable-static --enable-aa --enable-alsa --enable-caca --enable-dirac --enable-dvbpsi --enable-dvdread --enable-faad --enable-fbo sd --enable-merge-ffmpeg --enable-flac --enable-gnomevfs --enable-live555 --enable-mozilla --enable-ncu rses --enable-opencv --enable-portaudio --enable-pulse --enable-pvr --enable-real --enable-realrtsp --e nable-shout --enable-snapshot --enable-svg --enable-svgalib --enable-switcher --enable-theora --enable- twolame --enable-upnp --enable-v4l checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes
but then:

Code: Select all

checking libavcodec/avcodec.h presence... yes checking for libavcodec/avcodec.h... yes checking ffmpeg/avcodec.h usability... no checking ffmpeg/avcodec.h presence... no checking for ffmpeg/avcodec.h... no checking libavutil/avutil.h usability... yes checking libavutil/avutil.h presence... yes <skip> checking for libavutil/avutil.h... yes checking ffmpeg/avutil.h usability... no checking ffmpeg/avutil.h presence... no checking for ffmpeg/avutil.h... no checking for LIBVA... yes checking libavcodec/vaapi.h usability... yes checking libavcodec/vaapi.h presence... yes checking for libavcodec/vaapi.h... yes VAAPI acceleration activated checking for AVFORMAT... yes <skip> checking ffmpeg/avformat.h usability... no checking ffmpeg/avformat.h presence... no checking for ffmpeg/avformat.h... no <skip> checking for ffmpeg/avutil.h... (cached) no checking for SWSCALE... yes checking libswscale/swscale.h usability... yes checking libswscale/swscale.h presence... yes checking for libswscale/swscale.h... yes checking ffmpeg/swscale.h usability... no checking ffmpeg/swscale.h presence... no
The ffmpeg (ffmpeg-0.6.1) was separately compiled (with --enable-vdpau --enable-vaapi) and installed onto the system.

4. There is also an error :

Code: Select all

checking whether byte ordering is bigendian... no ./configure: line 47991: kde4-config: command not found configure: Checking for Mozilla checking for libxul >= 1.9.2... Using libxul package.
I'm not sure if it's a game stopper or just a warning that can be ignored... Please advise.
Thank you
Andrew

Re: vdpau & vlc

Posted: 07 Jul 2011 22:33
by Jean-Baptiste Kempf
Now. Run vainfo.

Re: vdpau & vlc

Posted: 07 Jul 2011 22:44
by DBabo
Now. Run vainfo.
craps out on me - i do not have nvidia card installed on this machine.

Code: Select all

vainfo libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit

Re: vdpau & vlc

Posted: 08 Jul 2011 06:05
by DBabo
... I guess Jean is mocking me ... uh,uh..
So i got to my home PC tonight and installed ffmpeg with --vaapi compiled. That, obviously, brought the vaapi package:

Code: Select all

yum info libva-1.0.6-1.el6.rf.i686 Loaded plugins: aliases, changelog, downloadonly, protect-packages, refresh-packagekit elrepo | 1.9 kB 00:00 Installed Packages Name : libva Arch : i686 Version : 1.0.6 Release : 1.el6.rf Size : 757 k Repo : installed From repo : rpmforge Summary : Video Acceleration (VA) API for Linux URL : http://www.splitted-desktop.com/~gbeauchesne/libva/ License : MIT Description: Libva is a library providing the VA API video acceleration API. [root@server ~]# rpm -ql libva-1.0.6-1.el6.rf.i686 /usr/bin/vainfo /usr/lib/dri/dummy_drv_video.so /usr/lib/libva-glx.so.1 /usr/lib/libva-glx.so.1.0.6 /usr/lib/libva-tpi.so.1 /usr/lib/libva-tpi.so.1.0.6 /usr/lib/libva-x11.so.1 /usr/lib/libva-x11.so.1.0.6 /usr/lib/libva.so.1 /usr/lib/libva.so.1.0.6 /usr/share/doc/libva-1.0.6 /usr/share/doc/libva-1.0.6/COPYING
yet

Code: Select all

lspci | grep G 02:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 240] (rev a2) [root@server ~]# rpm -qa \*vdp\* libvdpau-devel-0.4.1-1.el6.i686 libvdpau-0.4.1-1.el6.i686 [root@server ~]# vainfo libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/nvidia_drv_video.so libva: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit
I do have Nvidia proprietery drivers loaded:

Code: Select all

grep nvidia /var/log/Xorg.0.log (**) ModulePath set to "/usr/lib/xorg/modules/extensions/nvidia,/usr/lib/xorg/modules" (II) Loading /usr/lib/xorg/modules/extensions/nvidia/libglx.so (II) LoadModule: "nvidia" (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so (II) Module nvidia: vendor="NVIDIA Corporation" (==) Jul 06 21:15:31 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select" (II) Jul 06 21:15:31 NVIDIA(0): "nvidia-auto-select" (II) Jul 06 21:15:31 NVIDIA(0): Setting mode "nvidia-auto-select"
so what that simple little that i'm missing here?

Re: vdpau & vlc

Posted: 08 Jul 2011 07:53
by Jean-Baptiste Kempf
Run vainfo. If that works, run vlc --ffmpeg-hw and you'll have GPU decoding.

Re: vdpau & vlc

Posted: 08 Jul 2011 15:16
by DBabo
Run vainfo. If that works, run vlc --ffmpeg-hw and you'll have GPU decoding.
well, that's the point - it doesn't work...

Re: vdpau & vlc

Posted: 08 Jul 2011 16:20
by Rémi Denis-Courmont
That's an issue with libva or your hardware then. Not much help to get from here.

Re: vdpau & vlc

Posted: 08 Jul 2011 16:32
by DBabo
That's an issue with libva or your hardware then. Not much help to get from here.
Thank you for responding Remi..
I think i missed to install smth. Looking into it now.

Can you please clarify my questions above?
Thank you
Andrew

Re: vdpau & vlc

Posted: 16 Jul 2011 21:11
by DBabo
That's an issue with libva or your hardware then. Not much help to get from here.
Remi, you were right. I spent some silly time building rpms out of libva learning more than i ever wanted to know about packaging and gnu tools. But eventually i got it done. As always - once i've done it it appears an elementary and simple task...
Anyway. Here are some results:

Code: Select all

VLC media player 1.1.9 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x9b2e8fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Warning: call to srand(1311297882) Warning: call to rand() Blocked: call to setlocale(6, "") (process:3207): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Blocked: call to setlocale(6, "") Warning: call to rand() Warning: call to rand() Warning: call to rand() looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag [0x9d6f30c] signals interface error: signal 17 overriden (0x22bfb20) [0x9d6f30c] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)] [0x9d6f30c] signals interface error: signal 17 overriden (0x22bfb20) [0x9d6f30c] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)]
and with --ffmpeg-hw:

Code: Select all

VLC media player 1.1.9 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x8ccb8fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Warning: call to srand(1311609127) Warning: call to rand() Blocked: call to setlocale(6, "") (process:3122): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Blocked: call to setlocale(6, "") Warning: call to rand() Warning: call to rand() Warning: call to rand() libva: libva version 0.31.1-sds1 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 [0xb5108eac] avcodec decoder: Using VA API version 0.31 for hardware decoding. looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag [0x8f0aba4] signals interface error: signal 17 overriden (0x21f4b20) [0x8f0aba4] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)] [0x8f0aba4] signals interface error: signal 17 overriden (0x21f4b20) [0x8f0aba4] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)]
it's interesting to note that on my system ( Sempron and GT240) in both cases the CPU usage is about the same ~25%.
Based on the log i assume that HW acceleration is used.
Two questions:
1. how do i check the GPU utilization?
2. how do i use vlc to transcode between two video file formats ( avi -> mpeg)?
Thank you.

Re: vdpau & vlc

Posted: 17 Jul 2011 09:11
by Rémi Denis-Courmont
1. I don't know
2. You don't need to transcode to change file formats. And there is a conversion wizard in the UI.

Re: vdpau & vlc

Posted: 17 Jul 2011 21:06
by DBabo
1. I don't know
2. You don't need to transcode to change file formats. And there is a conversion wizard in the UI.
Remi,
i'm confused with your answer a bit. I read this before i started http://wiki.videolan.org/Transcode
.. So how do i convert the avi to mpg then?

RE: conversion from GUI.
I tried that - it doesn't seem to be working. The problem seemed to be with the missing " ' " in the parameters GUI passes to the vlc engine:
" cannot start stream output instance, aborting".

I ran cvlc --ffmpeg-hw A_File.avi --sout='#transcode{vcodec=mp1v,vb=1024,acodec=mpga,ab=128}:std{access=file,mux=ts,dst=./Trans_hw.mpg}'
cvlc A_File.avi --sout='#transcode{vcodec=mp1v,vb=1024,acodec=mpga,ab=128}:std{access=file,mux=ts,dst=./Trans.mpg}'

Here are some metrics:
to convert 668Mb avi file to mpg on 2Gb AMD Sempron 3200 system"
HW enabled transcoding ~ 40 minutes, CPU utilization ~80%
no HW enabled ~30 minutes, CPU utilization ~ 97% ( full load).

I also observed that vcl didn't give a handler back to command prompt thou the process was gone from the "top".

My expectation was that with the combination of vlc+vaapi+vdpau will take a full advantage of the powerful GPU ( GT240) and offload my old CPU (Sempron). According to "nvidia control panel" ( or whatever it's called ) the GPU didn't perform to the fullest.

I'm left wondering :
if the performance of vlc+vaapi is that low?
and what's the use of vaapi in vlc then?

Re: vdpau & vlc

Posted: 13 Mar 2013 19:57
by DJViking01
2 year old post. No one having trouble with HW-acceleration with VLC any more?

VLC is terrible with playing HD video. Time seeking is a pain. CPU load is 50-80%. While using MPlayer/SMPlayer with VDPAU is a smooth experience. Seeking is instantaneous, while VLC freeze for 1-3 seconds between seeking before starting playback again (and sometimes VLC stops playing audio for a few seconds, or until I seek again). SMPlayer uses under 10% while playing full HD video.

I have enabled HW acceleration on VLC, but I have read that it does not support VDPAU 100% like other players as xine and mplayer. VLC is my favorite video player. I would hate to use any other instead for playing HD video.

I have a ASUS GeForce GTX 650Ti 1GB PhysX CUDA
Running on OpenSuse 12.2 and KDE 4.10.1

Code: Select all

user@linux-1wa3:~> nvidia-smi Wed Mar 13 19:56:42 2013 +------------------------------------------------------+ | NVIDIA-SMI 4.310.32 Driver Version: 310.32 | |-------------------------------+----------------------+----------------------+ | GPU Name | Bus-Id Disp. | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 650 Ti | 0000:01:00.0 N/A | N/A | | 10% 32C N/A N/A / N/A | 17% 169MB / 1023MB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Compute processes: GPU Memory | | GPU PID Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+

Code: Select all

user@linux-1wa3:~> vainfo libva: VA-API version 0.33.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib64/dri/nvidia_drv_video.so libva: Found init function __vaDriverInit_0_32 libva: va_openDriver() returns 0 vainfo: VA-API version: 0.33 (libva 1.1.0) vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG4Simple : VAEntrypointVLD VAProfileMPEG4AdvancedSimple : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD

Code: Select all

user@linux-1wa3:~> vlc -version VLC media player 2.1.0-git Rincewind (revision 2.1.0-git) [0xd260a8] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/control/libglobalhotkeys_plugin.so' (libxcb-keysyms.so.1: cannot open shared object file: No such file...) vlc: unknown option or missing mandatory argument `-e' Try `vlc --help' for more information.

Code: Select all

user@linux-1wa3:~> vlc -vvv fringes01e02.mkv VLC media player 2.1.0-git Rincewind (revision 2.1.0-git) [0x162a0a8] main libvlc debug: VLC media player - 2.1.0-git Rincewind [0x162a0a8] main libvlc debug: Copyright © 1996-2013 the VideoLAN team [0x162a0a8] main libvlc debug: revision 2.1.0-git [0x162a0a8] main libvlc debug: configured with ./configure '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--enable-a52' '--enable-aa' '--enable-alsa' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-dvdread' '--enable-faad' '--enable-fast-install' '--enable-flac' '--enable-freetype' '--enable-fribidi' '--enable-glx' '--enable-gnomevfs' '--enable-gnutls' '--enable-httpd' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libcddb' '--enable-libmpeg2' '--enable-libproxy' '--enable-lirc' '--enable-live555' '--enable-lua' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-ogg' '--enable-optimizations' '--disable-oss' '--enable-pulse' '--enable-pvr' '--enable-real' '--enable-realrtsp' '--enable-smb' '--enable-sout' '--enable-speex' '--enable-taglib' '--enable-theora' '--enable-v4l2' '--enable-vcd' '--enable-vcdx' '--enable-visual' '--enable-vorbis' '--enable-waveout' '--enable-xcb' '--enable-xvideo' 'build_alias=x86_64-suse-linux-gnu' 'host_alias=x86_64-suse-linux-gnu' 'CFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -L/usr/lib64/live' 'CXXFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -L/usr/lib64/live' [0x162a0a8] main libvlc debug: searching plug-in modules [0x162a0a8] main libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat [0x162a0a8] main libvlc debug: recursively browsing `/usr/lib64/vlc/plugins' [0x162a0a8] main libvlc warning: cannot load module `/usr/lib64/vlc/plugins/control/libglobalhotkeys_plugin.so' (libxcb-keysyms.so.1: cannot open shared object file: Ingen slik fil eller filkatalog) [0x162a0a8] main libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat [0x162a0a8] main libvlc debug: plug-ins loaded: 417 modules [0x162a0a8] main libvlc debug: opening config file (/home/user.config/vlc/vlcrc) Warning: option --ffmpeg-hw no longer exists. [0x162a0a8] main libvlc debug: translation test: code is "nb" [0x162a0a8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU [0x186ca98] main interface debug: looking for interface module matching "http,none": 17 candidates [0x186ca98] [http] lua interface debug: Found lua interface script: /usr/lib64/vlc/lua/intf/http.luac [0x186ca98] [http] lua interface debug: Setting config variable: config={http={no_index=false}} [0x186ca98] [http] main interface debug: using interface module "lua" [0x16f6068] main input debug: Creating an input for 'Mediabibliotek' [0x186ca98] [http] lua interface: Lua HTTP interface [0x16f6068] main input debug: Input is a meta file: disabling unneeded options [0x16f6068] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x16f6068] main input debug: `file/xspf-open:///home/user.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/user.local/share/vlc/ml.xspf' [0x16f6068] main input debug: creating demux: access='file' demux='xspf-open' location='/home/user.local/share/vlc/ml.xspf' file='/home/user.local/share/vlc/ml.xspf' [0x16fb438] main demux debug: looking for access_demux module matching "file": 19 candidates [0x16fb438] main demux debug: no access_demux modules matched [0x16f6068] main input debug: creating access 'file' location='/home/user.local/share/vlc/ml.xspf', path='/home/user.local/share/vlc/ml.xspf' [0x16fdc68] main access debug: looking for access module matching "file": 23 candidates [0x16fdc68] filesystem access debug: opening file `/home/user.local/share/vlc/ml.xspf' [0x16fdc68] main access debug: using access module "filesystem" [0x16568b8] main stream debug: Using stream method for AStream* [0x16568b8] main stream debug: starting pre-buffering [0x16568b8] main stream debug: received first data after 0 ms [0x16568b8] main stream debug: pre-buffering done 297 bytes in 0s - 12610 KiB/s [0x16febd8] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x16febd8] main stream debug: no stream_filter modules matched [0x16febd8] main stream debug: looking for stream_filter module matching "stream_filter_record": 9 candidates [0x16febd8] main stream debug: no stream_filter modules matched [0x16f6068] main input debug: creating demux: access='file' demux='xspf-open' location='/home/user.local/share/vlc/ml.xspf' file='/home/user.local/share/vlc/ml.xspf' [0x16febd8] main demux debug: looking for demux module matching "xspf-open": 61 candidates [0x16febd8] playlist demux debug: using XSPF playlist reader [0x16febd8] main demux debug: using demux module "playlist" [0x1659ea8] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x186ca98] [http] main interface debug: creating VLM [0x186ca98] [http] lua interface debug: Loaded /usr/share/vlc/lua/http/custom.lua [0x186ca98] [http] main interface debug: net: listening to * port 8080 [0x1659ea8] lua demux meta debug: Trying Lua scripts in /home/user.local/share/vlc/lua/meta/reader [0x1659ea8] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader [0x1659ea8] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac [0x1659ea8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x1659ea8] main demux meta debug: no meta reader modules matched [0x16f6068] main input debug: `file/xspf-open:///home/user.local/share/vlc/ml.xspf' successfully opened [0x166a478] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x166a478] main xml reader debug: using xml reader module "xml" [0x16febd8] playlist demux debug: parsed 0 tracks successfully [0x16f6068] main input debug: EOF reached [0x16febd8] main demux debug: removing module "playlist" [0x16fdc68] main access debug: removing module "filesystem" [0x16f4368] main playlist debug: creating audio output [0x1669938] main audio output debug: looking for audio output module matching "any": 6 candidates [0x1669938] pulse audio output debug: using library version 1.1.0 [0x1669938] pulse audio output debug: (compiled with version 1.1.0, protocol 23) [0x1669938] pulse audio output debug: connected locally to unix:/home/user.pulse/40527be2480f8cf60f4e8d4b000006b0-runtime/native as client #173 [0x1669938] pulse audio output debug: using protocol 23, server protocol 23 [0x1669938] main audio output debug: using audio output module "pulse" [0x16f4368] main playlist debug: keeping audio output [0x16f4368] main playlist debug: adding item `fringes01e02.mkv' ( file:///storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv ) [0x7ff3f0000958] main input debug: Creating an input for 'fringes01e02.mkv' [0x166a0f8] main interface debug: looking for interface module matching "hotkeys,none": 17 candidates [0x166a0f8] main interface debug: using interface module "hotkeys" [0x166ab18] main interface debug: looking for interface module matching "globalhotkeys,none": 17 candidates [0x166ab18] main interface debug: no interface modules matched [0x166ab18] main interface error: no suitable interface module [0x162a0a8] main libvlc error: interface "globalhotkeys,none" initialization failed [0x166ab18] main interface debug: looking for interface module matching "dbus,none": 17 candidates [0x1669938] pulse audio output debug: listing sink alsa_output.pci-0000_01_00.1.hdmi-stereo (0): HDA NVidia Digital Stereo (HDMI) [0x1669938] pulse audio output debug: listing sink alsa_output.pci-0000_00_1b.0.analog-stereo (1): Internal Audio Analog Stereo [0x166ab18] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance18384 [0x166ab18] main interface debug: using interface module "dbus" [0x162a0a8] main libvlc: Kjører VLC med standardbrukerflaten. Bruk «cvlc» for å kjøre VLC uten en brukerflate. [0x166fd38] main interface debug: looking for interface module matching "any": 17 candidates [0x16f4368] main playlist debug: meta ok for (null), need to fetch art [0x7ff3f0003f58] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates [0x7ff3f0003f58] lua demux meta debug: Trying Lua scripts in /home/user.local/share/vlc/lua/meta/fetcher [0x7ff3f0003f58] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher [0x7ff3f0003f58] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/fetcher/tvrage.luac [0x7ff3f0003f58] main demux meta debug: using meta fetcher module "lua" [0x7ff3f0003f58] main demux meta debug: removing module "lua" [0x16f4368] main playlist debug: searching art for fringes01e02.mkv [0x7ff3f00023a8] main art finder debug: looking for art finder module matching "any": 2 candidates [0x7ff3f00023a8] lua art finder debug: Trying Lua scripts in /home/user.local/share/vlc/lua/meta/art [0x7ff3f00023a8] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art [0x7ff3f00023a8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [0x7ff3f00023a8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [0x7ff3f00023a8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [0x7ff3f00023a8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [0x7ff3f00023a8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [0x7ff3f00023a8] main art finder debug: no art finder modules matched [0x16f4368] main playlist debug: art not found for fringes01e02.mkv [0x7ff3e81c9318] main generic debug: looking for extension module matching "any": 1 candidates [0x7ff3e81c9318] lua generic debug: Opening Lua Extension module [0x7ff3e81c9318] lua generic debug: Trying Lua scripts in /home/user.local/share/vlc/lua/extensions [0x7ff3e81c9318] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions [0x7ff3e81c9318] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [0x7ff3e81c9318] main generic debug: using extension module "lua" [0x166fd38] main interface debug: using interface module "qt4" [0x16f4368] main playlist debug: processing request item: null, node: Spilleliste, skip: 0 [0x16f4368] main playlist debug: rebuilding array of current - root Spilleliste [0x16f4368] main playlist debug: rebuild done - 1 items, index -1 [0x16f4368] main playlist debug: starting playback of the new playlist item [0x16f4368] main playlist debug: resyncing on fringes01e02.mkv [0x16f4368] main playlist debug: fringes01e02.mkv is at 0 [0x16f4368] main playlist debug: creating new input thread [0x7ff3f0002388] main input debug: Creating an input for 'fringes01e02.mkv' [0x166ab18] dbus interface debug: Getting property CanControl [0x166fd38] qt4 interface debug: IM: Setting an input [0x7ff3f0002388] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x7ff3f0002388] main input debug: `file:///storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' gives access `file' demux `' path `/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' [0x7ff3f0002388] main input debug: creating demux: access='file' demux='' location='/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' file='/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' [0x7ff3d0000f88] main demux debug: looking for access_demux module matching "file": 19 candidates [0x7ff3d0000f88] main demux debug: no access_demux modules matched [0x7ff3f0002388] main input debug: creating access 'file' location='/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv', path='/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' [0x7ff3d0000f88] main access debug: looking for access module matching "file": 23 candidates [0x7ff3d0000f88] filesystem access debug: opening file `/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' [0x7ff3d0000f88] main access debug: using access module "filesystem" [0x7ff3d00013f8] main stream debug: Using stream method for AStream* [0x7ff3d00013f8] main stream debug: starting pre-buffering [0x7ff3d00013f8] main stream debug: received first data after 0 ms [0x7ff3d00013f8] main stream debug: pre-buffering done 1024 bytes in 0s - 40000 KiB/s [0x7ff3d0c017e8] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x7ff3d0c017e8] main stream debug: no stream_filter modules matched [0x7ff3d0c017e8] main stream debug: looking for stream_filter module matching "stream_filter_record": 9 candidates [0x7ff3d0c017e8] main stream debug: no stream_filter modules matched [0x7ff3f0002388] main input debug: creating demux: access='file' demux='' location='/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' file='/storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' [0x7ff3d0c017e8] main demux debug: looking for demux module matching "mkv": 61 candidates [0x7ff3d0c017e8] mkv demux debug: | + Seek head [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | - info at 4135 [0x7ff3d0c017e8] mkv demux debug: | + Information [0x7ff3d0c017e8] mkv demux debug: | | + TimecodeScale=1000000 [0x7ff3d0c017e8] mkv demux debug: | | + Muxing Application=libebml v0.7.7 + libmatroska v0.8.1 [0x7ff3d0c017e8] mkv demux debug: | | + Writing Application=mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55 [0x7ff3d0c017e8] mkv demux debug: | | + Duration=3049088 [0x7ff3d0c017e8] mkv demux debug: | | + UID=-1116116595 [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | - tracks at 4291 [0x7ff3d0c017e8] mkv demux debug: | + Tracks [0x7ff3d0c017e8] mkv demux debug: | | + Track Entry [0x7ff3d0c017e8] mkv demux debug: | | | + Track Number=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track UID=1633395587 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Type=video [0x7ff3d0c017e8] mkv demux debug: | | | + Track Enabled=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Default=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Forced=0 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Lacing=0 [0x7ff3d0c017e8] mkv demux debug: | | | + Track MinCache=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track TimeCodeScale=1.000000 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Max BlockAdditionID=0 [0x7ff3d0c017e8] mkv demux debug: | | | + Track CodecId=V_MPEG4/ISO/AVC [0x7ff3d0c017e8] mkv demux debug: | | | + Track Codec Decode All=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track CodecPrivate size=41 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Default Duration=41708300 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Language=`eng' [0x7ff3d0c017e8] mkv demux debug: | | | + Track Video [0x7ff3d0c017e8] mkv demux debug: | | | | + width=1920 [0x7ff3d0c017e8] mkv demux debug: | | | | + height=1080 [0x7ff3d0c017e8] mkv demux debug: | | | | + Track Video Interlaced=0 [0x7ff3d0c017e8] mkv demux debug: | | | | + display width=1920 [0x7ff3d0c017e8] mkv demux debug: | | | | + display height=1080 [0x7ff3d0c017e8] mkv demux debug: | | + Track Entry [0x7ff3d0c017e8] mkv demux debug: | | | + Track Number=2 [0x7ff3d0c017e8] mkv demux debug: | | | + Track UID=3505932424 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Type=audio [0x7ff3d0c017e8] mkv demux debug: | | | + Track Enabled=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Default=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Forced=0 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Lacing=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track MinCache=0 [0x7ff3d0c017e8] mkv demux debug: | | | + Track TimeCodeScale=1.000000 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Max BlockAdditionID=0 [0x7ff3d0c017e8] mkv demux debug: | | | + Track CodecId=A_AC3 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Codec Decode All=1 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Default Duration=32000000 [0x7ff3d0c017e8] mkv demux debug: | | | + Track Language=`eng' [0x7ff3d0c017e8] mkv demux debug: | | | + Track Audio [0x7ff3d0c017e8] mkv demux debug: | | | | + afreq=48000 [0x7ff3d0c017e8] mkv demux debug: | | | | + achan=6 [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | - chained seekhead at 3523401144 [0x7ff3d0c017e8] mkv demux debug: | + Seek head [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | - unknown seekhead reference at 5551 [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | - unknown seekhead reference at 171758 [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | - unknown seekhead reference at 1753975 [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux warning: MKV/Ebml Parser: m_el[mi_level] == NULL [0x7ff3d0c017e8] mkv demux warning: MKV/Ebml Parser: Up cannot escape itself [0x7ff3d0c017e8] mkv demux debug: | - unknown seekhead reference at 3523347933 [0x7ff3d0c017e8] mkv demux debug: | | + Seek [0x7ff3d0c017e8] mkv demux debug: | | + Unknown (N7libebml8EbmlVoidE) [0x7ff3d0c017e8] mkv demux debug: | - cues at 3523383809 [0x7ff3d0c017e8] mkv demux debug: | + Cues [0x7ff3d0c017e8] mkv demux debug: | - loading cues done. [0x7ff3d0c017e8] mkv demux debug: | + Void [0x7ff3d0c017e8] mkv demux debug: | + Information [0x7ff3d0c017e8] mkv demux debug: | + Tracks [0x7ff3d0c017e8] mkv demux debug: | + Void [0x7ff3d0c017e8] mkv demux debug: | + Cluster [0x7ff3d0c017e8] mkv demux debug: found 2 es [0x7ff3f0002388] main input debug: selecting program id=0 [0x7ff3f0002388] main input debug: Buffering 0% [0x7ff3d0c017e8] mkv demux debug: Starting the UI Hook [0x7ff3d0c017e8] main demux debug: using demux module "mkv" [0x7ff3f0002388] main input debug: looking for a subtitle file in /storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/ [0x7ff3d0c37128] main decoder debug: looking for decoder module matching "any": 38 candidates [0x7ff3d0c37128] avcodec decoder debug: trying to use direct rendering [0x7ff3d0c37128] avcodec decoder debug: allowing 3 thread(s) for decoding [0x7ff3d0c37128] avcodec decoder warning: threaded frame decoding is not compatible with libavcodec-hw, disabled [0x7ff3d0c37128] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started [0x7ff3d0c37128] avcodec decoder debug: using slice thread mode with 3 threads [0x7ff3d0c37128] main decoder debug: using decoder module "avcodec" [0x7ff3d0c19578] main decoder debug: looking for decoder module matching "any": 38 candidates [0x7ff3d0c19578] main decoder debug: using decoder module "a52" [0x7ff3d0c19f98] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7ff3d0c19f98] lua demux meta debug: Trying Lua scripts in /home/user.local/share/vlc/lua/meta/reader [0x7ff3d0c19f98] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader [0x7ff3d0c19f98] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac [0x7ff3d0c19f98] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7ff3d0c19f98] main demux meta debug: no meta reader modules matched [0x7ff3f0002388] main input debug: `file:///storage/storage6/Series/Fringe/Fringe.S01.1080p.BluRay.x264/fringes01e02.mkv' successfully opened [0x7ff3cc000958] main generic debug: looking for hw decoder module matching "vaapi": 1 candidates [0x7ff3d0c19578] a52 decoder debug: A/52 channels:6 samplerate:48000 bitrate:640000 [0x16f4368] main playlist debug: reusing audio output [0x1669938] pulse audio output debug: using surround-51 channel map libva: VA-API version 0.33.0 [0x1669938] pulse audio output debug: digital pass-through not available [0x1669938] pulse audio output debug: changed buffer metrics: maxlength=4194312, tlength=138240, prebuf=0, minreq=46080 [0x1669938] pulse audio output debug: connected to sink alsa_output.pci-0000_00_1b.0.analog-stereo [0x1669938] pulse audio output debug: base volume: 65536 [0x1669938] main audio output debug: output 'f32l' 44100 Hz 3F2R/LFE frame=1 samples/24 bytes [0x7ff3c4000a28] main volume debug: looking for audio volume module matching "any": 2 candidates [0x7ff3c4000a28] main volume debug: using audio volume module "float_mixer" [0x1669938] main audio output debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/2560 bytes [0x7ff3c4003168] main audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates [0x7ff3c4003168] scaletempo audio filter debug: format: 48000 rate, 6 nch, 4 bps, fl32 [0x7ff3c4003168] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search [0x7ff3c4003168] scaletempo audio filter debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode [0x7ff3c4003168] main audio filter debug: using audio filter module "scaletempo" [0x1669938] main audio output debug: conversion: 'a52 '->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE [0x7ff3c40187f8] main audio converter debug: looking for audio converter module matching "any": 12 candidates [0x7ff3c40187f8] main audio converter debug: no audio converter modules matched [0x7ff3c40187f8] main audio converter debug: looking for audio converter module matching "any": 12 candidates No accelerated IMDCT transform found [0x7ff3c40187f8] main audio converter debug: using audio converter module "a52tofloat32" [0x1669938] main audio output debug: conversion pipeline complete [0x7ff3c4022b48] main audio filter debug: looking for visualization2 module matching "any": 1 candidates [0x7ff3c4022b48] main audio filter debug: no visualization2 modules matched [0x1669938] main audio output error: cannot add user filter any (skipped) [0x1669938] main audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE [0x1669938] main audio output debug: conversion pipeline complete [0x7ff3c4022b48] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates [0x7ff3c4022b48] main audio resampler debug: using audio resampler module "samplerate" [0x7ff3f0002388] main input debug: Buffering 0% [0x7ff3d0c19578] main decoder debug: End of audio preroll [0x7ff3f0002388] main input debug: Stream buffering done (333 ms in 42 ms) libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib64/dri/nvidia_drv_video.so libva: Found init function __vaDriverInit_0_32 libva: va_openDriver() returns 0 [0x7ff3cc000958] main generic debug: using hw decoder module "vaapi" [0x7ff3d0c37128] avcodec decoder debug: Available decoder output format 61 (dxva2_vld) [0x7ff3d0c37128] avcodec decoder debug: Available decoder output format 53 (vaapi_vld) [0x7ff3d0c37128] avcodec decoder: Using VA API version 0.33 for hardware decoding. [h264 @ 0x7ff3d0c17440] Cannot parallelize deblocking type 1, decoding such frames in sequential order [0x7ff3cc9c7258] main spu text debug: looking for text renderer module matching "any": 3 candidates [0x7ff3cc9c7258] freetype spu text debug: Building font databases. [0x7ff3cc9c7258] freetype spu text debug: Took 0 microseconds [0x7ff3cc9c7258] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/DejaVuSans.ttf [0x7ff3cc9c7258] freetype spu text debug: using fontsize: 2 [0x7ff3cc9c7258] main spu text debug: using text renderer module "freetype" [0x7ff3cc9d4948] main scale debug: looking for video filter2 module matching "any": 56 candidates [0x7ff3cc9d4948] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) [0x7ff3cc9d4948] main scale debug: using video filter2 module "swscale" [0x7ff3cc9f1218] main scale debug: looking for video filter2 module matching "any": 56 candidates [0x7ff3cc9f1218] yuvp scale debug: YUVP to YUVA converter [0x7ff3cc9f1218] main scale debug: using video filter2 module "yuvp" [0x7ff3cc8a8c18] main video output debug: Deinterlacing available [0x7ff3cc8a8c18] main video output debug: deinterlace -1, mode blend, is_needed 0 [0x7ff3cc8a8c18] main video output debug: Opening vout display wrapper [0x7ff3bc001308] main vout display debug: looking for vout display module matching "xcb_glx": 12 candidates [0x7ff3bc002138] main window debug: looking for vout window xid module matching "qt4,any": 4 candidates [0x7ff3bc002138] qt4 window debug: requesting video window... [0x166fd38] qt4 interface debug: Video was requested 0, 0 [0x7ff3bc002138] main window debug: using vout window xid module "qt4" [0x7ff3bc002378] main inhibit debug: looking for inhibit module matching "any": 2 candidates [0x7ff3bc002378] dbus_screensaver inhibit debug: found service org.freedesktop.ScreenSaver [0x7ff3bc002378] main inhibit debug: using inhibit module "dbus_screensaver" [0x7ff3bc001308] xcb_glx vout display debug: connected to X11.0 server [0x7ff3bc001308] xcb_glx vout display debug: vendor : The X.Org Foundation [0x7ff3bc001308] xcb_glx vout display debug: version: 11203000 [0x7ff3bc001308] xcb_glx vout display debug: using screen 0x293 [0x7ff3bc001308] xcb_glx vout display debug: using GLX extension version 1.4 [0x7ff3bc001308] xcb_glx vout display debug: using X11 window 06600000 [0x7ff3bc001308] main vout display debug: VoutDisplayEvent 'fullscreen' 0 [0x7ff3bc001308] main vout display debug: VoutDisplayEvent 'resize' 1914x941 window [0x7ff3bc001308] main vout display debug: using vout display module "xcb_glx" [0x7ff3cc8a8c18] main video output debug: original format sz 1920x1080, of (0,0), vsz 1920x1080, 4cc YV12, sar 1:1, msk r0x0 g0x0 b0x0 [0x7ff3cc9c7258] main spu text debug: removing module "freetype" [0x7ff3cc9c7258] main spu text debug: looking for text renderer module matching "any": 3 candidates [0x7ff3cc9c7258] freetype spu text debug: Building font databases. [0x7ff3cc9c7258] freetype spu text debug: Took 0 microseconds [0x7ff3cc9c7258] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/truetype/DejaVuSans.ttf [0x7ff3cc9c7258] freetype spu text debug: using fontsize: 2 [0x7ff3cc9c7258] main spu text debug: using text renderer module "freetype" [0x7ff3d0c37128] main decoder debug: End of video preroll [0x7ff3d0c37128] main decoder debug: Received first picture [0x7ff3cc8a8c18] main video output debug: Post-processing available [0x7ff3bc001308] xcb_glx vout display debug: display is visible [0x7ff3f0002388] main input debug: Decoder buffering done in 692 ms [0x1669938] pulse audio output debug: cannot synchronize start [0x1669938] pulse audio output debug: deferring start (8149 us) [0x1669938] pulse audio output warning: starting late (-24744 us) [0x1669938] pulse audio output debug: started [0x1669938] pulse audio output debug: underflow [0x7ff3cc8a8c18] main video output warning: picture is too late to be displayed (missing 36 ms) [0x7ff3bc001308] main vout display debug: auto hiding mouse cursor [0x162a0a8] main libvlc debug: exiting [0x162a0a8] main libvlc debug: removing all interfaces [0x162a0a8] main libvlc debug: exiting [0x166fd38] main interface debug: removing module "qt4" [0x16f4368] main playlist debug: deactivating the playlist [0x16f4368] main playlist debug: incoming request - stopping current input [0x7ff3f0002388] main input debug: control: stopping input [0x16f4368] main playlist debug: incoming request - stopping current input [0x16f4368] main playlist debug: finished input [0x7ff3d0c37128] main decoder debug: removing module "avcodec" [0x7ff3d0c37128] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped [0x7ff3d0c37128] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO [0x16f4368] main playlist debug: saving a free vout [0x16f4368] main playlist debug: reusing provided vout [0x7ff3d0c19578] main decoder debug: removing module "a52" [0x7ff3d0c19578] main decoder debug: killing decoder fourcc `a52 ', 0 PES in FIFO [0x7ff3c4022b48] main audio resampler debug: removing module "samplerate" [0x7ff3c40187f8] main audio converter debug: removing module "a52tofloat32" [0x7ff3c4003168] main audio filter debug: removing module "scaletempo" [0x7ff3c4000a28] main volume debug: removing module "float_mixer" [0x16f4368] main playlist debug: keeping audio output [0x7ff3d0c017e8] main demux debug: removing module "mkv" [0x7ff3f0002388] main input debug: Program doesn't contain anymore ES [0x7ff3d0c017e8] mkv demux debug: Stopping the UI Hook [0x7ff3d0000f88] main access debug: removing module "filesystem" [0x16f4368] main playlist debug: incoming request - stopping current input [0x16f4368] main playlist debug: dead input [0x1669938] main audio output debug: removing module "pulse" [0x166fd38] qt4 interface debug: IM: Deleting the input [0x7ff3cc8a8c18] main video output debug: destroying useless vout [0x7ff3bc001308] main vout display debug: removing module "xcb_glx" [0x7ff3bc002378] dbus_screensaver inhibit debug: got cookie 5146 [0x7ff3bc002378] main inhibit debug: removing module "dbus_screensaver" [0x7ff3bc002138] qt4 window debug: releasing video... [0x166fd38] qt4 interface debug: Video is not needed anymore [0x7ff3cc9c7258] main spu text debug: removing module "freetype" [0x7ff3cc9f1218] main scale debug: removing module "yuvp" [0x7ff3cc9d4948] main scale debug: removing module "swscale" [0x166fd38] qt4 interface debug: requesting exit... [0x166fd38] qt4 interface debug: waiting for UI thread... [0x166fd38] qt4 interface debug: QApp exec() finished [0x166fd38] qt4 interface debug: Video is not needed anymore [0x166fd38] qt4 interface debug: Killing extension dialog provider [0x166fd38] qt4 interface debug: ExtensionsDialogProvider is quitting... [0x7ff3e81c9318] main generic debug: removing module "lua" [0x7ff3e81c9318] lua generic debug: Deactivating all loaded extensions [0x7ff3e81c9318] lua generic debug: All extensions are now deactivated [0x166ab18] main interface debug: removing module "dbus" [0x166a0f8] main interface debug: removing module "hotkeys" [0x186ca98] [http] main interface debug: removing module "lua" [0x7ff3fc00f838] [http] main http host debug: HTTP host removed [0x16f4368] main playlist debug: destroying [0x16f9a98] main playlist export debug: saving Mediabibliotek to file /home/user.local/share/vlc/ml.xspf [0x16f9a98] main playlist export debug: looking for playlist export module matching "export-xspf": 4 candidates [0x16f9a98] main playlist export debug: using playlist export module "export" [0x16f9a98] main playlist export debug: removing module "export" [0x162a0a8] main libvlc debug: removing stats

Re: vdpau & vlc

Posted: 14 Mar 2013 17:27
by Rémi Denis-Courmont
VLC 2.1 supports VDPAU decoding, but (like MPlayer) it is disabled by default. Check your video preferences.

Re: vdpau & vlc

Posted: 22 Jun 2013 13:09
by calanor
I compiled the latest version of VLC from GIT (--enable-vdpau) with the last version of ffmpeg with VDPAU without errors.
I Tried with - ffmpeg-hw, but the command.no longer exists.

How can I activate VDPAU in VLC?

VLC version: 2.1.0-pre1 Rincewind (revision 1.3.0-git-6842-g388b0b9)

Code: Select all

$ ffmpeg -codecs | grep vdpau ffmpeg version N-54133-g659df32 Copyright (c) 2000-2013 the FFmpeg developers built on Jun 21 2013 18:15:21 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --prefix=/home/quad/player --enable-vdpau --enable-shared --disable-static libavutil 52. 37.101 / 52. 37.101 libavcodec 55. 16.100 / 55. 16.100 libavformat 55. 9.100 / 55. 9.100 libavdevice 55. 2.100 / 55. 2.100 libavfilter 3. 77.101 / 3. 77.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 D.V.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_crystalhd h264_vdpau ) DEV.L. mpeg1video MPEG-1 video (decoders: mpeg1video mpeg1video_vdpau ) DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo mpegvideo_vdpau mpeg2_crystalhd ) DEV.L. mpeg4 MPEG-4 part 2 (decoders: mpeg4 mpeg4_crystalhd mpeg4_vdpau ) D.V.L. vc1 SMPTE VC-1 (decoders: vc1 vc1_crystalhd vc1_vdpau ) D.V.L. wmv3 Windows Media Video 9 (decoders: wmv3 wmv3_crystalhd wmv3_vdpau ) $ ffmpeg -decoders | grep vdpau ffmpeg version N-54133-g659df32 Copyright (c) 2000-2013 the FFmpeg developers built on Jun 21 2013 18:15:21 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --prefix=/home/quad/player --enable-vdpau --enable-shared --disable-static libavutil 52. 37.101 / 52. 37.101 libavcodec 55. 16.100 / 55. 16.100 libavformat 55. 9.100 / 55. 9.100 libavdevice 55. 2.100 / 55. 2.100 libavfilter 3. 77.101 / 3. 77.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 V....D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) (codec h264) V....D mpeg1video_vdpau MPEG-1 video (VDPAU acceleration) (codec mpeg1video) V....D mpegvideo_vdpau MPEG-1/2 video (VDPAU acceleration) (codec mpeg2video) V....D mpeg4_vdpau MPEG-4 part 2 (VDPAU) (codec mpeg4) V....D vc1_vdpau SMPTE VC-1 VDPAU (codec vc1) V....D wmv3_vdpau Windows Media Video 9 VDPAU (codec wmv3)

Thanks.

Re: vdpau & vlc

Posted: 22 Jun 2013 13:21
by Rémi Denis-Courmont
vlc --avcodec-hw=any

Re: vdpau & vlc

Posted: 23 Jun 2013 00:53
by calanor
Ok, but:
One video without acceleration:

Code: Select all

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1330 root 20 0 174m 52m 23m S 28 2.6 42:59.00 Xorg 7939 user1 20 0 933m 47m 10m S 26 2.4 0:22.69 vlc
The same video with VDPAU (--avcodec-hw=any )
0x7fedfce1ac78] main generic debug: looking for hw decoder module matching "any": 2 candidates
[0x7fedfce1ac78] vdpau generic debug: video surface supported maximum: YUV 4:2:0 4096x4096
[0x7fedfce1ac78] vdpau generic debug: decoding profile supported maximum: 13.5 mb 8192, 2048x2048
[0x7fedfce1ac78] main generic debug: using hw decoder module "vdpau"
[0x7fedfce03a58] avcodec decoder debug: Available decoder output format 53 (vaapi_vld)
[0x7fedfce03a58] avcodec decoder debug: Available decoder output format 109 (vdpau)
[0x7fedfce03a58] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 310.44 Wed Mar 27 15:13:26 PDT 2013 for hardware decoding.
[0x7fedfce03a58] avcodec decoder debug: avcodec codec (MPEG-4 Video) started
[0x7fedfce03a58] main decoder debug: using decoder module "avcodec"
[0x7fedfcedfe68] main decoder debug: looking for decoder module matching "any": 39 candidates
[0x7fedfcedfe68] main decoder debug: using decoder module "a52"
[0x7fedfcee0988] main demux meta debug: looking for meta reader module matching "any": 2 candidates

Code: Select all

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1330 root 20 0 174m 52m 23m S 35 2.6 44:10.84 Xorg 8077 user1 20 0 884m 44m 13m S 28 2.2 0:13.66 vlc
user1@myhost:~$ vainfo
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD


user1@myhost:~$ vdpauinfo
display: :0.0 screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library 310.44 Wed Mar 27 15:13:26 PDT 2013

Video surface:

name width height types
-------------------------------------------
420 4096 4096 NV12 YV12
422 4096 4096 UYVY YUYV

Decoder capabilities:

name level macbs width height
-------------------------------------------
MPEG1 0 8192 2048 2048
MPEG2_SIMPLE 3 8192 2048 2048
MPEG2_MAIN 3 8192 2048 2048
H264_MAIN 41 8192 2048 2048
H264_HIGH 41 8192 2048 2048
VC1_SIMPLE 1 8190 2048 2048
VC1_MAIN 2 8190 2048 2048
VC1_ADVANCED 4 8190 2048 2048
MPEG4_PART2_SP 3 8192 2048 2048
MPEG4_PART2_ASP 5 8192 2048 2048
DIVX4_QMOBILE 0 8192 2048 2048
DIVX4_MOBILE 0 8192 2048 2048
DIVX4_HOME_THEATER 0 8192 2048 2048
DIVX4_HD_1080P 0 8192 2048 2048
DIVX5_QMOBILE 0 8192 2048 2048
DIVX5_MOBILE 0 8192 2048 2048
DIVX5_HOME_THEATER 0 8192 2048 2048
DIVX5_HD_1080P 0 8192 2048 2048

Output surface:

name width height nat types
----------------------------------------------------
B8G8R8A8 8192 8192 y Y8U8V8A8 V8U8Y8A8
R10G10B10A2 8192 8192 y Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name width height
------------------------------
B8G8R8A8 8192 8192
R8G8B8A8 8192 8192
R10G10B10A2 8192 8192
B10G10R10A2 8192 8192
A8 8192 8192

Video mixer:

feature name sup
------------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL y
INVERSE_TELECINE y
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 y
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -

parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 1 4096
VIDEO_SURFACE_HEIGHT y 1 4096
CHROMA_TYPE y
LAYERS y 0 4

attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y


Re: vdpau & vlc

Posted: 09 Jul 2013 15:32
by artbio
I am trying to compile VLC git with vdpau support. However this compile error cam up:

# Check that we did not install a plugin linked with libX11 or
# libxcb in vlc-nox
BORKED=no; \
for file in $(find debian/vlc-nox/usr/lib/vlc -name '*.so'); do \
if objdump -x $file | egrep -q -e '^ +NEEDED +libX11\.so' \
-e '^ +NEEDED +libxcb\.so'; then \
BORKED=yes; \
echo $file depends on libX11 or libxcb; \
fi; \
done; \
if test "$BORKED" = yes; then exit 1; fi
debian/vlc-nox/usr/lib/vlc/plugins/codec/libvdpau_plugin.so depends on libX11 or libxcb
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory `/home/build/vlc/vlc-2.1.0'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Any ideas on how to fix this?
Thanks.

Re: vdpau & vlc

Posted: 09 Jul 2013 15:39
by Jean-Baptiste Kempf
Use VLC 2.2.0 and build without the Debian method.