For video codec H.264 there are two parameters: Framerate (e.g. 25 or 30 or 29,97) and keyframe interval (I guess measured in seconds after the last keyframe .e.g 50 or 200): What are the corresponding cmdline parameters for ffmpeg? How can I tell ffmpeg to use the same values as the input? Thank you Ben