← Back to team overview

openshot.developers team mailing list archive

[Bug 507284] Re: command-line interface

 

for the people that don't know it yet, you can then render the file using melt
To play it with the default SDL PAL consumer, usage then would be:

melt xml:/path_to_project_folder/project_name.xml

This opens very interesting possibilities indeed in my opinion...

-- 
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