Replies: 2 comments
-
sprites is a FileField on Media (the basic MediaCMS Django models that stores info about all files) So what it does is generate a command, and then executes this command. The command is ffmpeg mostly, which generates the small images, and then using |
Beta Was this translation helpful? Give feedback.
-
Since this might interest others, this is now possible with a little work from your side. Check section |
Beta Was this translation helpful? Give feedback.
-
I found this code about sprites in /files/tasks.py, can you explain how the code works?
@task(name="produce_sprite_from_video", queue="long_tasks")
def produce_sprite_from_video(friendly_token):
"""Produces a sprites file for a video, uses ffmpeg"""
Beta Was this translation helpful? Give feedback.
All reactions