Quote:
Originally Posted by alvarez
...I expected that AVIStreamRead would stop at the end of the stream, but apparently it doesn't.
|
Yes, I report the same problem to Dimzon with BeHappy and Bepipe, solved for BeHappy but never for Bepipe.
Quote:
However, I used a different fix, which handles the case when streamInfo.dwLength + nextSample is greater than 4G (although this is quite unlikely to happen in real life)
|
Ok, seems work fine.
@Sagittaire and everybody, please check Wavi to replace Bepipe usage (avs2wav never work for me) because can be:
- More compatible (without .NET Framework dependence)
- Free of bug in wav header and extra bytes at end.
BTW, to use Avisynth SoundOut plugin, I recommend use:
avs2avi test.avs -c null -q -e
With these parameters only the SoundOut GUI (if required) is open and we avoid problems or close other interfaces like VirtualDub, mplayer, ....