|
|
| a1s2d3f4 |
| Posted: Aug 23 2010, 06:37 AM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 22721
Joined: 30-December 07

|
I have used the "Audio from other file" feature quite a bit to work with all sorts of videos requiring the sync with external audio files.
Recently a need had arisen for syncing up the video with a WAV file containing 3 channels of audio. So I pointed to that 3ch file using "Audio from other file" and playback was silent.
Is there a hack for this to work?
Thanks, a1 |
 |
| -SPM-Mad |
| Posted: Aug 23 2010, 08:15 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 197
Member No.: 1332
Joined: 13-December 02

|
VirtualDub does not yet support multitrack-audio. VirtualDubMod, which is based on an older VirtualDub version does support multiple tracks of audio. But probally you should just save the video without audio from VirtualDub and use an external muxer to mux the audio and video file. This will probally be the cleanest way.
Greetings -SPM-Mad |
 |
| a1s2d3f4 |
| Posted: Aug 24 2010, 06:57 PM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 22721
Joined: 30-December 07

|
Thanks for the advice.
The thing is, I do frame-by-frame analysis of the video and VD interface is so nice and everything. I don't know of any other Video GUI that would allow me to easily import MP4 files, disable the built in audio track and sync it up with some other audio file and play it back without having to do any exporting of silent video first (+ I can't export MP4s from VD without decompressing the video data).
Are you saying that even if I mux a regular AVI file with a WAV file containing 3ch using VD, it won't do it/won't do it right?
Thanks, a1
|
 |
| -SPM-Mad |
| Posted: Aug 26 2010, 01:34 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 197
Member No.: 1332
Joined: 13-December 02

|
I have not tested it... but I think VD can handle the video if you use direct stream copy. But it cannot mux in multi-track audio. Actually AVI do not officially allow multi-track audio. AFAIK this is also a hack.
Anyhow... it might be possible to mux in the audio with another tool and then frame-edit the video using VD.
Sorry, no enough experience with multi-track audio.
Greetings -SPM-Mad |
 |
| a1s2d3f4 |
| Posted: Aug 27 2010, 08:36 PM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 22721
Joined: 30-December 07

|
Well, I have no idea about the complexity of audio handling code in VirtualDub, so it could be a few lines of code, or it could be that it requires a major re-write to allow working with more-than-two-channel audio.
Still looking for alternatives, but it's hard to beat the power of VD. |
 |
| uhylin |
| Posted: Sep 25 2010, 08:04 PM |
 |
|
Newbie

Group: Members
Posts: 1
Member No.: 28594
Joined: 25-September 10

|
Hi!
When I copy DVDs, I use VD to compress the vob to avi and if there is a 5.1-audio I use direct stream copy for the audio, which produces an avi-file with 6 channel audio. Then when playing the video file on the computer, the player gets the channels right (I use Media Player Classic, I have tested Gom player but not found any audio channel mapping controls, but I think that one will do anyway).
If you re-compress the 5.1 audio using VD you will get a 2 channel audio file but as far as I have noticed I think it is only the "back right" and "back left" channels that will be copied, resulting in lots of music and surrounding sounds but less dialogue. Re-compressing a 3-channel wav will probably lose one channel (haven't tested that, though), but direct stream copy will probably work (making quite a large file). |
 |
| a1s2d3f4 |
| Posted: Sep 26 2010, 07:31 AM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 22721
Joined: 30-December 07

|
| QUOTE | Anyhow... it might be possible to mux in the audio with another tool and then frame-edit the video using VD.
|
Any advice on where I might find such tool, btw? |
 |
| a1s2d3f4 |
| Posted: Nov 26 2011, 08:57 AM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 22721
Joined: 30-December 07

|
It appears that at some point the multi-channel support was added to virtualdub...(I am using 1.9.11)
Additionally, since this initial post I'd moved on to use virtualdub together with the AVISynth for anything that VirtualDub does not support natively.
In fact, I am somewhat puzzled by my previous problems, as reading this changelist entry, it seems VirtualDub had supported using multichannel audio for a long time.
| QUOTE | Build 24390 (1.6.13, experimental): [February 26, 2006] features added Added support for pass-through of PCM audio that has more than 2 channels.
|
HTH |
 |
| a1s2d3f4 |
| Posted: Dec 7 2011, 04:07 PM |
 |
|
Member
 
Group: Members
Posts: 25
Member No.: 22721
Joined: 30-December 07

|
I was rash in my estimation that VD supports multi-channel audio. I discovered something peculiar.
If I create a 6 channel WAV file with the program called Soundforge 9.0, I can seemingly load it in just fine into VD - I can see 6 channels of audio in the Audio Display. However, if I try to Save AVI with this stream, the result is garbled. Only Channel 3 of my 6 channels seems ok. The rest must be read wrong in terms of endianness, or something.
But interestingly, when I generated a 6 channel WAV file by using Sox.exe (Version 14.3.2), VD actually refused to display it using Audio Display, claiming this was "compressed". So, when I outputted an AVI, the result had a blank 2 channel audio stream. |
 |