Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 2.24 KB

description.md

File metadata and controls

56 lines (44 loc) · 2.24 KB

For information on the hevc_vaapi encoder settings:

Check your GPU compatibility:

Config description:

Enable VAAPI HW Accelerated Decoding?

Decode the video stream using hardware accelerated decoding. This enables full hardware transcode with VAAPI, using only hardware acceleration entire video transcode.

When the input may or may not be hardware decodable, this will fallback to software decoding.

Max input stream packet buffer

When transcoding audio and/or video streams, ffmpeg will not begin writing into the output until it has one packet for each such stream. While waiting for that to happen, packets for other streams are buffered. This option sets the size of this buffer, in packets, for the matching output stream.

FFmpeg docs refer to this value as '-max_muxing_queue_size'

Overwrite all options with custom input

This free text input allows you to write any FFmpeg params that you want. This is for more advanced use cases where you need finer control over the file transcode.

:::note These params are added in three different places:

  1. MAIN OPTIONS - After the default generic options. (Main Options Docs)
  2. ADVANCED OPTIONS - After the input file has been specified. (Advanced Options Docs)
  3. VIDEO OPTIONS - After the video is mapped and the encoder is selected. (Video Options Docs) (Advanced Video Options Docs)
ffmpeg \
    -hide_banner \
    -loglevel info \
    <CUSTOM MAIN OPTIONS HERE> \
    -i /library/TEST_FILE.mkv \
    <CUSTOM ADVANCED OPTIONS HERE> \
    -map 0:v:0 \
    -map 0:a:0 \
    -map 0:a:1 \
    -c:v:0 hevc_vaapi \
    <CUSTOM VIDEO OPTIONS HERE> \
    -c:a:0 copy \
    -c:a:1 copy \
    -y /path/to/output/video.mkv 

:::