Bug 1257 - Missing package vaapi-driver-vdpau (a solution is provided)
Summary: Missing package vaapi-driver-vdpau (a solution is provided)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://forums.mageia.org/en/viewtopic...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 11:41 CEST by Gilles Mouchard
Modified: 2011-05-13 18:40 CEST (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Gilles Mouchard 2011-05-13 11:41:09 CEST
Description of problem:

Enabling hardware acceleration for video decoding does not work with ffmpeg and vlc with nvidia graphic cards because VAAPI backend driver for VDPAU is missing in the Mageia 1 distribution. A solution is proposed below.

Version-Release number of selected component (if applicable):

0.7.3

How reproducible:

Launch a H264 video in vlc with ffmpeg hardware decoding enabled.

Steps to Reproduce:
1.Launch vlc from a console and enable ffmpeg hardware decoding in settings of vlc (preferences -> All -> Input/Codecs -> Video Codecs -> FFmpeg -> Hardware Decoding).
2.Open a H264 video (Menu -> Media -> Open File) 
3.When appriopriate backend driver is installed, vlc says (on the console) that it is using libva 0.32 for hardware acceleration.

Proposed solution:

You may try to use/modify the spec file below or to import the spec file from Mandriva 2011.0:

%define upstreamname vdpau-video

Name: vaapi-driver-vdpau
Version: 0.7.3
Release: mga1
Summary: VA-API driver for VDPAU interface
Group: Video
License: GPLv2
Url: http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/

Source: %upstreamname-%version.tar.gz

BuildRequires: libvdpau-devel libva-devel

%description
VDPAU driver backend for VA API, a video acceleration API.

%prep
%setup -n %upstreamname-%version

%build
libtoolize
autoreconf
%configure

%make

%install
%make DESTDIR=%buildroot install
rm -f %buildroot%_libdir/dri/vdpau_drv_video.la

%files
%doc AUTHORS NEWS
%_libdir/dri/*.so

%changelog
* Thu May 12 2011 Gilles Mouchard <gilles.mouchard at gmail.com> 0.7.3-mga1
- 0.7.3 release
Comment 1 Ahmad Samir 2011-05-13 18:40:16 CEST
The package was already imported in the Mageia SVN (with the complete svn changelog from Mandriva).

0.7.3 should be on the mirrors soon.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.