Editing video using python or command line

I need to perform the following operations in my python + django project:

  • combining video with the same size and data rate
  • combining video and images (for image manipulations I will use PIL: writing text on an existing image)
  • fade between video

I already know some video editing libraries for python: MLT framework (too complicated for my needs), pygame and pymedia (don't include all the functions I want) gstreamer bindings (awful documentation).

I could also do all the work from the command line using ffmpeg , mencoder or transcode .

What is the best approach to do such a thing on a Linux machine.

EDIT: I eventually decided to work with melt (mlt command line)

+3
source share
4 answers

http://avisynth.org/mediawiki/Main_Page is a scripting language for videos.

0
source

Since ffmpeg is available on GNU / Linux, I use it with modules like pexpect or subprocess - the best solution ....

0
source

OpenCV . . documentation, / /.

, , .

0

?

: . . , ( ) .

. , . , . (MPEG 1-4, Ogg Theora, H.26x, VC-1 ..) , . , , , , . , , , , , .

(HuffYUV, Lagarith, FFV1 ..), , . , , , , , . , , JPEG, .

, , MKV, , . , , , , , , , .

0

Source: https://habr.com/ru/post/1788397/


All Articles