From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtGan-0006hU-Go for qemu-devel@nongnu.org; Thu, 10 Jan 2013 06:46:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtGam-0007Ip-Ek for qemu-devel@nongnu.org; Thu, 10 Jan 2013 06:46:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:4445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtGam-0007Ij-5i for qemu-devel@nongnu.org; Thu, 10 Jan 2013 06:46:40 -0500 Message-ID: <50EEAA19.8010800@redhat.com> Date: Thu, 10 Jan 2013 12:46:33 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1357752469-17825-1-git-send-email-david.verbeiren@intel.com> <8738ya6r3h.fsf@codemonkey.ws> <5650EBDE-4AAA-407A-829B-648E42B9DBB5@suse.de> <50EE6673.8030107@redhat.com> <50EEA18E.1080900@redhat.com> <0A61D11D-6E10-4866-9EAC-F35A10A93191@suse.de> In-Reply-To: <0A61D11D-6E10-4866-9EAC-F35A10A93191@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ui/vnc: VA API based H.264 encoding for VNC framebuffer updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , David Verbeiren , "qemu-devel@nongnu.org" , Stefano Stabellini On 01/10/13 12:19, Alexander Graf wrote: > > On 10.01.2013, at 12:10, Gerd Hoffmann wrote: > >> On 01/10/13 11:37, Stefano Stabellini wrote: >>> On Thu, 10 Jan 2013, Gerd Hoffmann wrote: >>>> On 01/09/13 23:18, Alexander Graf wrote: Using libavcodec >>>> directly is a non-starter as distros don't ship that due to the >>>> multimedia codec patent mess. >>> >>> libavcodec is certainly available on my ubuntu and debian >>> installs. >> >> Full version with H.264 support? Or stripped down, with patented >> codecs removed? > > IIRC Ubuntu has full support. Also openSUSE has Packman where you > could get full libavcodec builds. Fedora has rpmfusion. But packages in the distro core can't have direct dependencies to 3rd party repo packages like packman/rpmfusion/non-free/whatever-it-is-called-for-your-distro. > But overall, gstreamer is probably the better interface to look at > here, as it actually provides a plugin architecture that people can > plug their almost-legal codecs into. Exactly. Taking the indirection via gstreamer plugins allows to build qemu core distro package with H.264 support enabled. Actually using that requires the gstreamer plugins (for libavcodec and/or vaapi) being installed of course. cheers, Gerd