openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #02506
[Bug 507284] Re: command-line interface
I was trying to improve human-readibility of XML file, but seems that xml.dom.minidom prettyfication breaks xml output in some way that makes it unreadable for MLT (melt segfaults when feeded such a file).
Must be something with newline or indent, don't know.
Jonhatan, had you already tested it?
--
command-line interface
https://bugs.launchpad.net/bugs/507284
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
Status in OpenShot Video Editor: Fix Committed
Bug description:
I've coded a command-line openshot renderer.
It takes an osp openshot project file as input and renders it according to options given in command.
(it defaults to mpeg4 avi video, 5 Mb/s, with libmp3lame as audio codec, 2 channels, 48000 as sample-rate and 128 kb/s as audio bitrate)
if no output file name or folder is given as option, then user openshot dir is used, and the default output file is called temp.
The command-line version can be very useful for batch-rendering of large or multiple project files, as it can be used in a bash script, or used in a remote server with no graphical interface.
The command-line part is self-contained, as it doesn't alter any existing openshot source files, and it doens't load any gtk.
An ascii progressbar is displayed to console while rendering, showing completed percentage.
I've tested it with several project files, and seems to work.
the branch is:
lp:~francesco-hermanitosverdes/openshot/hv_francesco
References