ffmpeg
Setup ffmpeg
Install¶
Ubuntu¶
Windows¶
Usage¶
Simple stream copy¶
To rebuild "99.9% complete" videos without re-encoding.
Remove audio without reencoding video¶
Options explained:
-vn
: no video output.-an
: no audio output.-{a,v}codec copy
: copy without re-encoding.
Cutting videos¶
Without re-encoding, just simple copying as-is:
With re-encoding, slower but more frame accurate:
Options explained:
- -ss
for starting time hh::mm::ss
- -t
for duration of hh::mm::ss
, or -to
for end time hh::mm::ss