IT notes


To reduce/compress a video size you could use: ffmpeg -i -vcodec libx265 -crf 28 output.mp4 Be aware that libx265 is not supported in many players so you can always fallback to H.264: ffmpeg -i output.mp4

add subtitles

Add subtitles to a mkv file: ffmpeg -i input.mkv -f srt -i -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s srt output.mkv