I was reading Cut part from video file from start position to end position with FFmpeg a few days back and I tried the following and it worked. While the video part was good, I am not sure if the audio could be made better or not. This is how I went about it
$ ffmpeg -ss 00:11:50 -i input.mkv -t 165 -c:v libx264 -preset slower -crf 22 -c:a copy output.mkv
I was cutting a portion of a video for my own requirements. Something like a clip or something from a movie or an audio/video piece that is nice, quirky etc.
Is there a better way?
I am using ffmpeg 4.2.2 on Debian testing which will eventually become Debian Bullseye (11.0)