L'octidi 18 ventôse, an CCXXV, Calvin Walton a écrit :
> Hmm. Setting it to the same as the input value if all inputs match
> shouldn't be too hard, I think.
> 
> In the actual case of inputs with different frame rates, would it be
> better to use the '1/0' value, or should it attempt to calculate a
> common framerate that's a multiple of all inputs? (e.g. for 24fps and
> 30fps inputs, it could pick 120fps).
> 
> There's already a TODO listed in the filter code about determining a
> common timebase rather than using AV_TIME_BASE - if I'm doing the work
> to find a common framerate, I could probably do this at the same time.

If the inputs have different frame rates, then concat will be outputting
variable frame rate, not constant with a common divisor. Therefore 1/0
is better I think.

OTOH, printing a message when this happens would probably be useful, and
in that case, printing the common possible frame rate would be nice. But
is is not urgent.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to