-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manually define framerate of overlay drawn on video #188
Comments
It could be possible to change this... it would make the program quite a bit slower, as it would have to draw the graphics 6x as much, and there would be 6x as many interpolations to calculate (which i guess is not so much). I can take a look. |
I'm using this app to render only the overlays to use them later in my videos with Davinci Resolve. |
Hi @victorlysak - thanks for this info. I think there are two different framerates that are involved in this discussion.. one is the video framerate, which can be easily changed at the moment as you say. The other is the rate at which the info is drawn, which at the moment is fixed to 10fps. So for the 50fps example above, each info frame will be repeated 5x. I've not tried with Resolve but it's possible it doesn't need 50fps info video to overlay onto a 50fps movie. If the mov was rendered at 10fps, it would be quite a bit smaller, although these days disk space not quite so much of a concern. |
Hi. Big thank you for your work. It could be 10fps. But then in Resolve, or probably others, I have to change the video speed to 500% and expand it to full length, so it will be 50fps like the other clips in the project and have the length I need. So, currently my ffmpeg-profiles.json file looks like:
I changed codec to qtrle because Resolve handles it faster than png, at least for me in Arch Linux. transpose=2 will rotate map 90 degrees clockwise. As you see, I have to use it twice because if I use it once in either place it won't work. the xml file for the map looks like this: the command line for the above looks like: |
Looking at
gopro-dashboard.py
it seems like the framerate of the drawn data is hardcoded to be 0.1sstepper = frame_meta.stepper(timeunits(seconds=0.1 * timelapse_correction))
I would like to render the video at a smoother framerate which I somewhat already achieved with a custom profile where the framerate
-r
is set to 60, but the drawn data isn't smooth since its stuck at 10fps which especially at the map is very obvious. Is there any way to set the draw-rate to for example 16.66666 (60fps) to achieve a smoother result?The text was updated successfully, but these errors were encountered: