

It auto-detects a Matroska to MP4 container conversion based on input/output filenames.

It is one of the backends for many of the GUI tools mentioned in other answers.Ĭhanging container without re-enconding content could not be simpler: ffmpeg -i input.mkv -codec copy output.mp4 Libav is a fork of FFmpeg, which Ubuntu switched to for a few years until Ubuntu 15.04. p, -preset TEXT FFmpeg preset to use.Perhaps the easiest tool for that is ffmpeg, or avconv from the libav-tools package.

q, -quality INTEGER The quantizer quality level to use f, -force Force conversion even if the format of the file i, -in-place Replace the original files instead of appending Video: HEVC/x265 at quality of 23 SubtitlesĪll subtitles will be copied from the source if they exist Usage Usage: convert-videos DIRECTORIES. b-frames are not currently supported nvenc itself supports them on 20xx+ series graphics cards.Conversions use constqp mode for the quality setting instead of CRF, this is because nvenc does not support CRF.Hardware acceleration is supported on nVidia devices. Height is automatically calculated to ensure that the aspect ratio is maintained. Videos can be resized automatically by providing a width.

This can be changed with the -container flag to anything that is supported by FFMPEG and the chosen video and audio codecs Video output CodecsĬurrently only HEVC (x265) and AVC (h264) are supported for video codecs. The default output container is mkv format. Videos are only converted if they do not already match the desired codec, allowing you to process a folder of mixed format files and only convert the ones you desire. This can be optionally overridden using the -in-place flag. Best Movie Ever.avi -> Best Movie Ever - x265.mkv. This tool allows bulk conversion of videos using ffmpeg.īy default it will append the codec name to the file, e.g.
