Closed sharno closed 3 months ago
You can use:
auto-editor video.mkv --edit "(minclip audio:0.5 0.8sec)"
Thank you!
This is impressive, didn't think about using Palet at all for that! Would be great if you can add some of these examples in the Readme
Does this work with exporting? seems that I get an empty Resolve timeline when I use minclip the way you mentioned
The edits stay the same regardless of what export method you choose.
For DaVinci Resolve, you import with "File > Import > Timeline"
Yep, that's indeed how it works but trying out this exact command:
auto-editor.exe ".\2024-05-15 21-19-54.mkv" --edit "(minclip audio:0.5 0.8sec)" --export resolve
gave me a 1KB FCPXML file (just an empty timeline when I import it in Resolve)
while
auto-editor.exe ".\2024-05-15 21-19-54.mkv" --edit audio:0.05 --export resolve
works (167KB FCPXML file)
Edit: discard my previous message, it wasn't correct.
It looks like you accidentally typed 0.5 instead of 0.05.
Can you add a feature that removes segments that have a duration that's less than a number of seconds?
example command:
which would remove the segments that have the audio less than threshold of 5% and drop the segments that are less than 0.8 seconds in duration
If it's helpful the feature is here too: https://videosilenceremover.web.app/