ffmpeg -i "Young.Sheldon.S07E04.mkv" -t 30 -vf cropdetect -f null - 2>&1 | grep crop Then apply (example crop=1920:800:0:140):
ffprobe -v quiet -print_format json -show_streams "Young.Sheldon.S07E04.mkv" | grep title young sheldon s07e04 ffmpeg
However, I assume you are looking for to process a video file of Young Sheldon S07E04 (likely a mislabel or a fan-edit title). The most common episode people refer to as S07E04 is actually "Ants on a Log and a Cheating Winker" (which is S07E04 in the official numbering). ffmpeg -i "Young
Below is for common tasks on that episode file. 1. Basic Information (Inspect the file) ffmpeg -i "Young.Sheldon.S07E04.1080p.mkv" 2. Compress / Re-encode to H.264 (smaller size) ffmpeg -i "Young.Sheldon.S07E04.mkv" \ -c:v libx264 -crf 23 -preset medium \ -c:a aac -b:a 128k \ "Young.Sheldon.S07E04_compressed.mp4" 3. Remove Black Bars (Crop detection) First detect crop: Remove Black Bars (Crop detection) First detect crop:
This is a tricky request because does not exist officially. The series ended with Season 7, Episode 14 (the series finale).