ffmpeg – How to merge video stream from one file and audio streams from another one?
Situation:
I did encoded a h.264 input_original.mkv file to h.265 output_hevc.mkv
After long encoding process I realise there are wrong audio streams was choose.
I need to get new output_hevc_2.mkv which would based on
copy of video stream from output_hevc.mkv and maped audio streams from input_original.mkv
Is that technically possible?
P.s. I’ve seen this link
ffmpeg-adding-re-encoding-audio-stream-on-video-file
It’s not the same question because it’ll generate new output file with video stream from input_original.mkv.
Read more here: Source link