p_for_power
This commit is contained in:
parent
4e767b7268
commit
d4372d0595
16 changed files with 24 additions and 154 deletions
|
|
@ -1,13 +1,13 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
|
||||
from ...render import generate_clips
|
||||
from ...render import generate_clips, default_prefix
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'generate symlinks to clips and clips.json'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default=default_prefix, help='prefix to build clips in')
|
||||
|
||||
def handle(self, **options):
|
||||
return generate_clips(options)
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ import subprocess
|
|||
from django.core.management.base import BaseCommand
|
||||
from django.conf import settings
|
||||
|
||||
from ...render import render_infinity
|
||||
from ...render import render_infinity, default_prefix
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'render infinity'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default=default_prefix, help='prefix to build clips in')
|
||||
parser.add_argument('--config', action='store', dest='config', default=None, help='config')
|
||||
parser.add_argument('--duration', action='store', dest='duration', default="3600", help='target duration of all fragments in seconds')
|
||||
parser.add_argument('--single-file', action='store_true', dest='single_file', default=False, help='render to single video')
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ import subprocess
|
|||
from django.core.management.base import BaseCommand
|
||||
from django.conf import settings
|
||||
|
||||
from ...render import render_all
|
||||
from ...render import render_all, default_prefix
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'genrate kdenlive porject and render'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default=default_prefix, help='prefix to build clips in')
|
||||
parser.add_argument('--duration', action='store', dest='duration', default="3600", help='target duration of all fragments in seconds')
|
||||
parser.add_argument('--offset', action='store', dest='offset', default="1024", help='inital offset in pi')
|
||||
parser.add_argument('--no-video', action='store_true', dest='no_video', default=False, help='don\'t render video')
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ import subprocess
|
|||
from django.core.management.base import BaseCommand
|
||||
from django.conf import settings
|
||||
|
||||
from ...render import update_subtitles
|
||||
from ...render import update_subtitles, default_prefix
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'genrate kdenlive porject and render'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default="/srv/t_for_time", help='prefix to build clips in')
|
||||
parser.add_argument('--prefix', action='store', dest='prefix', default=default_prefix, help='prefix to build clips in')
|
||||
parser.add_argument('--offset', action='store', dest='offset', default="1024", help='inital offset in pi')
|
||||
|
||||
def handle(self, **options):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue