BestAudioSource

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(test4)
(test5)
Line 2: Line 2:
 
{{Filter3
 
{{Filter3
 
|1={{Author/Myrsloik}}
 
|1={{Author/Myrsloik}}
|2=test4
+
|2=test5
|3=[https://www.dropbox.com/s/bwkys1kukuv5ant/bestaudiosource-test4.7z?dl=1 bestaudiosource-test4.7z]
+
|3=[https://www.dropbox.com/s/wz3nbdz3kjjxqmy/BestAudioSource-test5.7z?dl=1 BestAudioSource-test5.7z]
 
|4=Source filters  
 
|4=Source filters  
 
|5=Open source
 
|5=Open source
Line 43: Line 43:
 
== Changelog ==
 
== Changelog ==
 
  Version        Date            Changes<br>
 
  Version        Date            Changes<br>
 +
test5          2020/06/13      - Properly export the number of bits per sample
 
  test4          2020/06/09      - Update for latest audio api revision  
 
  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.
 
  test3          2020/01/26      - Fixes the channel mask variable that was previously almost always wrong in AviSynth.
Line 55: Line 56:
 
!!width="200px"| Download
 
!!width="200px"| Download
 
!!width="200px"| Mirror
 
!!width="200px"| Mirror
!!width="200px"| Source code
+
|-
 +
!test5
 +
|[https://www.dropbox.com/s/wz3nbdz3kjjxqmy/BestAudioSource-test5.7z?dl=1 BestAudioSource-test5.7z]
 +
|
 +
|-
 +
!test4
 +
|[https://www.dropbox.com/s/bwkys1kukuv5ant/bestaudiosource-test4.7z?dl=1 bestaudiosource-test4.7z]
 +
|
 
|-
 
|-
 
!test3
 
!test3
 
|[https://www.dropbox.com/s/cl5nudu1bud2nct/bestaudiosource-test3.7z?dl=1 bestaudiosource-test3.7z]
 
|[https://www.dropbox.com/s/cl5nudu1bud2nct/bestaudiosource-test3.7z?dl=1 bestaudiosource-test3.7z]
 
|[https://web.archive.org/web/20200523045527if_/https://files.videohelp.com/u/223002/bestaudiosource-test3.7z bestaudiosource-test3.7z]
 
|[https://web.archive.org/web/20200523045527if_/https://files.videohelp.com/u/223002/bestaudiosource-test3.7z bestaudiosource-test3.7z]
|[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 ==

Revision as of 19:19, 22 June 2020

Abstract
Author Myrsloik
Version test5
Download BestAudioSource-test5.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


Syntax and Parameters

BestAudioSource (string "source", int "track", int "adjustdelay", bool "exactsamples", string "varprefix")


string  source =
Path to audio file. Path can be omitted if the script is in the same folder as the audio file.


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  adjustdelay = -1
Delay adjustment; not yet implemented.


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.


string  varprefix = ""
Works the same as FFMS2.


Examples

BestAudioSource("blah.mp4", track=-1, adjustdelay=-1, exactsamples=false, varprefix="")


Changelog

Version        Date            Changes
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
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

Personal tools