FFmpeg Tips and Tricks
Cut a video without re-encoding... ...at keyframes only (forsaking time accuracy), and without messing up timestamps: ffmpeg -noaccurate_seek -ss [START_TIME] -i [INPUT] -t [DURATION] -c copy -avoid_negative_ts make_zero [OUTPUT] As always with ffmpeg, the order of the options is relevant. Either -s...
Make a screencast with ffmpeg
Several applications to record your desktop exist, but ffmpeg can do it all by itself, via its x11grab format specifier. But there were some challenges: Performance What ffmpeg does when recording your screen is to transcode the X11 video into compressed output, based on file extension. But I wanted...