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.

 

Go Back   Doom9's Forum > General > Audio encoding
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th November 2014, 04:59   #1081  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by forclip View Post
Please try this one http://ge.tt/8ngKhP42/v/0 (v110_xp, v110_xp SSE)
Work also in my W7 system.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 13th November 2014, 09:44   #1082  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
"Illegal instruction" sounds like too much CPU optimization?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th November 2014, 21:50   #1083  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
@forclip:
No SSE2 indeed
Therefor only bassAudio_SSE.dll works on my WinXP pc. The two (SSE2) bassAudio.dll work perfectly on the Win7 laptop.
Thanks a lot!
__________________
My hobby website
Reino is offline   Reply With Quote
Old 13th November 2014, 22:22   #1084  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
forclip, I have 2 feature requests, if I may:

Quote:
Originally Posted by CoRoNe View Post
Is there a reason why opening tracker music (umx/mod/mo3/s3m/xm/it) fails with BassAudioSource? Or is opening audio through Avisynth limited to sample audio?
Quote:
Originally Posted by tebasuna51 View Post
Yes, don't work with umx/mod/mo3/s3m/xm/it.
- Do you perhaps have the knowhow to add support for tracker-files?

Quote:
Originally Posted by CoRoNe View Post
Could you let the next BassAudio version accept original BASS add-on filenames? At the moment it seems BassAudio only accepts BASS add-ons with an underscore in their filename (bass_xxx.dll, like the 3th-party add-ons). BASS' own add-ons; basswma, basscd, bassflac, basswv and bassopus, don't have an underscore in their original filename. You'd have to add one manualy for BassAudio to work.
- Have BassAudio accept the original filename (without underscore) of BASS' own add-ons.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 13th November 2014, 23:36   #1085  |  Link
forclip
Registered User
 
Join Date: Dec 2009
Posts: 63
Quote:
Originally Posted by CoRoNe View Post
- Do you perhaps have the knowhow to add support for tracker-files?
For such kind of files another method must be used (BASS_MusicLoad instead of BASS_StreamCreateFile, with appropriate flags). I don't think I'm very interested in it, so..

Quote:
Originally Posted by CoRoNe View Post
- Have BassAudio accept the original filename (without underscore) of BASS' own add-ons.
Most probably this was done to filter out all *.dlls in current folder, so only those that are bass-plugins ("bass_" prefixed) will be BASS_PluginLoad'ed.
Theoretically there can be other dlls, AviSynth plugins (if someone decided to put everything in one place), runtimes. It seems quite reasonable to not try to load them all.

I'm glad that it now works for you too

-----

At your own risk: http://ge.tt/5qvijT42/v/0
Firstly it tries BASS_StreamCreateFile, if it fails - BASS_MusicLoad with BASS_MUSIC_SINCINTER and BASS_MUSIC_RAMP (and BASS_STREAM_PRESCAN | BASS_STREAM_DECODE | BASS_MUSIC_POSRESETEX, required for bassAudio). Works for me, but I have only one such file, so "untested".

Last edited by forclip; 14th November 2014 at 02:55.
forclip is offline   Reply With Quote
Old 14th November 2014, 21:42   #1086  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
Quote:
Originally Posted by forclip View Post
...so only those that are bass-plugins ("bass_" prefixed) will be BASS_PluginLoad'ed.
I don't know any Avisynth plugins that begin with "bass", so "bass" as prefix would suffice just as well and can easily be changed in line 132 of bassAudio.cpp.

Quote:
Originally Posted by forclip View Post
At your own risk: http://ge.tt/5qvijT42/v/0
Wow, thanks a lot! All tracker files I've tested so far play flawlessly.
I do however have some samples that have several "chapters", like Twilight.umx for instance. Foobar2000 (with foo_dumb) shows me the file consists of 4 segments: segment 1 (2:18), segment 2 (3:49), segment 3 (0:50) and segment 4 (4:15) (11:12 in total). BassAudio (and DC-BSM btw) only load segment 1 and I don't know if BASS is capable of loading all segments.
I've uploaded Twilight.mka (Twilight.umx encoded to a 48Kbps Opus stream and muxed to Matroska with chapters), in case you don't have foobar2000, so you can listen to all segments.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 15th November 2014, 03:48   #1087  |  Link
forclip
Registered User
 
Join Date: Dec 2009
Posts: 63
Quote:
Originally Posted by CoRoNe View Post
I don't know any Avisynth plugins that begin with "bass"
Well, bassAudio.dll, bass.dll . Anyway, I like how it currently is, I don't think it is so hard to rename those plugins after downloading. How often it is required? Surely not every day.

Twilight.umx - can be played in a very tricky way. Here is a short explanation. But knowing starting positions "in orders" doesn't make a lot of sense, it's only part of the problem. So I would say that bassAudio will stay limited in playing such files..
forclip is offline   Reply With Quote
Old 15th November 2014, 10:09   #1088  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by forclip View Post
Well, bassAudio.dll, bass.dll . Anyway, I like how it currently is, I don't think it is so hard to rename those plugins after downloading. How often it is required? Surely not every day.
I agree.

I was thinking about this problem and I don't found a easy solution.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 15th November 2014, 19:24   #1089  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
Understood. Thanks for you effort, forclip.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 12th December 2014, 16:12   #1090  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
New stable release BeHappy-0.2.6.34898e including BassAudio new versions.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 13th December 2014, 10:02   #1091  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Thanx tebasuna51
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 13th December 2014, 10:57   #1092  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
tebasuna51 for keeping the project alive and jones1913 for the now merged multi-threading fork.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th December 2014, 12:32   #1093  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Quote:
Originally Posted by tebasuna51 View Post
New stable release BeHappy-0.2.6.34898e including BassAudio new versions.
Ok, after 300+ downloads without complaints my beta release can be considered to be stable.

Some days ago I made a mini svn commit but I though it was not worth to pack a new release.
If someone will try I have just uploaded a built (.exe only) to mediafire.
EDIT: removed invalid link

Anyway I have a few ideas to further improve the usability but this will not happen this year.
I hope I have more free time next year to work on this app.
__________________
BeHappy Audio Transcoder > <Doom9 forum> <Gleitz forum> <GitHub>
MP4.tool GUI for MP4Box & L-SMASH muxer > https://www.mediafire.com/folder/3i6y6cbkyhblm/MP4.tool

Last edited by jones1913; 31st May 2015 at 10:49.
jones1913 is offline   Reply With Quote
Old 14th December 2014, 08:48   #1094  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Thanks to jones1913 and forclip, I only join your jobs.

And thanks to siella, and Tom Keller, for the extensions pack, I don't include the pack (only I correct a bug in previous FraunhoferMp3) in the release because I don't have time to check all new encoders, and each user is free to add the needed ones.

Also to CoRoNe for force us to improve the app.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 14th December 2014 at 09:11.
tebasuna51 is offline   Reply With Quote
Old 18th December 2014, 10:58   #1095  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
Thanks to jones1913 and tebasuna51 for keeping alive behappy project. I found bug but i am not sure so i ll test again and i ll report in here. Problem is behappy doesnt decode bit of ac3 audio file correctly. I looked ac3 file with mediainfo and it gave 16 bit but when i try to decode with bassadio, ffaudio or nicac3 behappy show 32 bit float.
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 18th December 2014 at 11:03.
siella is offline   Reply With Quote
Old 18th December 2014, 11:14   #1096  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Again this confusing topic...

Most lossy audio compression technologies with psycho-acoustic spectrum masking (like MP2, MP3, AC3, AAC...) work in a floating-point mode, they will transform the samples into audio spectrums of brief blocks and store parameters of a Fourier transformation. Decoding them back into samples again will return floating point samples at first. They may be converted to integer samples later, or not, depending on the decoder.

I don't know which resolution of 16 bit MediaInfo reports. That may be the resolution of the input samples which the encoder used. But that doesn't matter. As soon as there is an AC3 bitstream, there are no more 16 bit integer samples. Only a sequence of encoded frequency spectrums in AC3 blocks.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 18th December 2014, 18:39   #1097  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
LigH

BeHappy preserve the output of the decoders (32 bits float, max precission in AviSynth) and only downsample when the next encoder don't support this precission.

Or when you, manually, add a Convert Sample To ... function.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 27th December 2014, 14:21   #1098  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Maybe declaring this as stable was a bit too optimistic.

I found an error in jobs start logic, but it was actually only noticeable when using DSP scripts with initialization delay (eg. normalize filter) or source plugins which are delayed while creating an index (LWLibavAudioSource).
In this case jobs can simply crash or can finish with "done" status but with broken audio output file (with size of only a few kB).

I have just commited a fix.
Now a job is only started if the previous job has properly initialized and reached at least a progress of 1%.
This can lead to a more delayed start of each job now (depending on source/dsp filters and filesize).
But of course correct audio output is much more important than speed.

SVN-builds can be found in my mediafire folder. (Link also in my signature)
__________________
BeHappy Audio Transcoder > <Doom9 forum> <Gleitz forum> <GitHub>
MP4.tool GUI for MP4Box & L-SMASH muxer > https://www.mediafire.com/folder/3i6y6cbkyhblm/MP4.tool
jones1913 is offline   Reply With Quote
Old 2nd January 2015, 13:01   #1099  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Happy new year to all!

The last days I had some time and so I have worked through the code to see if Im able to extend the extension system,
for more functional and visually rich extension plugins (good advertising slogan he?).

Until now I was not very familiar with the xml-deserialization technique used by BeHappy, but it was actually quite simple to understand.

What I have done so far is:
- added some more elements to multi-option class so we can add a trackbar, comboboxes and checkboxes additional to the existing radiobuttons
- renamed some things (all plugins must be recreated anyway)
- make the current plugin configuration saveable in behappy save state file (as before)

old:


new:




Of course all extensions needs to be recreated once this is finished , but I hope that someone can help me then (TomK.? siella?)

More infos soon..
__________________
BeHappy Audio Transcoder > <Doom9 forum> <Gleitz forum> <GitHub>
MP4.tool GUI for MP4Box & L-SMASH muxer > https://www.mediafire.com/folder/3i6y6cbkyhblm/MP4.tool
jones1913 is offline   Reply With Quote
Old 2nd January 2015, 13:11   #1100  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Now that will certainly be a Happy New Year!

__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Reply

Tags
behappy


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.