Hi
Thank you for this great project. I'm using it a lot with enthusiasm !
Description
I miss a "little" thing: when applying a command to multiple files, I'd sometimes like those commands to be executed sequentially.
Example:
{
"type": "command",
"label": "🎥 Recompress to h264",
"command_line": "ffmpeg -i %f -c:v libx264 -crf 23 -c:a copy %w-h24.%x",
"use_shell": true,
"cwd": "%d",
"mimetypes": ["video/*"]
},
This is potentially a very long process. I'd like to have only one ffpmeg process at a time in memory.
Workarounds I've considered
- I could use a loop, something like
for f in %F; do ... but
- it's less readable (plus I'll have to use shell to extract
%w and %x from $f that is not super intuitive)
- less maintainable
What do you think of that ?
Thank you !
Hi
Thank you for this great project. I'm using it a lot with enthusiasm !
Description
I miss a "little" thing: when applying a command to multiple files, I'd sometimes like those commands to be executed sequentially.
Example:
{ "type": "command", "label": "🎥 Recompress to h264", "command_line": "ffmpeg -i %f -c:v libx264 -crf 23 -c:a copy %w-h24.%x", "use_shell": true, "cwd": "%d", "mimetypes": ["video/*"] },This is potentially a very long process. I'd like to have only one ffpmeg process at a time in memory.
Workarounds I've considered
for f in %F; do ...but%wand%xfrom$fthat is not super intuitive)What do you think of that ?
Thank you !