Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Support For Multichannel Audio
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
ale5000
Posted: Mar 13 2011, 04:32 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



It would be nice to have support (at least minimal) for multichannel audio.

QUOTE (fccHandler @ Mar 6 2011, 05:24 AM)
Version 1.4 will now play multichannel AAC correctly but it does so via a downmix to stereo. I don't like having to do this, but I've spent all day on it and I can't figure out how to get VirtualDub to accept multichannel PCM.

I even tried hacking VirtualDub. There is a line in the Riza project, w32audiocodec.cpp, which I thought might be responsible:
CODE
// sanitize the destination format a bit

if (mDstFormat->mChannels != 1 && mDstFormat->mChannels !=2)
  mDstFormat->mChannels = 2;
So I tried removing that line, and that did cause him to request 6 channel PCM. But when pressing play it just hangs. I can only guess that there is some other part of the audio pipeline which is not liking multichannel PCM...


--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
ale5000
Posted: Mar 24 2011, 12:47 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



If you try to convert from an AVI file with AC3 5.1 audio to AC3 5.1 it say:
QUOTE
Error initializing audio stream compression:
The audio codec cannot compress the source audio to the desired format.

Check that the sampling rate and number of channels in the source is compatible with the selected compressed audio format.

Edit: The same procedure works fine with VirtualDubMod Surround.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
1 replies since Mar 13 2011, 04:32 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum