I need to cut MP4 videos. A part at the beginning and a part at the end in a batch fashion

前端 未结 5 1121
悲&欢浪女
悲&欢浪女 2021-02-06 14:09

I have several training videos. All .MP4s.

I want to remove 3.5 seconds from the beginning and 4.5 seconds from the end of the entire folder of them...

I know of

5条回答
  •  遇见更好的自我
    2021-02-06 14:35

    a small enchantment for op answer (i cant reply under his comment because of low points): last line make it this way instead:

    FFMpeg -ss 00:00:04.2500 -to %hh%:%mm%:%ss%.%ps:~,3% -i %1 -c:v copy -c:a copy -avoid_negative_ts make_zero "Trimmed\%~1"
    

    this way it cut on key frame to avoid out of sync audio if you are playing the video on old tv

提交回复
热议问题