debian 12.9 with ffmpeg.

The mkv file is 68 minutes long, I want to get rid of minutes 05:50 to 11:00 and 58:00 to 68:00. I want the resulting parts (00:00 to 05:00 and 11:00 to 58:00) bind together as a single mkv file.

the ffmpeg command I’ve always used for similar but easier purposes:

ffmpeg -i "E01 - Part One [x265].mkv" -ss 00:00:00 -to 00:07:28 -c copy output.mkv

can I do this with ffmpeg or do I have to bind the 2 resulting files with mkvtoolnix?

ETA: would it be a better idea to use ffmpeg installed from flatpak instead of debian’s default sources? I don’t know if ffmpeg is updated regularly

  • N0x0n@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    After some fiddling arround my self I had some Audio sync/frame gone missing issues with ffmpeg, I would recommend to use mkvtoolnix to cut and merge your mkv files together.