hn-88 / OCVWarp

Warping images and videos for planetarium fulldome display using OpenCV
MIT License
5 stars 0 forks source link

frame sequence input leads to 25fps output #25

Open hn-88 opened 1 month ago

hn-88 commented 1 month ago

If we choose framesequence as the input type, with input fps set to 0, OpenCV's internal ffmpeg install chooses the fps based on the locale or something like that - for my system, the fps is 25 - so that if we choose any fps different from 25 for the output, we get duplicated / skipped frames.

hn-88 commented 1 month ago

As far as I know, there is currently no workaround for this, except to finish encoding, and then use ffmpeg or some other tool to correct the fps without re-encoding.

hn-88 commented 1 month ago

Or, of course, choose a frame sequence as the output. That might be the better workaround, but needs a fast hard disk with lots of free space.