Video Editing Tutorial - How to speed up a video using FFmpeg with only one command

preview_player
Показать описание
Commands:
alias mkv='ffmpeg -i $input -c copy ${input/mkv/mp4}'
alias speedup='mkv;spup;trim'

More tutorials:

Рекомендации по теме
Комментарии
Автор

Thanks that's exactly what i was looking for

But some advices though...
1) You say at 7:03 "the speed is the duration"
So why not naming variable "SPEED" with that evokes duration and percentage ?!
If you need to explain the meaning of a variable, it means the nam is bad and make your scritp a one of poor quality.
Usually scripts are hard to understand so use good names.

2) Any reason to change mkv extension to mp4 ? And not preserving the original extension of the video ?
You should add (at least) the dot when you replace "mkv" by "mp4", otherwise it could change "mkv" inside name of video and broke script that would like to use yours and expects only the extension to be changed (for example to move result file to a "preview" folder)

alphonse.nonyme
Автор

Professor, Can we convert This short video to gif?

space-time-somdeep
Автор

Do you have a script you could share that bulk edits several videos? I want to change the speed like this to 100+ files

jmjdeist