You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
426 B
13 lines
426 B
from ..profile import * |
|
|
|
|
|
@profile |
|
@description("Copy all streams to a new container") |
|
@defines(format="Container format", |
|
fext="File extension") |
|
@features(argshax=None) |
|
def remux(task, defines, args): |
|
task.change_format( |
|
defines["format"] if "format" in defines else None, |
|
defines["fext"] if "fext" in defines and args.genout else None) |
|
return all(task.map_stream(s) for s in task.iter_streams())
|
|
|