BestAudioSource
From Avisynth wiki
(Difference between revisions)
(test8) |
m (→Archived Downloads: typo) |
||
Line 78: | Line 78: | ||
|[https://www.dropbox.com/s/6a65wt49r7fck15/BestAudioSource-test8.7z?dl=1 BestAudioSource-test8.7z] | |[https://www.dropbox.com/s/6a65wt49r7fck15/BestAudioSource-test8.7z?dl=1 BestAudioSource-test8.7z] | ||
| | | | ||
+ | |- | ||
!test7 | !test7 | ||
|[https://www.dropbox.com/s/x22gkfcuzlpo06h/BestAudioSource-test7.7z?dl=1 BestAudioSource-test7.7z] | |[https://www.dropbox.com/s/x22gkfcuzlpo06h/BestAudioSource-test7.7z?dl=1 BestAudioSource-test7.7z] | ||
Line 100: | Line 101: | ||
<!--test 3 source code: [https://web.archive.org/web/20200523045802if_/https://files.videohelp.com/u/223002/bestaudiosource-master.zip bestaudiosource-master.zip] --> | <!--test 3 source code: [https://web.archive.org/web/20200523045802if_/https://files.videohelp.com/u/223002/bestaudiosource-master.zip bestaudiosource-master.zip] --> | ||
<br> | <br> | ||
+ | |||
== External Links == | == External Links == | ||
*[https://github.com/vapoursynth/bestaudiosource GitHub] - Source code repository. | *[https://github.com/vapoursynth/bestaudiosource GitHub] - Source code repository. |
Revision as of 02:11, 22 August 2021
Abstract | |
---|---|
Author | Myrsloik |
Version | test8 |
Download | BestAudioSource-test8.7z |
Category | Source filters |
License | Open source |
Discussion | Doom9 Thread |
Contents |
Description
A new sample accurate but somewhat slow FFmpeg based audio source filter for AviSynth+. No indexing required and only available in 64-bit.
Requirements
- [x64] AviSynth+
Syntax and Parameters
- BestAudioSource (string "source", int "track", int "adjustdelay", bool "exactsamples", bool "enable_drefs", bool "use_absolute_path", float "drc_scale", string "varprefix")
- string source =
- Path to audio file. Path can be omitted if the script is in the same folder as the audio file.
- string source =
- int track = -1
- Positive track numbers refer to the FFmpeg given stream number. Negative numbers refer to the nth audio track with -1 being the first.
- int track = -1
- int adjustdelay = -1
- Delay adjustment; not yet implemented.
- int adjustdelay = -1
- bool exactsamples = false
- Set to true if you want opening files to be really slow but for some reason need a completely sample exact length.
- bool exactsamples = false
- bool enable_drefs = false
- Enable loading of external tracks, disabled by default.
- bool enable_drefs = false
- bool use_absolute_path = false
- Allows loading of external tracks via absolute paths, disabled by default.
- bool use_absolute_path = false
- float drc_scale = 0.0
- Dynamic Range Scale Factor. The factor to apply to dynamic range values from the AC-3 stream. This factor is applied exponentially.
- The default value is 0. There are 3 notable scale factor ranges:
drc_scale == 0
DRC disabled. Produces full range audio.0 < drc_scale <= 1
DRC enabled. Applies a fraction of the stream DRC value. Audio reproduction is between full range and full compression.drc_scale > 1
DRC enabled. Applies drc_scale asymmetrically. Loud sounds are fully compressed. Soft sounds are enhanced.
- float drc_scale = 0.0
- string varprefix = ""
- Works the same as FFMS2.
"BASCHANNEL_LAYOUT"
- "BASVALID_BITS"
- Works the same as FFMS2.
- string varprefix = ""
Examples
BestAudioSource("blah.mp4", track=-1, adjustdelay=-1, exactsamples=false, enable_drefs=false, use_absolute_path=false, drc_scale=0)
Changelog
Version Date Changes
test8 2021/08/17 - Updated with several new options, including drc_scale. test7 2020/08/02 - VapourSynth: update for V4 api again; fixed all known bugs and should be fairly stable test6 2020/06/23 - Fixes clips with more than 2^31 samples in VS and adds 24 bit output to AviSynth. test5 2020/06/13 - Properly export the number of bits per sample test4 2020/06/09 - Update for latest audio api revision test3 2020/01/26 - Fixes the channel mask variable that was previously almost always wrong in AviSynth. - Also add VapourSynth support. test2 2020/01/08 - Fixed output and new parameter "exactsamples" test1 2020/01/07 - Initial release
Archived Downloads
Version | Download | Mirror |
---|---|---|
test8 | BestAudioSource-test8.7z | |
test7 | BestAudioSource-test7.7z | |
test6 | BestAudioSource-test6.7z | |
test5 | BestAudioSource-test5.7z | |
test4 | bestaudiosource-test4.7z | |
test3 | bestaudiosource-test3.7z | bestaudiosource-test3.7z |
External Links
- GitHub - Source code repository.
Back to External Filters ←