Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
392 views
in Technique[技术] by (71.8m points)

Cut .mkv Video using ffmpeg without changing original bitrate

I accidently said an unappropriate swear word during an educational video (good start I know). So I would like to remove this section from the .mkv video. However I would like the video and audio bitrate and quality unchanged.

First, I tried cutting the video slightly after the relevant time stamp without reencoding it, using for example

ffmpeg -i input.mkv -ss 00:01:09.200 -c copy -t 4:11 output.mkv

but this way the first couple of seconds seem to get lost.

Is there a way to remove the relevant segment (01:08.800 to 01:09.200) while maintaining the same bitrate / quality for audio and video? Since only formulas are shown, a slight out-of-sync wouldnt even matter.

question from:https://stackoverflow.com/questions/65858885/cut-mkv-video-using-ffmpeg-without-changing-original-bitrate

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...