vimwiki/tech/ffmpeg.wiki

23 lines
382 B
Plaintext
Raw Normal View History

2021-10-11 03:22:53 +00:00
= FFmpeg =
Command line tool for working with video
This is just a collection of common tasks
== Rencode as another video ==
{{{
ffmpeg -i in.mkv out.mp4
}}}
== Export clip from video ==
This will grab a clip starting at 30s that lasts for 10s
All timestamps must be of format HH:MM:SS.xxx
{{{
ffmpeg -i in.mp4 -ss 00:00:30.0 -c copy -t 00:00:10.0 out.mp4
}}}
[[index]]