python-lottie  0.6.10+dev2509936
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.exporters.video Namespace Reference

Functions

def export_video (animation, fp, format=None)
 

Variables

dictionary formats4cc
 

Function Documentation

◆ export_video()

def lottie.exporters.video.export_video (   animation,
  fp,
  format = None 
)

Definition at line 26 of file video.py.

Variable Documentation

◆ formats4cc

dictionary lottie.exporters.video.formats4cc
Initial value:
1 = {
2  "avi": cv2.VideoWriter_fourcc(*"XVID"),
3  "mp4": cv2.VideoWriter_fourcc(*'MP4V'),
4  #"mp4": cv2.VideoWriter_fourcc(*'X264'),
5  "webm": cv2.VideoWriter_fourcc(*'VP80'),
6 }
See also
http://www.fourcc.org/codecs.php

Definition at line 15 of file video.py.