[FFmpeg-user] frame by frame scrub h264/mov issues?

Ryan Williams rwilliams at busivid.com
Wed Dec 9 08:33:10 CET 2015

My understanding of the -force_key_frames option is that it takes a comma separated list of time intervals (in seconds) to trigger key frames to occur.
In my program I use "-force_key_frames:v 0,0.000001" to force the first and second frame of any video to be keyframes regardless of the framerate.

Not sure if this helps, just wanted to explain that
1) You can specify multiple time intervals to "-force_key_frames".
2) That if specify the exact timestamp of a particular frame then it will actually be the following frame which becomes the key frame instead.

-----Original Message-----
From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Brice
Sent: Wednesday, 9 December 2015 11:03
To: ffmpeg-user at ffmpeg.org
Subject: [FFmpeg-user] frame by frame scrub h264/mov issues?

Hey All,

I'm having some issues with creating an h264 QuickTime from a jpg sequence.
  The QuickTime generates just fine and plays just fine as well.  If I stop the QT at all, I get the ball of death while QT "thinks", then can't use the (L/R) keys to step through the QT frame by frame.

When using ffplay I get the following error when trying to go frame by
frame: "error while seeking."


OSX version 10.8.5
ffmpeg version 2.3.2

Current ffmpeg cmd string looks like this:

ffmpeg -start_number 0000476 -f image2 -r 24 -i <PATH><SEQ>.%07d.jpg  -vcodec libx264 -acodec libfaac -r 23.976 -qp 22 -pix_fmt yuv420p  -movflags +faststart -force_key_frames 1 <PATH><QTNAME>.mov -y

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list