Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th March 2008, 13:13 | #1 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
BassAudio - New version (2014-12-12)
IMPORTANT EDIT
At this moment (2016) I recommend use LWLibavAudioSource like AviSynth audio decoder instead BassAudio (or NicAudio). Then I never will make new versions of BassAudio. ---------------------------------------------------------------------------------------------------- EDIT END I open a new thread to request everybody interested to test this new version. BassAudio2410.7z I think the problems are solved now. My first test with aac and wma seems work fine. Please send yours results here. EDIT: New version thanks to forclip. The 2.4.10 version is included also in last BeHappy package (read carefully the readme.txt in plugins folder) Last edited by tebasuna51; 30th January 2016 at 13:19. |
14th March 2008, 18:41 | #3 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Select one for your convenience.
I'm still waiting your register in CodePlex to do a new BeHappy package (now we can add this bass version). Quote:
Don't work for me: .mid .ac3 with non standard acmod channels (e = empty channel): 2/0.1 -> L,e,R,FE,e,e 2/1.0 -> L,R,BC,BC 3/0.1 -> L,R,C,FE,e,e 3/1.0 -> L,R,C,BC,BC 2/1.1 -> L,BC,R,FE,BC,e 3/1.1 -> L,R,C,FE,BC,BC 2/2.1 -> L,BL,R,FE,BR,e ok with 1/0.0, 1/0.1, 2/0.0, 3/0.0, 2/2.0, 3/2.0, 3/2.1 (all work fine with a new NiacAudio.dll version pending to publish) For me BassAudio is the AviSynth decoder for Flac, Cda(Audio CD), Ogg, Wma and Aac/M4a (Stereo/5.1/LC/HE/PS tested). Waiting for test in other formats like: alac, ape, mpc, ofr, spx, tta, wv but I think we can be optimist, I think these formats can be always optional. Last edited by tebasuna51; 14th March 2008 at 19:30. |
|
14th March 2008, 20:00 | #4 | Link |
User of free A/V tools
Join Date: Jul 2006
Location: SK
Posts: 826
|
Please post it to http://ulozto.net/ because I'd like to try this new version too and MEGAUPLOAD Toolbar is big NO NO on my PC
|
8th May 2008, 10:15 | #7 | Link |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
hello.. i dunno where to post, so...
as BeHappy is UpDated to 2.4 bass, and the BassAudio.dll is also updated... can anyone make a package of 2.4, that "WORKS"... 'cause on the main site of bass dll there are no (taken form beHappy readme) Code:
bass_cda.dll Optional to read CD Audio. Link(1) bass_flac.dll Optional to read Flac until v1.2.1. Link(1) bass_wv.dll Optional to read WV, WavPack Audio. Link(1)
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
8th May 2008, 11:46 | #8 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Here is Ok. Or in Behappy thread.
Quote:
Quote:
"There are some bass*.dll than must be renamed to bass_*.dll to be load properly in AviSynth." and basscd.dll, bassflac.dll, basswv.dll and basswma.dll must be renamed to bass_SOMETHING.dll, because BassAudio.dll (Bass-AviSynth interface) first need load the main dll (bass.dll) and after any other Bass subplugins (bass_*.dll). Quote:
Of course only decoder Add-ons are tested with AviSynth. Last edited by tebasuna51; 8th May 2008 at 11:50. |
|||
23rd September 2008, 22:30 | #9 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
It's really great to have this plugin, one little issue though: startup opening scripts takes 2-3 seconds longer just putting the libraries in the plugin auto load folder, even if the script don't use the plugin, shutdown is also noticable slower.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
23rd September 2008, 23:13 | #10 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
To use the Bass lib's you only need for instance: LoadPlugin("C:\Temp\BassAudio.dll") at "C:\Temp\" you need BassAudio.dll, Bass.dll and the optional Bass_*.dll |
|
23rd September 2008, 23:40 | #11 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
Can this be used to load winamp DSP plugins in AviSynth?
http://un4seen.com/bass.html#maddons Also could we use the BASS lib to do this? http://forum.doom9.org/showthread.php?t=141063
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer Last edited by mikeytown2; 23rd September 2008 at 23:43. |
24th September 2008, 01:28 | #12 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
BassAudio only provides a source filter, for the formats supported by BASS. It does not currently support any of BASS's DSP features. (Strangely, I was looking at this only the other day, with the thought of perhaps using the BASS VST add-on as a way of getting VST plugins into Avisynth.)
Quote:
|
|
27th September 2008, 15:28 | #14 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Any idea why .mid doesn't work properly?
I have the BASS midi add-on and an appropriate soundfont installed, and the BASS midi test works perfectly. However, when using BassAudioSource with a midi file in Avisynth, I can hear chunks of what sounds intermittently like the right output, but it is obviously not complete. Looking at the resulting audio file with a wave editor, I can see that it is the right length, but consists of short bursts of sound interpersed with longer bursts of silence. Any ideas? |
2nd October 2008, 20:24 | #15 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
@tebasuna51
After some experimentation, and a little intelligent guesswork, I've found the source of the problem with .mid, and how to fix it. My diagnosis is that BASS_ChannelSetPosition on a Midi stream does not take into account notes already playing at the new position. I don't know if this is a bug or a feature in the BASS Midi library, but with the way BassAudioSource uses BASS_ChannelSetPosition on each GetAudio call, the result is that notes are cut off and do not sound for their full length. The solution (which I have tested) is to change this line (in bassAudioSource::GetAudio) Code:
BASS_ChannelSetPosition(_streamHandle, pos, BASS_POS_BYTE); // 2.4 Code:
QWORD currPos = BASS_ChannelGetPosition(_streamHandle, BASS_POS_BYTE); if (pos != currPos) BASS_ChannelSetPosition(_streamHandle, pos, BASS_POS_BYTE); // 2.4 |
3rd October 2008, 02:30 | #16 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
@Gavino
I don't know your BassAudio.cpp because the last source for bassAudioSource::GetAudio is : Code:
void __stdcall bassAudioSource::GetAudio(void* buf, __int64 start, __int64 count, IScriptEnvironment* env) { ... QWORD pos = start; pos *= vi.BytesPerAudioSample(); if (start != last_sample) BASS_ChannelSetPosition(_streamHandle, pos, BASS_POS_BYTE); // 2.4 DWORD length = count; length *= vi.BytesPerAudioSample(); BASS_ChannelGetData( _streamHandle, buf, length); last_sample = start + count; } Is the main patch I make to original bassaudio from Dimzon, when BASS_ChannelSetPosition is called the decoders are initialized and lose info from precedent frame. Last edited by tebasuna51; 3rd October 2008 at 02:38. |
3rd October 2008, 17:21 | #17 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
ĦAy, que tonto!
Turns out I was using an older version of BassAudio which I got from this post. I think I got confused by the filename bassAudio23_24.7z into thinking that it was the latest version, in place of the real one (bassAudio23.7z). Sorry about that. Incidentally, I see that last_sample is initialised to 2, a valid (though unlikely) value for the first GetAudio call. Wouldn't 0 (or -1 if you want to force at least one call to BASS_ChannelSetPosition) be a better value to use? A further question: I am thinking of using the BASS libraries to allow VST (and possibly Winamp) DSP effects to be used within Avisynth. Do you think it would make sense to combine this with BassAudio (as an additional function) or do you think a completely separate plugin would be more appropriate? Bear in mind that there would be some code in common, eg loading the BASS libraries. |
3rd October 2008, 21:43 | #18 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
Quote:
Quote:
|
|||
28th February 2009, 18:53 | #19 | Link | |
ASXGui Developer
Join Date: Sep 2007
Posts: 248
|
Quote:
|
|
1st March 2009, 03:18 | #20 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
The BeHappy interface with bass libraries don't change (BeHappy release 0.2.2.30338) if Bass remain at 2.4 version.
You can download the last Bass changes in http://www.un4seen.com/
__________________
BeHappy, AviSynth audio transcoder. |
Thread Tools | Search this Thread |
Display Modes | |
|
|