Linux cheatsheet

Published 4 months ago: September 07, 2020


This cheatsheet is a small collection of handy snippets for quick reference in tricky situations. Feel free to suggest edits, propose additions, complain about something, disagree with content or such and the like. Every feedback is a welcome one.

Split/cut/extract clip from a video file

ffmpeg -ss 00:00:46 -t 00:00:30 -i input_file.mp4 -vcodec copy -acodec copy output_file.mp4
Command explanation:

ffmpeg -ss <start-time> -t <target clip duration> -i <input_file.mp4> -vcodec copy -acodec copy <output_file.mp4>

Christoffer Lybekk

Developer under development

Explore more articles with similar tags

LinuxCheatsheet

Article stats


8words

1sentences

1paragraphs

1 minread time