From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 24 08:46:32 2010 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3ECB106567C for ; Wed, 24 Mar 2010 08:46:32 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 205198FC16 for ; Wed, 24 Mar 2010 08:46:32 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NuMEQ-0007Se-I5; Wed, 24 Mar 2010 09:46:30 +0100 MIME-Version: 1.0 Date: Wed, 24 Mar 2010 09:46:31 +0100 From: Bernhard Froehlich To: Bernhard Froehlich In-Reply-To: <793b90ddde2f59070ab34a28ee490f6b@bluelife.at> References: <4BA9A212.8000009@irbisnet.com> <793b90ddde2f59070ab34a28ee490f6b@bluelife.at> Message-ID: <8112c450055b8fb2aa03c411cd54ee29@bluelife.at> X-Sender: decke@bluelife.at User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, 24 Mar 2010 09:38:15 +0100, Bernhard Froehlich wrote: > On Wed, 24 Mar 2010 01:24:34 -0400, Andriy Bakay > 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. [...] Content analysis details: (2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 3.4 FH_DATE_PAST_20XX The date is grossly in the future. 2.4 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org. -2.1 AWL AWL: From: address is in the auto white-list Cc: Andriy Bakay , multimedia@FreeBSD.org Subject: Re: MythTV + VDPAU X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 08:46:32 -0000 On Wed, 24 Mar 2010 09:38:15 +0100, Bernhard Froehlich wrote: > On Wed, 24 Mar 2010 01:24:34 -0400, Andriy Bakay > 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/