Closed aturkelson closed 2 years ago
Additional testing revealed that the parameter is unintentionally added multiple times during calls to to_frames
. Working on a fix now.
Added handling for duplicate options and inpath sequence pattern checking. Ready for someone to take a look now.
nit: PR conventions:
When ffmpeg is searching for files it looks for a sequence pattern containing
"%d"
or"%0Nd"
, where the first filename of the file list specified by the pattern must contain a number inclusively contained betweenstart_number
andstart_number+start_number_range-1
. By defaultstart_number=0
andstart_number_range=5
. If a file sequence begins at or afterstart_number_range=5
an exception is thrown:This change automatically determines the
start_number
to use based on the ffmpeginpath
parameter. If no sequence is found then it will default to0
, otherwise it will use the result of sequence pattern parsing.