Hello I am new to the forums.
I have videos with AAC 5.1 audio that I need to convert to AC3 5.1 to play in surround on my system.
Can Ffmpegx pass through ( i.e no encoding decoding) the video whilst only changing the audio stream from AAC to Ac3?
Do I have to replace the AAC track or can I add another track of AC3 encoding?
Does it maintain the correct channel mapping for AC3?
In order to passthrough video without any alteration do I de-select ''encode video'' or do I select passthrough in the dropdown and then select ''encode video''?
Thanks and many thanks for everybodys hard work on this project
Leo![]()
+ Reply to Thread
Results 1 to 18 of 18
-
-
Only for AVI output and only to AC3 2.0 (stereo).
Originally Posted by pootler
Originally Posted by pootler
Originally Posted by pootler
---------
It is possible to convert AAC 5.1 to AC3 5.1, but not with just ffmpegX 0.0.9y.
I have done it as a test a while ago, using QuickTime Pro and a guide on the Perian forum.
In short, the procedure was AAC 5.1 -> AIFF discrete channels -> AIFF 5.1 -> AC3 5.1 .Last edited by Case; 20th Aug 2010 at 06:25.
-
thanks again for the reply CASE.
Here's an addendum.
Avidemux2 does indeed do what I require - but it messes up the AC3 5.1 channel mapping.
However - and I can only go via the information Plex provides - If I try with FFmepgx using ''encode video'' passthrough
and select AC3 (5.1) output IT DOES SEEM to produce an output with AC3 5.1 sound!
If I don't select ''encode video'' then it produces as you say AC3 in stereo.
SOOooo.. it seems to do what I require - I have now got to check the channel mapping.
By the way I find the conversion is slow - do you find this?
I can't see why the video has to be encoded if it is going to be passed through?
thanks
Leo
p.s Avidemux seems to be at least twice as fast -
It seems every tool that does AAC to AC3 has to do channel mapping, as it differs among file formats.
(from AviSynth Media Wiki)
Afaik, ffmpeg doesn't do channel mapping yet, so any app relying on ffmpeg will get it wrong.
The only free/low cost tool I could find that does 5.1 channel mapping is AviSynth (Windows). -
Yes - seems windoze has some of the best programs - Mediacoder also does this and allows channel remapping.
Pains me but might have to resort to virtual windows for the conversions
Leo -
I guess if you want to there are ways to import and export the audio to achieve the same effect.
Problem is I am a lazy s*d and I would prefer a one stop - one button solution!
Leo -
Sorry not sure what you would use to do that more easily on a Mac. Windows does have more versatile programs in this regard
-
Thread moved to mac forum.
I think,therefore i am a hamster. -
Hi Pootler,
If you don't mind being a guinea pig, you can try the latest beta of MKVtools. It'll do a one step 5.1 AAC to 5.1 AC3 conversion. Though mostly used for MKV files, the latest beta of MVKtools should (hopefully) have improved handling of other video formats like avi and mp4. I can test converting mp4 video with 5.1 AAC into avi video with 5.1 AC3, and that seems to work, but I have no way of testing mp4's with 5.1 AC3 audio, so I'd love to get some feedback. Also, since it sounded like you might be interested in having both audio tracks in your video, if you're feeling adventurous, I'd love to hear if you're able to successfully add multiple audio tracks to the video, and if its clear how you you can do that. -
Thanks emmgun.
I'll give it a go!
In case you are interested, my current research has led me to a windows program called mediacoder which seems to give me the option to convert and channel map to other 5.1 audio streams.
Thankfully it opens with crossover in leopard so no need for virtual machines.
Still have to check channel mapping though.
Thanks again - will let you know my results with MKVtools
Leo -
-
thanks alan hk.
I have explored most of these options but they relate to the amount of channels.
What avidemux doesn't seem to help with is the mapping - i.e swapping the audio stream on channel one with ,say, channel two when converting to another audio format.
Because of the different channel mapping for different formats this is important if you are going to maintain the correct audio to the correct channel - hence you get ( in my case) center channel assigned to the left front!!
Leo -
Hi Pootler,
MKVtools 2.4.b.2 is now uploaded which fixes the issue I mentioned above. Note, with MKVtools, you shouldn't have to worry at all about channel mapping, which is good because when I was playing around with it, it was a mess. It seemed almost random at times, and the documentation I found didn't help much. It basically came down to trial and error, but I think MKVtools should handle the following surround audio conversions:
- 5.1 AAC to 5.1 AC3
- 5.1 DTS to 5.1 AAC and 5.1 AC3
- 5.1 AC3 to 5.1 AAC
-
Yeah, obviously -- I would have expected "left front" mapped to "left front" in another format, if not I'd rate it as a bug.
But I do this in Avisynth and often find that I have to change the default mapping, perhaps due to encoding inconsistencies.
Similar Threads
-
AC3 to AAC Problem
By Shockpillow in forum AudioReplies: 1Last Post: 1st Sep 2010, 11:13 -
5.1 AAC to 5.1 AC3
By Kairo in forum AudioReplies: 6Last Post: 17th May 2010, 00:53 -
AC3 to AAC
By xQwerty in forum AudioReplies: 2Last Post: 15th Nov 2008, 12:05 -
AC3 to AAC
By JasonKerner in forum ffmpegX general discussionReplies: 1Last Post: 11th Feb 2008, 06:27 -
aac and ac3
By ultraman36 in forum AudioReplies: 3Last Post: 27th Dec 2007, 09:38