[FFmpeg-user] Unexpected result when discarding keyframes

jamesfowkes jamesfowkes at gmail.com
Tue Jan 14 12:07:46 EET 2020

Just in case anyone finds this in the future, the eventual solution to this
issue (for me, I don't know how applicable it is generally), was to add -ss
0 to the ffmpeg command:

ffmpeg -discard nokey -ss 0 -i input.mp4 -c copy -y keyframes.h264

I'm guessing the input stream has weird timing information or something.

Sent from: http://www.ffmpeg-archive.org/

More information about the ffmpeg-user mailing list