3 ms·
Protip: for simple lossless cutting, ffmpeg is more than enough. To make a 2 second clip starting from the third second of input file: ffmpeg -ss 3 -t 2 -i in.
by seba_dos1 4y ago
Protip: for simple lossless cutting, ffmpeg is more than enough. To make a 2 second clip starting from the third second of input file:
ffmpeg -ss 3 -t 2 -i in.mkv -c copy out.mkv
[edited to put -ss and -t before -i]
- gyan 4y agoDon't do this. Place both ss and t before the input -i. As output options, ss waits till the first KF after the given value, it's not a seek. With a t of 2, that may very well result in an empty video stream.
- xienze 4y agoOf course (pretty sure LosslessCut using ffmpeg under the covers). But this is probably one of those instances where having a GUI comes in handy. You can quickly scrub the video for the exact point you want, see where the closest I frame is (read: the place where your cut is going to start), create multiple cut segments, etc.
- seba_dos1 4y agoFor simple cases where you just cut a single clip out of a longer file, I find CLI to be faster. For more complex stuff like joining several clips together or manipulating multiple files, GUI is usually the better option indeed.
- genericacct 4y agoLosslesscut is infact a front-end to ffmpeg afaik
- donio 4y agoYep, it's ffmpeg with 400MB more Electron.