ffmpeg -i "Young.Sheldon.S02E12.mkv" -c:v libx264 -crf 18 -c:a aac -b:a 192k "Young_Sheldon_S02E12.mp4" Use code with caution. Copied to clipboard
ffmpeg -i "Young.Sheldon.S02E12.mkv" -ss 00:15:30 -to 00:16:45 -c copy sheldon_clip.mkv
ffmpeg -i "young.sheldon.s02e12.source.mkv" \ -c:v copy \ -c:a ac3 -b:a 640k \ -metadata title="Young Sheldon - S02E12 - A Racing Heart and a Romantic Imagination" \ -metadata:s:a:0 language=eng \ -metadata:s:v:0 language=eng \ -movflags +faststart \ "young.sheldon.s02e12.1080p.web-dl.x264.ac3.mkv"
ffmpeg -i "Young.Sheldon.S02E12.mkv" -map 0:s:0 "YS_S02E12_Subs.srt" Use code with caution. Copied to clipboard Episode Details for Metadata
This starts at the 5-minute mark and takes a 30-second clip. Using -c copy ensures there is no quality loss because the video isn't re-encoded. 2. Creating a GIF for Social Media