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 > Capturing and Editing Video > Avisynth Development
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 7th January 2020, 22:17   #1  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
BestAudioSource

Imagine if FFAudioSource actually worked and was accurate (but a bit slow). That's what I'm going for here. Also no indexing required...

Usage:
Code:
BestAudioSource(filename, track=-1)
or
vs.core.bas.Source(filename, track=-1)

Full argument list:
[source]s[track]i[adjustdelay]i[exactsamples]b[enable_drefs]b[use_absolute_path]b[drc_scale]f[varprefix]s
Positive track numbers refer to the FFmpeg given stream number. Negative numbers refer to the nth audio track with -1 being the first.

Github release page

For you poor avisynth users it sets two variables: BASCHANNEL_LAYOUT and BASVALID_BITS that can also be prefixed if needed.

TODO:
Delay adjustment relative to other tracks is missing. This is the only feature missing relative FFMS2.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet

Last edited by Myrsloik; 15th September 2021 at 19:35. Reason: New version
Myrsloik is offline   Reply With Quote
 


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 00:15.


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