linux - is there a way to control the extraction of key frame using ffmpeg -


the situation 8 frames default threshold scenecut detection.as key frames not representive enough .so want turn down threhold more key-frames.but use -g , -sc_threshold arguments in command(reference:how control key-frame generation of ffmpeg?) ,it donot work well.i still same 8 frames without change.any ideas?

you output iframes list , use script.

$ ffprobe -show_packets -print_format compact input.mkv 2>/dev/null | egrep -n flags=k | cut -d: -f 1 > iframes 

Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -