Thread: AVS to WAV
View Single Post
Old 24th June 2007, 15:54   #10  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by alvarez View Post
...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, ....
tebasuna51 is online now   Reply With Quote