[FFmpeg-user] set total number of output frames when extracting pictures from movie

Mike Scheutzow mike.scheutzow at alcatel-lucent.com
Tue Mar 27 14:42:45 CEST 2012


Peter Dickten wrote:
> I'm extracting pictures of movies using ffmpeg.
> In the past I was abled to specify the number of frames to export (total number, not fps!)This was very handy, because I sometimes needed more pictures than the movie contained (because of gaps in the recording)and ffmpeg filled the gaps with duplicate pictures.
> Now I can't find my old shell command and I'm either too stupid or too blind [or both] to find the command line parameter :-(Can you give me hint!
> Thanks a lot!J.F.Sebastian


-vframes N

In recent versions of ffmpeg, I had to move it after -vcodec to make it 
to work.


Mike Scheutzow


More information about the ffmpeg-user mailing list