ffmpeg -i outlander_s03e01.mkv -map 0:s:0 subs.srt Then burn them in:
Dèan gnothach air! (Handle it!) – and may your encodes be fast and your quality pristine.
for f in outlander_s03e*.mkv; do ffmpeg -i "$f" -c:v libx265 -crf 23 -c:a aac -b:a 96k "$f%.mkv_mobile.mp4" done outlander s03 ffmpeg
Get-ChildItem "outlander_s03e*.mkv" | ForEach-Object ffmpeg -i $_.Name -c:v libx265 -crf 23 -c:a aac -b:a 96k "$($_.BaseName)_mobile.mp4"
First, extract subtitles from your MKV:
Drop it in the comments below.
ffprobe -v error -show_entries stream=codec_name,start_time outlander_s03e04.mkv If audio is 0.2 seconds behind, delay it: ffmpeg -i outlander_s03e01
ffmpeg -i outlander_s03e01.mkv -c copy -map 0 outlander_s03e01_compressed.mkv Copies video, audio, and subtitles as-is but rewrites the container. This can reduce overhead by 5–15% if the original was poorly muxed.