a/v render. gen fixes
This commit is contained in:
parent
f6fbb9ab81
commit
d62d4c5746
6 changed files with 706 additions and 268 deletions
|
|
@ -16,7 +16,7 @@ class Command(BaseCommand):
|
|||
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')
|
||||
parser.add_argument('--chapter', action='store', dest='chapter', default=None, help='chapter')
|
||||
parser.add_argument('--fragment', action='store', dest='fragment', default=None, help='fragment')
|
||||
parser.add_argument('--single-file', action='store_true', dest='single_file', default=False, help='render to single video')
|
||||
parser.add_argument('--keep-audio', action='store_true', dest='keep_audio', default=False, help='keep independent audio tracks')
|
||||
parser.add_argument('--stereo-downmix', action='store_true', dest='stereo_downmix', default=False, help='stereo downmix')
|
||||
|
|
|
|||
18
management/commands/render_sound.py
Normal file
18
management/commands/render_sound.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import json
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.conf import settings
|
||||
|
||||
from ...render_sound import render_all
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'genrate kdenlive porject and render'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--debug', action='store_true', dest='debug', default=False, help='output more info')
|
||||
|
||||
def handle(self, **options):
|
||||
render_all(options)
|
||||
Loading…
Add table
Add a link
Reference in a new issue