replace audio in .mp4 file without re-rendering?

prairiedogpics wrote on 11/11/2015, 4:30 PM
Hi All,
Not sure how to ask this question. But I have an existing .mp4 file that I can load in Vegas (10). I want to replace the narration in it. So I can use Vegas to create an audio track that is the exact same length of the video.
So, I want to:
- separate the .mp4 into audio and video parts
- toss the audio
- combine the new audio track from Vegas with the video only part of the .mp4 file into a new .mp4 file.
Are there any tools to do that? The issue is I want to avoid re-rendering the .mp4 to prevent losing detail in the video.

Comments

john_dennis wrote on 11/11/2015, 6:15 PM
If you can accept a .ts or .m2ts, then tsMuxer will allow you to replace the audio from an mp4 leaving the video untouched. If you must have the .mp4 wrapper, then read wwaag's last post in this thread.
musicvid10 wrote on 11/11/2015, 9:15 PM
Easily done in MP4Box or the yamb frontend, along with a bunch of other stuff.

relaxvideo wrote on 11/12/2015, 1:14 AM
+1 for YAMB
or DVBPortal MP4 multiplexer

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

prairiedogpics wrote on 11/13/2015, 12:53 PM
Just wanted to acknowledge the helpful replies.

This question came about because I had to do a training tutorial for a software product at work; the intended location is YouTube.

I needed a screen capture tool and my gamer son turned me on to OBS for doing monitor capture:

Open Broadcaster Software

It's a pretty cool tool. The original thought was for me to walk through the training and record it, and then have someone with better pipes and stage presence redo the narration...thus the question.
But since OBS Multiplatform can capture to either .mp4, .mov, or .fls. I decided to record in .mov. I recorded several chunks and then used QT Pro to join them together. (Finally found a use for that $29 software!).
The weird thing about doing that, though, is that while the "merged" file plays fine in QT, WMP only sees one of the different clips' audio tracks; this is because QT Pro kind of stacks the audio tracks, instead of joining them end-to-end. So I had to use Vegas to render the audio as one file and then bring that in to QT Pro to replace the original segmented tracks.
I'm thinking out using OBS to record a video on how to do this, since it's a useful way to join .mov files without re-rendering and incurring quality loss.
prairiedogpics wrote on 11/13/2015, 8:23 PM
So I did make a short tutorial to show you what I was talking about:

Dimi Koan wrote on 11/14/2015, 4:29 AM
It can be done with Avidemux quite easily.
rraud wrote on 11/14/2015, 10:13 AM
Quite a few 'muxer' utilities available..I usually use 'MeGUI' which allows you to replace an MP4 files audio w/o re-rendering the video. I typically use the (also free) Nero WAVE to MP4 (or .m4a) encoder prior to muxing the audio back in with 'MeGUI'
Byron K wrote on 11/14/2015, 12:20 PM
Thanks for making the tutorial. Levels are a little low but content is very informative. I've been using MSI Afterburner to screen capture because it was one of the few free screen captures that can capture at 60fps.

After watching some YouTube vids of OBS, I see that OBS can also capture at 60fps and seems to be much easier to setup than Afterburner screen capture which you almost need a PHD in engineering to get it to capture properly.. (;
Gyan wrote on 11/14/2015, 1:29 PM
Besides mp4box as mentioned above, there's ffmpeg, which is the Swiss army knife of video conversion. Unlike mp4box. it handles a lot more containers. Avanti is a good Windows GUI for it.