*** READ THIS: actualized 2023-01-18 ***
- BeHappy Workspace link don't work because GotDotNet Workspaces have been phased out.
- New BeHappy home:
CodePlex BeHappy project with last mod's included.
- And now
https://github.com/jones1913/BeHappy
- And a upgrade
here
------------------------------------------
*** Now the original post ***
------------------------------------------
Good job, Dimzon!
For me work the 'Delay', 'Split', 'Downmix', ...
Only with the 'Upmix' I get always:
Error: Can't find audio stream!
Please be patient with me, because I have a lot of comments:
Questions
In Avisynth internal plugin info say SuperEq(string filename), then wait for a parameter like this:
SuperEq("C:\Equalizer Presets\Loudness.feq")
Can work SuperEq(clip, values="0 0...96...0")?
In Upmix using Reverberation you put the plugin reverb(). Is a external plugin and need be downloaded?
EnsureVBRMP3Sync(). We can work with mp3 audio?. Is not necessary a decoder first to work with uncompressed audio?
If is possible, EnsureVBRMP3Sync() must be before AudioDubEx(BlankClip(...)) or after?
Petitions
With buttons 'New' and 'Edit' in Source, DSP and Destination we can test others decoders, DSP functios and encoders.
Please include the Downmix - DPL I, like DPL II but:
ssr = MixAudio(sl, sr, 0.2222, 0.2222)
ssl = Amplify(ssr, -1.0)
Bugs
The last buffer send to the encoder can be incomplete but is send complete, then there are extrabytes at end.
The RiffChunkSize in wav header is incorrect.
A example (without DSP), the same Input.wav and three outputs:
Code:
Input.wav (with correct classical wav header)
--------------
FileLength ..: 1920044 bytes
RiffChunkSize: 1920036 Ok = FileLength - 8 = DataLength + 36
DataLength ..: 1920000
Duration ...: 10.000000 sec.
Output.wav (RiffChunkSize error, Extrabytes at end of file)
--------------
FileLength ..: 1933356 bytes
RiffChunkSize: 1920450 Error: Must be FileLength - 8 = 1933348
DataLength ..: 1920000 Warning: ExtraBytes at end of file, bytes = 13312
Duration ...: 10.000000 sec. (with DataLength Ok, extrabytes are ignored)
Output.dat (Raw PCM, without header)
--------------
FileLength ..: 1933312 bytes
Duration ...: 10.069333 sec. Error: Extrabytes interpreted as data
Output.ogg
--------------
Duration ...: 10.069333 sec. Error: Extrabytes interpreted as data
Another warning: with source 5.1, 48 KHz (ac3, aac, dts, ...) greater than 124 min. 16.54 sec
m_nSizeInBytes = m_nSampleCount * nBlockAlign is > 2^32, then we need a int64 variable in source code.