BestAudioSource

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Description)
m (Examples)
Line 38: Line 38:
  
 
== Examples ==
 
== Examples ==
  BestAudioSource("blah.ac3", track=-1, adjustdelay=-1, exactsamples=false, varprefix="")
+
  BestAudioSource("blah.mp4", track=-1, adjustdelay=-1, exactsamples=false, varprefix="")
 
<br>
 
<br>
 +
 
== Changelog ==
 
== Changelog ==
 
  Version        Date            Changes<br>
 
  Version        Date            Changes<br>

Revision as of 14:30, 10 May 2020

Abstract
Author Myrsloik
Version test3
Download bestaudiosource-test3.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.


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 = ""


Examples

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


Changelog

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


External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools