View Single Post
Old 15th April 2011, 17:58   #16  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Demux/Mux streams from a container is specific to the container.

Then to extract/mux from/to mkv you have MkvExtract/MkvMerge (in MkvToolnix, I don't know GUI's for Linux), the quality is always preserved and the channel order isn't changed in this level.

For mp4 you have Mp4Box (I don't know GUI's for Linux)

The ffmpeg dts decoder seems ok (with my windows SVN-r25870-Sherpya version the audio.wav have correct channelmap) with:
ffmpeg -i input.dts -acodec pcm_s16le -ac 6 audio.wav

but converting to aac:
ffmpeg -i input.dts -acodec aac -ac 6 -strict experimental audio.aac
the output is absolutely wrong

I think you can convert the decoded audio.wav with NeroAacEnc (there are a Linux version)
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote