[FFmpeg-user] set total number of output frames when extracting pictures from movie
softteam at hotmail.com
Wed Mar 28 13:08:18 CEST 2012
> > 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.
Thanks for helping me!I already tried -vframes but my fault was that I also had the -r parameter (fps).When using -r the parameter -vframes is ignored.
More information about the ffmpeg-user