Log in

View Full Version : MNG input without decoding to PNG first?


SilverFox
24th December 2004, 15:55
New to the forums but have been using basic avisynth for a long while...

I have a around 2000 MNG (with mp3) animated sequences I wish to convert to AVI's. I have found app support for MNG's quite poor.

If I decode the MNG to a sequence of PNG's (quite slow) then I can get thinks working perfectly with:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mpasource.dll")
video1=ImageSource("MNG1-00000%03d.png", 000, 250, 30)
#audio1=WavSource("MNG1.wav") - if I decode mp3 first
audio1=MPASource( "MNG1.mp3", normalize = false)
AudioDub(video1,audio1)

and thus open in virtualDub to compress etc. (Although I will need to batch this)

Ideally I would like to open the MNG's directly into avisynth. Are there any plugins that can do this? OR does anyone know of other ways to take an animated MNG and audio to AVI?

Also any suggestions to batch the decode, script generation, and encode greatly appeciated!

Thanks.

Wilbert
26th December 2004, 12:52
It's not possible yet. I added it to the feature list at sourceforge.

SilverFox
26th December 2004, 14:21
Ah - Thanks for the response. That has saved be plently of time!

I will concentrate on a workaround...