tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

How can I insert a keyframe? #538

Closed guoyi427 closed 3 years ago

guoyi427 commented 4 years ago

I can't insert keyframe in video when I use "-c:v libx264 -x264opts keyint=30" and it log: ERROR: Unable to find a suitable output format for 'keyint=30' ERROR: keyint=30: Invalid argument

alexcohn commented 4 years ago

You are missing quotes:

"-c:v libx264 -x264opts \"keyint=30\""
github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.