0

I have a video Video1.mkv with audio and video stream. I have 3 other videos V1.mp4, V2.mp4 and V3.mp4 without audio. I would like to keep the audio stream from Video1.mkv and replace the beginning of Video1.mkv with the concatenated V1.mp4+V2.mp4+V3.mp4

Is there a way to do this without re-encoding? Also, Video1 is 23.98fps and the other streams are 24fps. Is that a problem?

For reference I saw this question was asked before - Replace parts of video with another video with ffmpeg

But the answer was about replacing the video with a black screen.

3
  • 1
    This is possible only, if all 4 videos have the same Audio and Video codec - please check this and post the results. Feb 15, 2021 at 13:29
  • @EugenRieck I think you forgot to add a link.
    – moi
    Feb 28, 2021 at 12:48
  • I didn't. If you refer to "this", then it is to be read as: Please check if all 4 videos have the same Audio and Video codecs Feb 28, 2021 at 21:21

1 Answer 1

0

As @Eugen Rieck stated - This is possible only, if all 4 videos have the same Audio and Video codec

In my case, the videos were distinct - hence any operation will require re-encoding.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .