Changes between Version 51 and Version 52 of HWAccelIntro


Ignore:
Timestamp:
Jul 20, 2017, 12:18:45 AM (3 months ago)
Author:
jkqxz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HWAccelIntro

    v51 v52  
    6464 
    6565 
     66== Use with the FFmpeg Utility == 
     67 
     68Internal hwaccel decoders are enabled via the `-hwaccel` option.  The software decoder starts normally, but if it detects a stream which is decodable in hardware then it will attempt to delegate all significant processing to that hardware.  If the stream is not decodable in hardware (for example, it is an unsupported codec or profile) then it will still be decoded in software automatically.  If the hardware requires a particular device to function (or needs to distinguish between multiple devices, say if several graphics cards are available) then one can be selected using `-hwaccel_device`. 
     69 
     70External wrapper decoders are used by setting a specific decoder with the `-codec:v` option.  Typically they are named `codec_api` (for example: `h264_cuvid`).  These decoders require the codec to be known in advance, and do not support any fallback to software if the stream is not supported. 
     71 
     72Encoder wrappers are selected by `-codec:v`.  Encoders generally have lots of options - look at the documentation for the particular encoder for details. 
     73 
     74Hardware filters can be used in a filter graph like any other filter.  Note, however, that they may not support any formats in common with software filters - in such cases it may be necessary to make use of `hwupload` and `hwdownload` filter instances to move frame data between hardware surfaces and normal memory. 
     75 
     76 
    6677== VDPAU == 
    6778[http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/index.html Video Decode and Presentation API for Unix]. Developed by NVidia for UNIX/Linux systems. To enable this you typically need the libvdpau development package in your distribution, and a compatible graphic card.