Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3012 closed defect (fixed)

Incorrect examples for image2 demuxer regarding frame rate

Reported by: slhck Owned by:
Priority: minor Component: documentation
Version: git-master Keywords: image2
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

The documentation mentions that in the following example "an input frame rate of 10 is assumed":

ffmpeg -i 'img-%03d.jpeg' -r 10 out.mkv

This, however, appears wrong to me. The frame rate according to which the input is read needs to be specified before -i. In the given examples, -r 10 reads the input at 25 fps (default) and drops frames to achieve the final 10 fps output frame rate.

The Wiki has a good explanation, so maybe the documentation could be updated in that regard.

Change History (3)

comment:1 by Carl Eugen Hoyos, 11 years ago

Priority: normalminor
Reproduced by developer: set
Status: newopen

comment:2 by Elon Musk, 11 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.