- Joined
- Jun 30, 2023
Something I use all the time isFFMPEG's filter_complex should be able to do everything that script does in principle. By "in principle", I mean that I don't think there's anything like your Perlin distorter currently in the built-in filters, but it could be implemented.
Some equivalent filter names:
cull_color is colorkey
add_saturation is eq=saturation=0.98
overlap_visual is overlay
For audio mixing, use adelay and amix
https://ffmpeg.org/ffmpeg-filters.html -- full list of what FFMPEG offers here.
Bash:
ffmpeg -i video.mp4 -ss 00:01:23.456 -to 00:02:34.567 -map 0 out.mp4
-t $DURATION
instead of -to $TIME
to trim to the given duration, starting from the -ss
time. Keep in mind using -c copy
with this results in weird files that may start playing a few seconds prior to the desired start time in some players. It does cut out most of the surrounding data, but it seems to leave those little bits of padding.On the topic of filters:
Bash:
ffmpeg -i audio.wav -af astats -f null -
Edit:
Bash:
ffmpeg -i audio.wav -af volumedetect -f null -
Last edited: