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
Post a Comment