Merging various audio with mp4?

Locked
User avatar
Mol
Strawberry Pie
Joined: Thu Feb 22, 2007 2:28 am
Status: sutatS
Location: Sweden
Contact:
Org Profile

Merging various audio with mp4?

Post by Mol » Sun Sep 06, 2015 6:22 am

So yeah how ya do it these days? I usually used m4box in old days ,but idk how to use it anymore. I kinda need it for 10bit mp4's and hevc 16bit stuff too. :dino: acc/mp3/flac doesn't have to be super simplistic method , but that would be nice ;3.
Still better than that MMO.
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by mirkosp » Tue Sep 08, 2015 1:58 pm

Just mux in mkv with mkvtoolnix and call it a day. You don't have hardware compatibility anyway with 10 bit video. :dino:
Image

User avatar
Mol
Strawberry Pie
Joined: Thu Feb 22, 2007 2:28 am
Status: sutatS
Location: Sweden
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by Mol » Tue Sep 08, 2015 2:23 pm

Damn. That's what i have been doing, but yeah mp4 would be handier ~ oh well.
Still better than that MMO.
Image

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by Qyot27 » Tue Sep 08, 2015 9:20 pm

A Mali T800-series GPU *might* support it, if I'm reading the spec sheet right (it touts '10-bit YUV support', but that might be just for the display itself, not the video decoder, or if it does include the video decoder, it may only be 10-bit HEVC that's decoded, not 10-bit H.264). And it won't care about the container either - MKV should be just as workable as MP4.

But nothing uses the 800-series yet - and when something does, it'll likely be one of the high-end smartphones or tablets released next year. Probably with at least a CPU using Cortex-A72 cores, HMP setup with the A53 or not.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by Qyot27 » Tue Sep 08, 2015 9:25 pm

That said, sticking to the original question, MP3 and AAC are fine to mux into MP4 files with either mp4box (just use an up-to-date build so it can mux HEVC) or L-SMASH (again, updated, but that may be easier to come by).

I didn't think MP4 supported FLAC streams, not unless they get shoved into a private area like Nero did/(does?) with storing Vorbis in MP4.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by mirkosp » Wed Sep 09, 2015 9:03 am

MP4 does not support FLAC. You'd have to go the ALAC route, but good luck with that...
Image

User avatar
Mol
Strawberry Pie
Joined: Thu Feb 22, 2007 2:28 am
Status: sutatS
Location: Sweden
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by Mol » Wed Sep 09, 2015 10:31 am

Yeah, that's what i thought, just throw it in out of curiosity.
ps don't have mp4box atm but

Code: Select all

MP4Box -add audio.mp3 new_file.mp4
or

Code: Select all

MP4Box -add file.mp3#audio new_file.mp4
:dino:
Still better than that MMO.
Image

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Merging various audio with mp4?

Post by Qyot27 » Wed Sep 09, 2015 9:21 pm

mirkosp wrote:MP4 does not support FLAC. You'd have to go the ALAC route, but good luck with that...
I've never messed with it, but ffmpeg can encode and decode ALAC (although who knows about non-Apple devices). It can also decode MPEG-4 ALS, but can't encode it. And probably even fewer devices support ALS.

Speaking of,

Code: Select all

ffmpeg -i video.mp4 -i audio.flac -vcodec copy -acodec alac output.mp4
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “Video & Audio Help”