Log in

View Full Version : ac3 to aac with Mencoder/Mplayer + Nero AAC CLI


KRUSADER
14th January 2007, 23:34
How i can transcode ac3 to aac using Mencoder/Mplayer' stdout + Free Nero CLI.

Thanks.

KRUSADER
16th January 2007, 14:58
It is 2nd time that no one answers my question, moderator, please, could u delete this thread. :mad:

buzzqw
16th January 2007, 15:25
with mencoder/mplayer i had no success but with ffmpeg...

you can try (like this example)

ffmpeg.exe -vn -acodec copy -i fixed1.ac3 -f wav - | oggenc2.exe --raw - -o aaa.ogg

BUT with nero it doesn't fuction... :( because the "raw" format ... but it is a start :)

BHH

KRUSADER
16th January 2007, 17:17
Thanks, I think I'll stay on BeSweet.

buzzqw
16th January 2007, 22:33
hints: for command line encoder stay with: BePipe !

BHH

metallicguy43
20th January 2007, 06:12
you just make a pipe, have mplayer dump the pcm to the pipe and have nero encode it under wine

example
$ mkfifo audiodump.pcm

$ wine /path/to/neroAacEnc.exe -ignorelength -q .2 -if audiodump.pcm -of soundtrack.mp4 & mplayer /path/to/movie.vob -vc null -vo null\
-aid 128 -af -af channels=6:6:0:0:1:1:2:4:3:5:4:2:5:3 -ao pcm:fast:waveheader:file=audiodump.pcm -channels 6

Mplayer dumps 6 channel ac3 files with this channel order: 0fl, 1fr, 2sl, 3sr, 4c, 5lfe.
neroAacEnc needs the wav in this order: 0fl, 1fr, 2c, 3lfe, 4sl, 5sr

Someone else posted channels=6:6:0:0:1:1:2:4:3:5:4:2:5:3 before, and I didn't think it was right, so I did some tests, only to come up with the same conclusion.