views:

5

answers:

0

Hello,

I'm making an application which imports several videos from different sources and joins them together. The problem is that the source videos can be at different framerates - so for example I want to join a 2 fps video (call it Video A) to a 5fps video (Video B). I want to keep it looking right in the final export.

I could pick a export frame rate with is a multiple of the imput frame rate and just repeat frames - ie. export at 10fps and repeat each frame of A 5 times and each frame of B twice.

But that solution is messy, would lead to larger video files, and wouldn't help if A was say 24fps and B 25fps - as I'd have to try export at 600fps and standard player software won't play 600fps.

So my question is - is there a video format that supports multiple frame rates?

Or is there some other solution I haven't thought of?