Kodi Community Forum

Full Version: xbmc -debian +vdpau
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I tried to compiled xbmc on a debian and nvidia 9400 GT.

I had a problem during the compilation :

Code:
configure: == Use of external ffmpeg enabled. ==
checking for ff_vdpau_vc1_decode_picture in -lavcodec... no
== External ffmpeg doesn't support VDPAU. VDPAU support disabled. ==
checking for main in -la52... no
configure: error: Could not find a required library. Please see the README for your platform.

I used nvidia driver 185.19 (I tried with 185.18 - 190.19, ...).

I compiled my ffmepg with this parameter :
Code:
./configure --enable-vdpau

I have the same problem.

I don't understand how can I solve it?

Thanks.
I solve the problem. It was a problem of missing libraries.

But now I have an error with make
with goom2k4-0.

Quote:make -C goom2k4-0
make[2]: entrant dans le répertoire « /home/fafarun/logiciels/xbmc/trunk/xbmc/visualizations/Goom/goom2k4-0 »
make[2]: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
make[2]: quittant le répertoire « /home/fafarun/logiciels/xbmc/trunk/xbmc/visualizations/Goom/goom2k4-0 »
make[1]: *** [goom2k4-0/src/.libs/libgoom2.a] Erreur 2
make[1]: quittant le répertoire « /home/fafarun/logiciels/xbmc/trunk/xbmc/visualizations/Goom »
make: *** [visualizations] Erreur 2
Now it's ok. I used the branch version (on svn), not the thunk.
How did you manage to install XBMC on debian lenny?

I'd really appreciate some simple instructions? For the moment I'm battling with the same issue (no VDPAU support).

Cheers
i have the same problem with external ffmpeg and xbmc pvr-testing2

ffmpeg:
ffmpeg -codecs | grep vdpau
Quote:FFmpeg version SVN-r20900, Copyright © 2000-2009 Fabrice Bellard, et al.
built on Jan 1 2010 21:34:00 with gcc 4.3.2
configuration: --enable-postproc --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libvorbis --enable-libx264 --enable-libxvid --disable-debug --prefix=/usr/local --enable-libmp3lame --enable-vdpau
libavutil 50. 7. 0 / 50. 7. 0
libavcodec 52.43. 0 / 52.43. 0
libavformat 52.44. 0 / 52.44. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 2 / 0. 7. 2
libpostproc 51. 2. 0 / 51. 2. 0
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 mpeg4_vdpau MPEG-4 part 2 (VDPAU)
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 vdpau is working. i'm able to watch mkv files with xine, mplayer.
i have no clue about solving this problem without using the internal ffmpeg.

thanks
solved my problem with external ffmpeg
Quote:configure: == Use of external ffmpeg enabled. ==
checking for ff_vdpau_vc1_decode_picture in -lavcodec... no
== External ffmpeg doesn't support VDPAU. VDPAU support disabled. ==

i compiled ffmpeg with --enable-shared

here is my ffmpeg config
Quote:configuration: --enable-postproc --enable-gpl --enable-nonfree --enable-pthreads --enable-x11grab --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libvorbis --enable-libx264 --enable-libxvid --disable-debug --prefix=/usr/local --enable-libmp3lame --enable-libschroedinger --enable-shared

instead of ffmpeg now i have another problem with python
Quote:/usr/local/src/XBMC/xbmc/lib/libPython/XBPyThread.cpp:224: undefined reference to `PyRun_StringFlags'
/usr/local/src/XBMC/xbmc/lib/libPython/XBPyThread.cpp:213: undefined reference to `PyRun_FileExFlags'

maybe someone can have the same problem
theend Wrote:solved my problem with external ffmpeg


i compiled ffmpeg with --enable-shared

here is my ffmpeg config


instead of ffmpeg now i have another problem with python


maybe someone can have the same problem

Hi theend,

I was wondering if you compiled the external ffmpeg using --enable-shared? I have the same problem with VDPAU compiling with external-ffmpeg. I think it's because the function ff_vdpau_vc1_decode_picture() is not found in the system libavcodec/ directory. I don't know what to do with it. Thanks!Smile
Why not just use internal ffmpeg Smile
bobo1on1 Wrote:Why not just use internal ffmpeg Smile

The internal ffmpeg work. But I still need to get external ffmpeg works with vdpau. Is there a way to do it? Thanks!