Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
527a1e21
Commit
527a1e21
authored
Mar 19, 2017
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: Document the -init_hw_device option
(cherry picked from commit
303fadf5
)
parent
e462ace8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
27 deletions
+58
-27
ffmpeg.texi
doc/ffmpeg.texi
+58
-27
No files found.
doc/ffmpeg.texi
View file @
527a1e21
...
@@ -715,6 +715,56 @@ would be more efficient.
...
@@ -715,6 +715,56 @@ would be more efficient.
When doing stream copy, copy also non-key frames found at the
When doing stream copy, copy also non-key frames found at the
beginning.
beginning.
@item -init
_
hw
_
device @var
{
type
}
[=@var
{
name
}
][:@var
{
device
}
[,@var
{
key=value
}
...]]
Initialise a new hardware device of type @var
{
type
}
called @var
{
name
}
, using the
given device parameters.
If no name is specified it will receive a default name of the form "@var
{
type
}
%d".
The meaning of @var
{
device
}
and the following arguments depends on the
device type:
@table @option
@item cuda
@var
{
device
}
is the number of the CUDA device.
@item dxva2
@var
{
device
}
is the number of the Direct3D 9 display adapter.
@item vaapi
@var
{
device
}
is either an X11 display name or a DRM render node.
If not specified, it will attempt to open the default X11 display (@emph
{$
DISPLAY
}
)
and then the first DRM render node
(
@emph
{
/
dev
/
dri
/
renderD
128
}
)
.
@item vdpau
@var
{
device
}
is an X
11
display name.
If not specified, it will attempt to open the default X
11
display
(
@emph
{$
DISPLAY
}
).
@item qsv
@var
{
device
}
selects a value in @samp
{
MFX
_
IMPL
_
*
}
. Allowed values are:
@table @option
@item auto
@item sw
@item hw
@item auto
_
any
@item hw
_
any
@item hw2
@item hw3
@item hw4
@end table
If not specified, @samp
{
auto
_
any
}
is used.
(Note that it may be easier to achieve the desired result for QSV by creating the
platform-appropriate subdevice (@samp
{
dxva2
}
or @samp
{
vaapi
}
) and then deriving a
QSV device from that.)
@end table
@item -init
_
hw
_
device @var
{
type
}
[=@var
{
name
}
]@@@var
{
source
}
Initialise a new hardware device of type @var
{
type
}
called @var
{
name
}
,
deriving it from the existing device with the name @var
{
source
}
.
@item -init
_
hw
_
device list
List all hardware device types supported in this build of ffmpeg.
@item -hwaccel[:@var
{
stream
_
specifier
}
] @var
{
hwaccel
}
(@emph
{
input,per-stream
}
)
@item -hwaccel[:@var
{
stream
_
specifier
}
] @var
{
hwaccel
}
(@emph
{
input,per-stream
}
)
Use hardware acceleration to decode the matching stream(s). The allowed values
Use hardware acceleration to decode the matching stream(s). The allowed values
of @var
{
hwaccel
}
are:
of @var
{
hwaccel
}
are:
...
@@ -734,6 +784,9 @@ Use VDPAU (Video Decode and Presentation API for Unix) hardware acceleration.
...
@@ -734,6 +784,9 @@ Use VDPAU (Video Decode and Presentation API for Unix) hardware acceleration.
@item dxva2
@item dxva2
Use DXVA2 (DirectX Video Acceleration) hardware acceleration.
Use DXVA2 (DirectX Video Acceleration) hardware acceleration.
@item vaapi
Use VAAPI (Video Acceleration API) hardware acceleration.
@item qsv
@item qsv
Use the Intel QuickSync Video acceleration for video transcoding.
Use the Intel QuickSync Video acceleration for video transcoding.
...
@@ -757,33 +810,11 @@ useful for testing.
...
@@ -757,33 +810,11 @@ useful for testing.
@item -hwaccel
_
device[:@var
{
stream
_
specifier
}
] @var
{
hwaccel
_
device
}
(@emph
{
input,per-stream
}
)
@item -hwaccel
_
device[:@var
{
stream
_
specifier
}
] @var
{
hwaccel
_
device
}
(@emph
{
input,per-stream
}
)
Select a device to use for hardware acceleration.
Select a device to use for hardware acceleration.
This option only makes sense when the @option
{
-hwaccel
}
option is also
This option only makes sense when the @option
{
-hwaccel
}
option is also specified.
specified. Its exact meaning depends on the specific hardware acceleration
It can either refer to an existing device created with @option
{
-init
_
hw
_
device
}
method chosen.
by name, or it can create a new device as if
@samp
{
-init
_
hw
_
device
}
@var
{
type
}
:@var
{
hwaccel
_
device
}
@table @option
were called immediately before.
@item vdpau
For VDPAU, this option specifies the X11 display/screen to use. If this option
is not specified, the value of the @var
{
DISPLAY
}
environment variable is used
@item dxva2
For DXVA2, this option should contain the number of the display adapter to use.
If this option is not specified, the default adapter is used.
@item qsv
For QSV, this option corresponds to the values of MFX
_
IMPL
_
* . Allowed values
are:
@table @option
@item auto
@item sw
@item hw
@item auto
_
any
@item hw
_
any
@item hw2
@item hw3
@item hw4
@end table
@end table
@item -hwaccels
@item -hwaccels
List all hardware acceleration methods supported in this build of ffmpeg.
List all hardware acceleration methods supported in this build of ffmpeg.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment