CFGFACTORY
YOUR GAME, YOUR CONFIG
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:
# Scene detection (first 1000 frames) echo "--- SCENE CHANGE DETECTION (first 1000 frames) ---" ffmpeg -i "$INPUT" -vf "select='gt(scene,0.4)',metadata=print:file=-" -frames:v 1000 -an -f null - 2>&1 > "$OUTPUT_PREFIX_features.txt" young sheldon s01e07 ffmpeg
# 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
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" &1 | grep -E "(Stream|Duration|bitrate|Video|Audio)" >
echo "Features extracted to $OUTPUT_PREFIX_features.txt and $OUTPUT_PREFIX_ffprobe.json"