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

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd January 2015, 13:34   #1101  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,924
Happy new year!

Can you upload the new qaac.extension to see the changes needed?
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 2nd January 2015, 19:03   #1102  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Hehe patience please,
I will tomorrow make a package with all needed files, but first I must clean up the things a bit.


a few general notes:
  • as long the new extension specification is not "frozen" there is no need to convert all plugins
  • But: I have worked so far only with qaac and l-smashSource plugin, other encoders or sources may have other requirements,
    so it would make sence to first convert some prominent plugins to see if there are fundamental bugs or if more window controls are needed
  • suggestions about additional usefull window controls are welcome (maybe optional textbox for command args or so?)
  • my current approach seems to work good for encoder and source plugins, not for dsp plugins.
    I think configuring complex avisynth scripts for dsp functions is anyway beyond what we can achieve with the current xml extension system.
    So for dsp plugins we wont see big changes here.
  • suggested new naming convention to tidy up extension directory:
    - file extension is now ".ext" (looks better)
    - encoder plugins start with "e_", dsp with "d_", source with "s_" (eg. "e_qaac.ext")
  • we can now specify the name of the needed avisynth plugin in the ext. file. If the plugin is found in "BeHappy\plugins32" folder
    it will be explicit loaded from there. This makes behappy a bit more portable, but its of course fully optional.
    (anyway I suggest to always specify the plugin.dll)


Man now Im tired of writing... Not to mention that the formatting takes almost longer than writing.
Thanks google translator in any case for help!
__________________
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 3rd January 2015, 12:09   #1103  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Here is a test version with 3 plugins and documentation included:
EDIT: removed invalid link

a few notes about window control arrangement:


  • the window is unvisible tiled horizontal
  • upper side:
  • - this is the place for the radiobuttons and trackbar
  • - the trackbar is only shown if at least one radiobutton has specified one, otherwise its omited
  • - there exist only one trackbar dynamical assigned to selected radiobutton
  • - arrangement is top down, first radiobuttons, trackbar always bottom
  • - theoretical radiobuttons can be omited but then there can also exist no trackbar
  • lower side:
  • - place for comboboxes, checkboxes, url
  • - arrangement is left to right, first comboboxes, checkboxes, url
  • - every object here is optional

Thats currently all I can say about that. Feel free to ask if something is unclear.
__________________
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:46.
jones1913 is offline   Reply With Quote
Old 7th January 2015, 10:11   #1104  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
I treid BeHappy-0.2.6.34898e converting sample but didnt work. Can You check it?
@jones1913
Many thanks for new extantions feature i am going to start to create new extantions
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 7th January 2015 at 10:22.
siella is offline   Reply With Quote
Old 7th January 2015, 10:35   #1105  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,786
No details about the source format.
No details about the setup.
No log file or error message.

So what do we have to check?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 7th January 2015, 10:39   #1106  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
well
Code:
########################################
#Created by BeHappy v0.2.6.34898
#Creation timestamp: 07.01.2015 11:36:11
########################################
#Source FileName:E:\1.mkv
#Target FileName:E:\1.dts
########################################

########################################
# [Source: FFAudioSource - First Audio]
########################################
FFAudioSource("E:\1.mkv")

########################################
# [DSP: Convert Sample To 16 bit int]
########################################
ConvertAudioTo16bit()

########################################
# [DSP: Resample SSRC - SpeedUp 23.976->25]
########################################
AssumeSampleRate(last, (AudioRate()*1001+480)/960).SSRC(AudioRate(last))

########################################
# [Encoder: @DTS Encoder @ 768 kbps]
########################################
16==Audiobits(last)?last:ConvertAudioTo32bit(last)
Code:
Found Audio Stream
Channels=6, BitsPerSample=32 int, SampleRate=48000Hz
BitsPerSample must be 16, older version can convert 16 bit
Source is 24 bit.
I geuss 16==Audiobits(last)?last:ConvertAudioTo32bit(last) command crushes ConvertAudioTo16bit()
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 7th January 2015 at 11:07.
siella is offline   Reply With Quote
Old 7th January 2015, 10:56   #1107  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,786
There is indeed something surprising in the last command:

"If the result has 16 bit audio, then return it as it is, else convert it to 32 bit"?! That appears suspicious.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 7th January 2015, 11:37   #1108  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,924
Quote:
Originally Posted by LigH View Post
There is indeed something surprising in the last command:

"If the result has 16 bit audio, then return it as it is, else convert it to 32 bit"?! That appears suspicious.
It's correct. The dcaenc support 16 bits and 32 bits int but not 24 bits or float.

BTW, I recommend use the fork ffdcaenc with support for 24 bits and other benefits (read the full thread).
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 7th January 2015 at 11:40.
tebasuna51 is offline   Reply With Quote
Old 7th January 2015, 11:46   #1109  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
Yes i know that but i convert with ConvertAudioTo16bit before but it doesnt effect
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator
siella is offline   Reply With Quote
Old 7th January 2015, 12:21   #1110  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,924
Quote:
Originally Posted by siella View Post
Yes i know that but i convert with ConvertAudioTo16bit before but it doesnt effect
I see, but you have:

Quote:
ConvertAudioTo16bit()

########################################
# [DSP: Resample SSRC - SpeedUp 23.976->25]
########################################
AssumeSampleRate(last, (AudioRate()*1001+480)/960).SSRC(AudioRate(last))
And:

Quote:
SSRC Shibata Sample Rate Converter is a resampler. Audio is always converted to float
Change the DSP order if you want 16 bits.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 7th January 2015, 13:54   #1111  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
thanks tebasuna51. i changed order and now it is effected
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 7th January 2015 at 13:58.
siella is offline   Reply With Quote
Old 7th January 2015, 20:36   #1112  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
@jones1913

I am writing new extantions according to your new rules.
Firstly at DSP Tooltip box appears like this

it has space at front

List my asking for extantion
Could you
-add tag for note like url? I want to add some explanation like "it needs this dll or soft bla bla.."
-add default selected value for Trackbar?
-make multi load plugin tag for bass source or another one?
-add Standart values for Trackbar like constant bitrate of ac3 aften config
-show Dropdown Name at above choice
- add multiple wav source for encoding 5.1 audio?
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 7th January 2015 at 21:48.
siella is offline   Reply With Quote
Old 7th January 2015, 22:00   #1113  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Quote:
at DSP Tooltip box appears like this
haha strange, I will look into it

Quote:
-add tag for note like url? I want to add some explanation like "it needs this dll or soft bla bla.."
-add default value for Trackbar?
no problem

Quote:
-multi load plugin tag for bass source or another one?
you mean to specify more than one avisynth plugin.dll to be loaded? certainly easy to implement. (even I thought its not needed)

Quote:
- add multiple wav source for encoding 5.1 audio?
currently not sure about how to do this. On weekend I will look into the things.
__________________
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 7th January 2015, 22:11   #1114  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
I just need multi load plugin for bass. You know there is more dll. And so that users dont need copy all plugin into avisynth plugin folder.
One more thing Can you add input section like aftengui



and maybe Additional CLI argumant box
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 8th January 2015 at 11:40.
siella is offline   Reply With Quote
Old 7th January 2015, 22:57   #1115  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,924
Quote:
Originally Posted by siella View Post
I just need multi load plugin for bass. You know there is more dll.
But only one is a AviSynth plugin: BassAudio.dll

Quote:
Originally Posted by siella View Post
- add multiple wav source for encoding 5.1 audio?
Something like Mux Wizard in EncWAVtoAC3?
To create a temporal input.avs like:

l = RaWavSource("D:\tmp\0L.wav")
r = RaWavSource("D:\tmp\0R.wav")
c = RaWavSource("D:\tmp\0C.wav")
lfe= RaWavSource("D:\tmp\0LFE.wav")
sl = RaWavSource("D:\tmp\0SL.wav")
sr = RaWavSource("D:\tmp\0SR.wav")
mergechannels(l,r,c,lfe,sl,sr)
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 8th January 2015, 11:04   #1116  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
@tebasuna51
Yes it can be but i think also it can use source1, soruce2... for ffdcaenc, aften or other aac encoder that can support multichannel encode.
I dont know which is easy for behappy.

Quote:
But only one is a AviSynth plugin: BassAudio.dll
Then still user must copy all bass dll to avisynth folder or system path?
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 8th January 2015 at 11:22.
siella is offline   Reply With Quote
Old 8th January 2015, 18:18   #1117  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,786
DLLs can be used (and even required) by other DLLs too. Either the same directory as the calling EXE/DLL or the system directory are recommendable locations for dependent DLLs, because Windows would look there, probably also in all directories listed in %PATH% (here the system directory is usually included).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 8th January 2015, 18:39   #1118  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Quote:
Then still user must copy all bass dll to avisynth folder or system path?
No, this means: only the "BassAudio.dll" needs to be loaded via "LoadPlugin()", and all other bassxxx.dll must be located in the same place where the BassAudio.dll is.
So for the time being I see no need for multiple <LoadAvsPlugin> fields.

Quote:
and maybe Additional CLI argumant box
yes, probably optional displayable

Quote:
- add multiple wav source for encoding 5.1 audio?
Something like Mux Wizard in EncWAVtoAC3?
To create a temporal input.avs like:
This seems not related to the current extension stuff and would require an additional window where you can open files and assign the channels.
Maybe when the extensions are done, but with rather low priority for me. Simplest solution for now is manually create avs script like tebasuna has shown.

Quote:
Can you add input section like aftengui
I thought that something like this is required for fixed bitrate values, but I dont like the idea of adding or replacing the trackbar with a combobox.
The simplest solution for me to implement would be a trackbar which accept fixed values instead of min/max values.
__________________
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 9th January 2015, 00:32   #1119  |  Link
siella
Registered User
 
siella's Avatar
 
Join Date: Mar 2007
Location: Turkey
Posts: 66
Ok jones1913. I am waiting your new extantions xml still. When you finished i ll keep going.
I think if Dropdown name is showed at above it ll be nice.
__________________
Behappy
BePack.v3.3BeHappy,BeSweet,BeLight,BeSplit,BeSliced,BdAC) with last plugin, encoder and extensions.
Avisynth Movie Screenshot, thumbnails creator

Last edited by siella; 9th January 2015 at 00:49.
siella is offline   Reply With Quote
Old 9th January 2015, 18:52   #1120  |  Link
jones1913
random user
 
Join Date: May 2014
Location: #Neuland
Posts: 116
Quote:
I think if Dropdown name is showed at above it ll be nice.
To keep things simple window controls in this area are arranged automatical from left to right, if a control not fit in remaining space then it is wrapped to the next line.
I think about adding a label next to each combobox somehow...

Thanks so far for your suggestions. Give me some time to implement the things.
__________________
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
Reply

Tags
behappy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:28.


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