User Tools

Site Tools


ffmpeg:hardware_acceleration_using_gpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:hardware_acceleration_using_gpu [2023/06/13 10:34] peterffmpeg:hardware_acceleration_using_gpu [2023/06/13 13:19] (current) peter
Line 2: Line 2:
  
 To use a graphics card for increased decoding/encoding speed when transcoding video. To use a graphics card for increased decoding/encoding speed when transcoding video.
 +
 +<WRAP important>
 +**WARNING:**  Hardware acceleration will usually produce __lower quality results__ than when using Software encoding.
 +
 +  * Hardware acceleration is definitely not using the same encoder, just ported to a GPU, it is actually using a fully different encoder.
 +    * Not only are the algorithms very different on hardware, but also the parameters do not match versus a software encoder.
 +      * e.g. the crf parameter in an encoder does not necessarily have the same effect in another encoder, and the same value can result in completely different effective quality (the parameters and their scales are not standardized).
 +
 +  * The hardware encoder in the graphics card is usually tailored for speed; above quality.
 +    * This is a trade-off in order to keep complexity down.
 +    * Hardware encoding uses fixed function blocks which are far less versatile and adaptable than software encoders.
 +      * The video quality of hardware encoders is usually pretty fixed, and there is not a lot of room to adjust video quality with hardware encoders.
 +    * As a result a software encoder will get better results 99 times out of 100.
 +
 +  * A huge amount of development effort, time and cost would be needed to get hardware to be as full-featured as a software encoder.
 +
 +</WRAP>
  
 ---- ----
ffmpeg/hardware_acceleration_using_gpu.1686652495.txt.gz · Last modified: 2023/06/13 10:34 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki