This will give you complete technical specifications including resolution, bitrate, codec, framerate, audio channels, and scene change data for the episode.
#!/bin/bash INPUT="Young.Sheldon.S01E07.mkv" OUTPUT_PREFIX="young_sheldon_s01e07" ffprobe -v quiet -print_format json -show_format -show_streams "$INPUT" > "$OUTPUT_PREFIX_ffprobe.json" Extract key features to readable text file head -20 > "$OUTPUT_PREFIX_features.txt" young sheldon s01e07 ffmpeg
ffmpeg -i "Young.Sheldon.S01E07.mkv" -f null - 2>&1 | grep -E "(Stream|Duration|bitrate|Video|Audio)" > young_sheldon_s01e07_features.txt Or for more detailed, structured feature extraction: &1 | grep -E "(Stream|Duration|bitrate|Video|Audio)" >
ffprobe -v error -show_entries format=duration,bit_rate -show_entries stream=codec_name,width,height,r_frame_rate,channels,sample_rate -of default=noprint_wrappers=1 "Young.Sheldon.S01E07.mkv" young_sheldon_s01e07_features.txt Or for more detailed
echo "Features extracted to $OUTPUT_PREFIX_features.txt and $OUTPUT_PREFIX_ffprobe.json"