1
1
1HAWK12021-12-25 14:53:54
Python
1HAWK1, 2021-12-25 14:53:54

Video editing in python. Merge photos into videos. How to do?

How to combine pictures in a video in Python with setting the desired FPS. And how to overlay two adjacent frames with 50% transparency.
I am writing a program for frame video processing.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vindicar, 2021-12-25
@Vindicar

OpenCV ?

R
rPman, 2021-12-25
@rPman

Probably the best combine for video processing and encoding is ffmpeg, there are no full-fledged bindings for python (there are layers that call an exe file) like these , all other methods will require significant effort to, for example, start gpu-based hardware acceleration or support some exotic container or codec.
Those. if you limit the task to a certain codec and container, then I think it will be possible to find another tool, but most likely it will not be python
ps to implement an increase in video fps , built on the basis of fewer frames, by generating new images from neighboring ones, you need to use technologies called
"motion interpolation" or "optical flow", ffmpeg has a ​minterpolate filter for this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question