View Single Post
Old 27th December 2002, 22:10   #1  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
MPASource: direct MP2 MP3 reading

Hi!

I made an AviSynth 2.0 plugin which can read mp2 and mp3.
(the decoding is based on mpg123 in a version from the lame project)

You simply put

MPASource("filename.mp3", normalize=false)

and get the audio.

Trimming and seeking is supported, although it may be a little slow.

When opening a script the whole file is scanned (fast without normalize, 5x slower with normalize) which can take 20-120 sec for one hour video, but this is the only way to always get the exact sample count (don't use it while preparing the video filters).

MPASource

Last edited by WarpEnterprises; 20th February 2008 at 22:48.
WarpEnterprises is offline   Reply With Quote