# Extract one frame every 10 seconds ffmpeg -i "Young.Sheldon.S01E07.mkv" -vf "fps=1/10" -frames:v 10 "young_sheldon_s01e07_frame_%03d.jpg" ffmpeg -i "Young.Sheldon.S01E07.mkv" -filter_complex "showwavespic=s=1280x720" -frames:v 1 "young_sheldon_s01e07_waveform.png"

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:

#!/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 grep "Scene" > "$OUTPUT_PREFIX_features.txt"

echo "Features extracted to $OUTPUT_PREFIX_features.txt and $OUTPUT_PREFIX_ffprobe.json"