i followed your howto right to the final "make" (i never thought to get that far), but unfortunately this make stops with an error:Keep in mind, this is a DRAFT HOWTO in version v0.0.0.0.0.0.0.0.1.
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
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
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
Yes.I thought that 'libva' was a VAAPI interface with a VDPAU backend?
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
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
Code: Select all
VLC media player 1.2.0-git Twoflower (revision exported)
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
Nothingffmpeg -formats | grep vaapi[/quote
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
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
This 1080p trailer in a Atom 330 dual core with 2 GBytes RAM and nvidia ION:Some have tried to do tests between VLC and Mplayer with VDPAU integrated? What the results?
How to compile vlc with vaapi?You diddn't compile ffmpeg with 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--enable-vaapi
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 13 guests