Compiler is crashing with this error:
Code:
DVDVideoCodecFFmpegVDPAU.cpp: In member function ‘int CDVDVideoCodecVDPAU::configVDPAU(uint32_t, uint32_t, uint32_t)’:
DVDVideoCodecFFmpegVDPAU.cpp:422: error: invalid conversion from ‘uint32_t’ to ‘VdpDecoder*’
DVDVideoCodecFFmpegVDPAU.cpp:422: error: too many arguments to function
DVDVideoCodecFFmpegVDPAU.cpp:427: warning: comparison between signed and unsigned integer expressions
DVDVideoCodecFFmpegVDPAU.cpp:440: warning: comparison between signed and unsigned integer expressions
DVDVideoCodecFFmpegVDPAU.cpp: In member function ‘void CDVDVideoCodecVDPAU::spewHardwareAvailable()’:
DVDVideoCodecFFmpegVDPAU.cpp:522: warning: comparison between signed and unsigned integer expressions
DVDVideoCodecFFmpegVDPAU.cpp: In static member function ‘static vdpau_render_state* CDVDVideoCodecVDPAU::VDPAUFindFreeSurface()’:
DVDVideoCodecFFmpegVDPAU.cpp:553: warning: comparison between signed and unsigned integer expressions
make[3]: *** [DVDVideoCodecFFmpegVDPAU.o] Error 1
make[3]: Leaving directory `/home/dafart/Desktop/xbmc-vdpau/XBMC/xbmc/cores/dvdplayer/DVDCodecs/Video'
make[2]: *** [Video] Error 2
make[2]: Leaving directory `/home/dafart/Desktop/xbmc-vdpau/XBMC/xbmc/cores/dvdplayer/DVDCodecs'
make[1]: *** [DVDCodecs] Error 2
make[1]: Leaving directory `/home/dafart/Desktop/xbmc-vdpau/XBMC/xbmc/cores/dvdplayer'
make: *** [dvdplayer] Error 2
Using nvidia 180.29 on ubuntu 8.10
Should I compile ffmpeg separately?
My card is a 9500GT btw
Code:
./vdpinfo
display: :0.0 screen: 0
API version: 0
Information string: Unknown
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
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
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
Not sure why it doesn give me VC-1 decoding as the card is supposed to support this.
http://global.msi.eu/index.php?func=prod...od_no=1532
As always, thumbs up for this great project!