shotcut --help shows resource as an argument.
Can we pass a folder as the argument somehow and all files are loaded into the playlist from that folder?
I’ve tried numerous methods, none seem to work, it will only load the first file in most cases, or keep opening file after file in the source window. Any suggestions?
September 8, 2018, 1:57am
Select all the files in the folder drag and drop them on the playlist panel.
Thank you. I am aware that it can be done like that. This is for a script and a workflow… Looking for automation.
September 9, 2018, 3:21pm
Have you tried looking at what
@nwgat did with his fire escape benchmark as a refrence? https://nwgat.ninja/thefireescape/
Negative, but I will now. Thanks.
September 11, 2018, 5:54pm
Since you are scripting I suggest to write a script to generate a playlist XML project. (no timeline).
Set Settings > Video Mode to something you want other than Automatic.
From a file manager, drag a collection of files to Shotcut.
See it populate the Playlist.
File > Save
Open the .mlt XML file in a text editor.
Make a template.
Write a script to get folder contents and build the XML playlist.
I will move this to Suggestions.
Thank you. I had not thought of using the MLT as the resource. I appreciate your help.
September 25, 2018, 7:37pm
I added this for next release v18.10. It will also work via drop from a file manager. Also, the command line executable will accept multiple filesystem arguments any of which can be folders, which will be expanded. It only expands a folder one level - not recursively deep.
September 26, 2018, 10:55am
are these additions to the commandline going to mean we can do a commandline only render on a headless client now with 18.10?
September 26, 2018, 1:22pm
It looks like you are doing that already:
good news! it worked once I got X installed.
September 26, 2018, 2:58pm
That is working, but it is… clunky because of the requirement to use X and xvdb(a virtual x window) some more… official(possibly with folder monitoring built in if I’m dreaming) would be nice
November 24, 2018, 6:45am
This will most likely always be a requirement: at least Qt and OpenGL require it, possibly more. Do not use those MLT modules and likely you can render headless using melt instead of qmelt. Opening a folder of files from the command line has nothing to do with headless rendering.
December 7, 2018, 1:43am
This topic was automatically closed after 90 days. New replies are no longer allowed.