View Full Version : MPASource: direct MP1 MP2 MP3 reading
Hi
mpaSource("all MPA T01 DELAY 0ms.mpa", normalize = true).BufferAudio()
gives me blank audio. The source file is dvb-s, 48khz 192kbs.
I had to change it to normalize=false to get sound with the actual audio.
Thanks for a great plugin by the way!
WarpEnterprises
3rd July 2004, 21:56
Please use
- latest AviSynth
- float mpasource
- NO bufferaudio (it's already built-in in AviSynth)
Does it then work with normalize and can you post the content of the .d2a file (please delete it first!) ?
WarpEnterprises
20th February 2008, 22:47
New version:
- without mpeg1 Layer1 support (ID3 tags were misidentified as Layer1)
- global variables removed which prohibited to use it more than once in a script reliably
- EXIT on some rare stream errors removed which could close the application
- some bugfixes from the mpg123-lib of the LAME project which were made after mpasource.
tebasuna51
9th April 2008, 03:21
New version:
- without mpeg1 Layer1 support (ID3 tags were misidentified as Layer1)
- global variables removed which prohibited to use it more than once in a script reliably
- EXIT on some rare stream errors removed which could close the application
- some bugfixes from the mpg123-lib of the LAME project which were made after mpasource.
A bug is introduced in this version, when use 'pipe' commands like:
Bepipe --script "MPASource(^sample.mp2^)" | neroaacenc -if - -of sample.mp4 -q 0.5
the audio data is corrupted by text messages like:
MPEG 1.0 layer II, 384 kbit/s, 48000 Hz stereo
The problem is in the mpg123/common.c:
--- D:/NicAudio/mpg123/common.c Mon Feb 18 23:30:44 2008
+++ D:/Releases/common.c Wed Apr 09 03:12:44 2008
@@ -208,7 +208,7 @@
static const char *modes[4] = { "stereo", "joint-stereo", "dual-channel", "mono" };
static const char *layers[4] = { "Unknown" , "I", "II", "III" };
- fprintf(stdout,"MPEG %s layer %s, %d kbit/s, %ld Hz %s\n",
+ fprintf(stderr,"MPEG %s layer %s, %d kbit/s, %ld Hz %s\n",
fr->mpeg25 ? "2.5" : (fr->lsf ? "2.0" : "1.0"),
layers[fr->lay],
tabsel_123[fr->lsf][fr->lay-1][fr->bitrate_index],
In old version is correct with 'stderr'.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.