-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME
56 lines (35 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
FFmpeg/vaapi Sample Player (ffvademo)
Copyright (C) 2014 Intel Corporation
Author: Gwenole Beauchesne <[email protected]>
License
-------
The FFmpeg/vaapi Sample Player (ffvademo) and its associated helper
library are available available under the terms of the GNU Lesser
General Public License v2.1+
Overview
--------
This project consists in a simple FFmpeg/vaapi based video player, and
an associated helper library, that demonstrate how to use FFmpeg with
Video Acceleration (VA) APIs.
Features
--------
* FFmpeg decoder with VA-API support
* Native X11 renderer through vaPutSurface()
* EGL renderer showing off VA/EGL interop capabilities
Non-goals
* A full-blown player supporting every possible codec
* A player that supports audio decoding
* A player that supports software decoding
Requirements
------------
Software requirements
* VA-API (>= 0.36.0 for VA/EGL interop)
* FFmpeg (>= 2.1)
Usage
-----
* Play an H.264 video with an MP4 container
$ ffvademo /path/to/video.mp4
* Play a VC-1 video while converting the output to I420 format
$ ffvademo -f yuv420p /path/to/video.wmv
* Play an H.264 video while rendering with EGL/GLESv2
$ ffvademo -r egl -f argb /path/to/video.mp4