ViewAudio

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Syntax and Parameters: more typos)
(add x64 version)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Plugins|Audio_filters}}
+
{{FilterCat4|External_filters|Plugins|Plugins_x64|Audio_filters}}
 
{{Filter3
 
{{Filter3
 
| {{Author/minamina}}
 
| {{Author/minamina}}
 
| v0.3.01
 
| v0.3.01
| 3=[http://nullinfo.s21.xrea.com/cgi/counter/count.xcg?down=ViewAudio0301.zip ViewAudio0301.zip]
+
| 3=[x86]: [http://nullinfo.s21.xrea.com/data/ViewAudio0301.zip ViewAudio0301.zip]
 +
----------
 +
[x64]: [https://web.archive.org/web/20200605033831if_/https://files.videohelp.com/u/223002/ViewAudio_x64.7z ViewAudio_x64.7z]
 
| 4=Audio filters
 
| 4=Audio filters
| 5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
+
| 5=[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| 6=}}
 
| 6=}}
 
<br>
 
<br>
Line 14: Line 16:
  
 
== Requirements ==
 
== Requirements ==
* AviSynth 2.5.8 or later
+
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.5.8 or greater]
 +
* [x64]: [[AviSynth+]]
 
* Supported color formats: [[YUY2]], [[YV12]]
 
* Supported color formats: [[YUY2]], [[YV12]]
 
<br>
 
<br>
Line 31: Line 34:
 
:::Waveform position (Y coordinate):
 
:::Waveform position (Y coordinate):
 
:::* -1 : waveform will be added to the bottom on the input clip.
 
:::* -1 : waveform will be added to the bottom on the input clip.
:::* 0 : waveform will be overlaid at the very top of the input clip.
+
:::* 0 : waveform will be superimposed at the very top of the input clip.
:::Higher values specify the distance (in pixels) from the top of the input clip where the waveform will be overlaid.
+
:::Higher values specify the distance (in pixels) from the top of the input clip where the waveform will be superimposed.  
  
 
<br>
 
<br>
 
::{{Par2|height|int|80}}
 
::{{Par2|height|int|80}}
:::The height of the drawing; width will always be the same as the input clip.
+
:::The height of the waveform; width will always be the same as the input clip.
 
<br>
 
<br>
 
::{{Par2|fill|bool|true}}
 
::{{Par2|fill|bool|true}}
 
:::Fill background; {{Template:FuncDef3|top}} must be greater than -1, otherwise this parameter is ignored.
 
:::Fill background; {{Template:FuncDef3|top}} must be greater than -1, otherwise this parameter is ignored.
:::* true : input clip background is discarded and waveform will be filled with black background.
+
:::* true : waveform will be filled with a black background.
:::* false : waveform is overlaid on top of the existing background of the input clip.
+
:::* false : waveform will be superimposed onto the input clip.
 
<!--:::* true : luma levels are filled between 32-255.
 
<!--:::* true : luma levels are filled between 32-255.
 
:::* false : luma levels are filled between 0-255 (PC range).-->
 
:::* false : luma levels are filled between 0-255 (PC range).-->
 
<br>
 
<br>
 
::{{Par2|channel|int|-1}}
 
::{{Par2|channel|int|-1}}
:::Whats channels to display:
+
:::What channel(s) to display:
 
:::* -1 : both channels
 
:::* -1 : both channels
:::* 0 : left channel
+
:::* 0 : left channel only
:::* 1 : right channel  
+
:::* 1 : right channel only
 
<br>
 
<br>
 +
 
===CacheAudio===
 
===CacheAudio===
  
Line 69: Line 73:
 
== Examples ==
 
== Examples ==
 
ViewAudio with default values:
 
ViewAudio with default values:
  [[AviSource]]("sample.wav") # make sure clip has audio and video
+
  [[AviSource]]("blah.avi") # make sure clip has audio and video
 
  ViewAudio(frames=2, top=-1, height=80, fill=true, channel=-1)
 
  ViewAudio(frames=2, top=-1, height=80, fill=true, channel=-1)
  
 
CacheAudio with default values:
 
CacheAudio with default values:
  [[AviSource]]("sample.wav") # make sure clip has audio and video
+
  [[AviSource]]("blah.avi") # make sure clip has audio and video
 
  CacheAudio(MaxFrame=1000, BlockFrame=100)
 
  CacheAudio(MaxFrame=1000, BlockFrame=100)
 
<br>
 
<br>
 +
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
Line 88: Line 93:
 
!!width="150px"| Download
 
!!width="150px"| Download
 
!!width="150px"| Mirror
 
!!width="150px"| Mirror
 +
|-
 +
!v0.3.01 (x64)
 +
|[https://web.archive.org/web/20200605033831if_/https://files.videohelp.com/u/223002/ViewAudio_x64.7z ViewAudio_x64.7z]
 +
|[http://www.mediafire.com/file/iyeo4xjlm87hjwq/ViewAudio_x64.7z/file ViewAudio_x64.7z] /// [http://www.mediafire.com/file/81kg55yaiqp1nxc/ViewAudio0301_x64src.7z/file ViewAudio0301_x64src.7z]
 
|-
 
|-
 
!v0.3.01
 
!v0.3.01
 
|[http://nullinfo.s21.xrea.com/cgi/counter/count.xcg?down=ViewAudio0301.zip ViewAudio0301.zip]
 
|[http://nullinfo.s21.xrea.com/cgi/counter/count.xcg?down=ViewAudio0301.zip ViewAudio0301.zip]
|[http://www.avisynth.nl/users/warpenterprises/files/viewaudio_5F25_dll_20031103.zip viewaudio_25_dll_20031103.zip]
+
|[https://web.archive.org/web/20160313233607if_/http://nullinfo.s21.xrea.com/data/ViewAudio0301.zip ViewAudio0301.zip] /// [http://www.avisynth.nl/users/warpenterprises/files/viewaudio_5F25_dll_20031103.zip viewaudio_25_dll_20031103.zip]
 
|}
 
|}
 +
*x64 version compiled by [https://web.archive.org/web/20130922222259/http://yo4kazu.110mb.com/ yo4kazu] - main download includes all files listed in mirror.
 
<br>
 
<br>
 
==External Links ==
 
==External Links ==

Latest revision as of 04:44, 5 June 2020

Abstract
Author minamina
Version v0.3.01
Download [x86]: ViewAudio0301.zip

[x64]: ViewAudio_x64.7z

Category Audio filters
License GPLv2
Discussion


Contents

[edit] Description

An audio plugin with 2 functions: ViewAudio and CacheAudio. Based on Richard Ling's original AudioGraph.

[edit] Requirements


[edit] Syntax and Parameters

[edit] ViewAudio

ViewAudio (clip, int "frames", int "top", int "height", bool "fill", int "channel")


clip   =
Input clip; must contain audio and video. Only 8-bit or 16-bit mono or stereo audio allowed. Use ConvertAudioTo16Bit() if needed.


int  frames = 2
Specifies the number of backward and forward frames. Maximum values is 10.


int  top = -1
Waveform position (Y coordinate):
  • -1 : waveform will be added to the bottom on the input clip.
  • 0 : waveform will be superimposed at the very top of the input clip.
Higher values specify the distance (in pixels) from the top of the input clip where the waveform will be superimposed.


int  height = 80
The height of the waveform; width will always be the same as the input clip.


bool  fill = true
Fill background; top must be greater than -1, otherwise this parameter is ignored.
  • true : waveform will be filled with a black background.
  • false : waveform will be superimposed onto the input clip.


int  channel = -1
What channel(s) to display:
  • -1 : both channels
  • 0 : left channel only
  • 1 : right channel only


[edit] CacheAudio

CacheAudio (clip, int "MaxFrame", int "BlockFrame")


clip   =
Input clip; must contain audio and video. Only 8-bit or 16-bit mono or stereo audio allowed. Use ConvertAudioTo16Bit() if needed.


int  MaxFrame = 1000
Specify the maximum number of cached frames.
-1 caches all frames; requires large amount of memory and initialization may be slow.


int  BlockFrame = 100
Specifies the number of frames to be read at once.
-1 will use the same value as MaxFrame; also requires large amount of memory and initialization may be slow.


[edit] Examples

ViewAudio with default values:

AviSource("blah.avi") # make sure clip has audio and video
ViewAudio(frames=2, top=-1, height=80, fill=true, channel=-1)

CacheAudio with default values:

AviSource("blah.avi") # make sure clip has audio and video
CacheAudio(MaxFrame=1000, BlockFrame=100)


[edit] Changelog

Version      Date            Changes
v0.3.01 2003/11/03 - add CacheAudio v0.2.02 2003/10/06 - fix maximum value for "frames", check was broken v0.2.01 2003/09/22 - initial release


[edit] Archived Downloads

Version Download Mirror
v0.3.01 (x64) ViewAudio_x64.7z ViewAudio_x64.7z /// ViewAudio0301_x64src.7z
v0.3.01 ViewAudio0301.zip ViewAudio0301.zip /// viewaudio_25_dll_20031103.zip
  • x64 version compiled by yo4kazu - main download includes all files listed in mirror.


[edit] External Links




Back to External Filters

Personal tools