mux Prores with audio

DisMyMac

macrumors 65816
Original poster
Sep 30, 2009
1,087
11
Real simple task: add 1 audio track in any format (uncompressed, AC3, Lossless, etc) to a Prores 422 video file (.mov).

I tried all different Matroska muxers... no luck. I thought Subler could easily make an mp4, but no... (I am aware that some files require 64-bit). FFmpeg fails to make AVIs out of them.

My only solution so far is to add it in iMovie, export to uncompressed video, then re-compress into Prores. This works OK and retains surprisingly good quality, but it's a colossal waste of processing for what should be a simple task....
 

CaptainChunk

macrumors 68020
Apr 16, 2008
2,142
6
Phoenix, AZ
If you're able to encode into ProRes, you must have FCP installed. In that case, what's stopping you from doing this in FCP? Lay the ProRes file on a track, lay the audio in and export to a new file.
 

DisMyMac

macrumors 65816
Original poster
Sep 30, 2009
1,087
11
ffmpeg can do this easy with -vcodec copy -acodec copy and the -map argument
Thanks for the tip. I'm trying to get something like this to work:


open -a ffmpegX -i Input.mov -map 0:0 -i Input.ac3 -vcodec copy -acodec copy Output.mov​


It says "open: invalid option -- i" ..... (me no speak UNIX)
 

ppc_michael

Guest
Apr 26, 2005
1,498
2
Los Angeles, CA
Hmmmm. You are certainly using the arguments correctly for ffmpeg. I think it might be that you're using ffmpegx? I know it is a front-end, but I'm not sure you can use ffmpegx from the command line in the same way you would use the original ffmpeg. I would check for you, but I'm not really on Mac OS X anymore. :eek:

If you can manage to compile the "original" ffmpeg on your system, I'm very sure the command would work with it, but I imagine compiling it would be confusing if you're not very familiar with the command line and don't have the Developer Tools installed and all that.

ANOTHER way to mux your audio is with Quicktime Pro. There's a way to copy the audio track from the audio file and paste it (or I think the menu command is "Add to Movie") in to your video file. But of course that assumes you have Quicktime Pro 7!
 

DisMyMac

macrumors 65816
Original poster
Sep 30, 2009
1,087
11
ANOTHER way to mux your audio is with Quicktime Pro. There's a way to copy the audio track from the audio file and paste it (or I think the menu command is "Add to Movie") in to your video file. But of course that assumes you have Quicktime Pro 7!
*ugh* I can't believe they're going to nail me for another $30.... I may try it though, thanks.