MythTV + VDPAU

Bernhard Froehlich decke at bluelife.at
Wed Mar 24 08:46:32 UTC 2010


On Wed, 24 Mar 2010 09:38:15 +0100, Bernhard Froehlich <decke at bluelife.at>
wrote:
> On Wed, 24 Mar 2010 01:24:34 -0400, Andriy Bakay <andriy at irbisnet.com>
> wrote:
>> Hi Bernhard,
>> 
>> I tried to compile MythTV with VDPAU support and it gave me the 
>> following error:
>> 
>> util-vdpau.cpp: In member function 'void 
>> VDPAUContext::PrepareVideo(VideoFrame*, QRect, QRect, QSize, 
>> FrameScanType)':
>> util-vdpau.cpp:1092: error: call of overloaded 'abs(long long int)' is 
>> ambiguous
>> /usr/include/stdlib.h:83: note: candidates are: int abs(int)
>> /usr/include/c++/4.2/cstdlib:143: note:                 long int 
>> std::abs(long int)
>> gmake[2]: *** [util-vdpau.o] Error 1
>> gmake[2]: Leaving directory 
>> `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libmythtv'
>> gmake[1]: *** [sub-libmythtv-all] Error 2
>> gmake[1]: Leaving directory 
>> `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs'
>> gmake: *** [sub-libs-all-ordered] Error 2
>> *** Error code 1
>> 
>> I was able to fix the problem, just replace function 'abs' to 'llabs'. 
>> After that fix it compiles and work with my nVidia Silent GeForce 8400 
>> GS 512MB. It used only 5-6% of my CPU when I played 1080p movie.
> 
> That sounds great but i do not have any nVidia hardware so i cannot test
> it myself.
> What configure options did you exactly add? From the VDPAU wiki page it
> looks like it would be a good idea to add both:
> --enable-xvmc-opengl --enable-vdpau
> 
> I hope to have some time in the upcoming days to prepare a test port for
> this and will reply when i'm ready.
> 
> As a side note i've seen that MythTV is already preparing a 0.23 release
> so I want to have a 0.23 port ready for a Call for Testers when they
> announce their first release candidate.

I probably can't hold this as they where quicker than i thought. MythTV
0.23 RC1 is available since 2 hours.

-- 
Bernhard Fröhlich
http://www.bluelife.at/


More information about the freebsd-multimedia mailing list