Main > Software Forum
MAME Movie Maker released
<< < (8/153) > >>
Buddabing:
If I comment out the SetInputFormat, SetOutputFormat, and ClearTextInfo lines from the VirtualDub script, the script will run with Vdub 1.5.10 but with no audio.

I would prefer that everyone migrate to Vdub 1.6.2, since I think we are spending too much time trying to get 1.5.10 to work.

I'll now look at different versions of AviSynth to see if some of them don't work right with Vdub 1.6.2.

I see 2600's post now. If you use the SetSource, then you need to take out the Trim() statement in the .avs file. Then you will be unable to trim off the part of the video which is not in the loop. SetSource() overrides AudioDub().

Buddabing
Silver:

--- Quote from: 2600 on January 04, 2005, 10:47:57 am ---Here's what I found:

If I commented out these lines in the .vdb script, then the script runs in 1.5.10.

// VirtualDub.video.SetInputFormat(0);
// VirtualDub.video.SetOutputFormat(7);

// VirtualDub.project.ClearTextInfo();


But there was still no audio.

So if I add the line audios.setsource, after opening the .avs file you get audio
VirtualDub.Open("1941.avs","",0);
VirtualDub.audio.SetSource("D:\\Mame\\89\\1941.wav"); //added

But it is not synced, so I changed the 0 to -16000 to the following line
VirtualDub.audio.SetInterleave(1,500,1,0,-16000);


--- End quote ---


A quick note. If you have and avs file opened in the script, you do NOT want to refer to a wav file. The avs feeds trimmed, syced audio and video into virtualdub.

The problem lies in errors in the vdub script. I do not believe:

VirtualDub.video.SetInputFormat(0);
VirtualDub.video.SetOutputFormat(7);
VirtualDub.project.ClearTextInfo();

should be in the script.

Something like:

VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(1);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression(-whatever-)

should be all thats required to have good audio in 1.5.10

Although this may change for 1.6.2.

Will post with findings later!


2600:
Yeah, I figured it's wrong what I was trying to show is that audio is not being fed in by the .avs file.  If you don't add the set source when it is processing you can see that it is not processing any audio.

I'll bow out now and let you two figure out the why.  Great work so far though.
Buddabing:

--- Quote from: BuZz880 on January 04, 2005, 09:18:37 am ---I sure like the new improved listgen utility.
--- End quote ---
Minwah:

--- Quote from: Buddabing on January 04, 2005, 11:35:57 am ---Thank you for your bug report. I'm glad you use MAMEWah since that's pretty much the only frontend that works so far.

I've located and fixed your bugs, the next time I update the source code or executable to the movie maker, I'll also update the listgen utility.

What I like best about the program is the speed at which it works.

--- End quote ---

I haven't tried the ListGen for a good while...I will try the latest tonight, since I gather it now supports the MW output - should be pretty handy :)
Navigation
Message Index
Next page
Previous page

Go to full version