Video Codec
This flow element will set all video streams in the file to encode using the video codec specified and the encoding parameters specified.
Video Codec
This field is only used to check if the video needs to be encoded and is not passed to FFmpeg.
If the current video matches this codec (and Force Encode
is off), the video will not be transcoded.
Video Codec Parameters
The parameters to use to encode the video. This are the parameters to pass into FFmpeg for encoding. Referer to the FFmpeg documentation for parameters you can use here.
Magic Values
You can set the codec to these magic values and leave the parameters blank.
- h265, hevc
- If this is set, the flow executor will determine if the Flow Runner can first hardware encoding in this order hevc_nvenc (NVIDIA GPUs), hevc_qsv (Intel), hevc_amf (AMD), hevc_vaapi. If not it will fall back to using CPU encoding of H265/HEVC.
- h264
- If this is set, the flow executor will determine if the Flow Runner can first hardware encoding in this order h264_nvenc (NVIDIA GPUs), h264_qsv (Intel), h264_amf (AMD), h264_vaapi. If not it will fall back to using CPU encoding of H264.
Force Encode
When force is checked, the video will be forced encoded even if it was already in the desired codec.
Only First
When checked if there are multiple video streams in the file, this will remove all but the first video stream from the file once executed.
Outputs
- The video was update and encoding was set on the file
- The video was already in the required codec or no appropriate video streams were found.