openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #02515
[Bug 507284] Re: command-line interface
I had forgotten to credit the original authors of the the hack to fix minidom writexml function,
I have adapted some code taken from here:
http://www.gamedev.net/community/forums/topic.asp?topic_id=497185
http://ronrothman.com/public/leftbraned/xml-dom-minidom-toprettyxml-and-silly-whitespace/
--
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