Page 1 of 1

Encode MP4 from separate audio and video files

Posted: Tue Sep 18, 2018 9:09 pm
by stewpowbam
I've got video files I'd like to convert with Handbrake, but the audio is in a separate file. Is there a way to select an audio track from a different file and have the audio and video encoded into one mp4? Thanks for any suggestions :)

Re: Encode MP4 from separate audio and video files

Posted: Wed Sep 19, 2018 7:28 am
by rollin_eng
Not with HB.

Re: Encode MP4 from separate audio and video files

Posted: Wed Sep 19, 2018 1:43 pm
by Woodstock
Best solution would be a video editor, then feed the output to handbrake.

Cheap/fast solution, assuming that the audio and video are matching lengths and there is no requirement to synchronize them, mkvmerge (part of mkvtoolnix) to multiplex them into an MKV file, then convert them to an MP4 using handbrake.

Re: Encode MP4 from separate audio and video files

Posted: Wed Sep 19, 2018 3:32 pm
by stewpowbam
Thank you for the quick replies. I may try those suggestions :)

Re: Encode MP4 from separate audio and video files

Posted: Fri Sep 21, 2018 4:16 pm
by andrewk89
Avidemux. It can loslessly merge/join. It can or transcode audio/video into all(?) the codecs and containers supported by HB. It's weak on batch and correcting bad aspect ratios. I use HB mostly, but use ADM for cases like this.