Avs2YUV

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Description: link)
(update to BugMaster's mod 6)
Line 3: Line 3:
 
{{Filter3
 
{{Filter3
 
| {{Author/akupenguin}}, BugMaster
 
| {{Author/akupenguin}}, BugMaster
| 0.24bm3
+
| 0.24bm6
| [http://github.com/MasterNobody/avs2yuv/releases/download/v0.24bm3/avs2yuv-0.24bm3.zip avs2yuv-0.24bm3.zip]
+
| [https://github.com/MasterNobody/avs2yuv/releases avs2yuv-0.24bm6.zip]
 
| Utilities
 
| Utilities
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
Line 15: Line 15:
  
 
== Requirements ==
 
== Requirements ==
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater
+
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater | [[AviSynth+]]
* Supported color formats: [[YV12]], [[YV16]], [[YV24]]
+
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
: <span style="color:red">**</span> If you're using AviSynth 2.5.8, [[YV12]] will be the only colorspace supported.
 
: <span style="color:red">**</span> If you're using AviSynth 2.5.8, [[YV12]] will be the only colorspace supported.
 
<br>
 
<br>
Line 26: Line 26:
 
  {{Template:FuncDef|-frames}} stop after processing this many frames
 
  {{Template:FuncDef|-frames}} stop after processing this many frames
 
  {{Template:FuncDef|-slave}}  read a list of frame numbers from stdin (one per line)
 
  {{Template:FuncDef|-slave}}  read a list of frame numbers from stdin (one per line)
  {{Template:FuncDef|-raw}}    output raw I420/I422/I444 instead of yuv4mpeg
+
{{Template:FuncDef|-no-mt}}  disable detection of AviSynth MT which adds Distributor()
  {{Template:FuncDef|-csp}}    convert to I420/I422/I444 or AUTO colorspace (default I420)
+
  {{Template:FuncDef|-raw}}    output raw I400/I420/I422/I444 instead of yuv4mpeg
 +
  {{Template:FuncDef|-csp}}    convert to I400/I420/I422/I444 or AUTO colorspace (default I420)
 
  {{Template:FuncDef|-depth}}  specify input bit depth (default 8)
 
  {{Template:FuncDef|-depth}}  specify input bit depth (default 8)
 
  {{Template:FuncDef|-fps}}    overwrite input framerate
 
  {{Template:FuncDef|-fps}}    overwrite input framerate
Line 41: Line 42:
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
 +
v0.24bm6    06/30/2019      - BugMaster's mod 6
 +
                              - 4:0:0 (monochrome) output support<br>
 +
v0.24bm5    08/18/2016      - BugMaster's mod 5
 +
                              - minor fixes<br>
 +
v0.24bm4    08/18/2016      - BugMaster's mod 4
 +
                              - new option: -no-mt  disable detection of AviSynth MT which adds Distributor()
 +
                              - support for [[Avisynthplus_color_formats|AviSynth+ high bit-depth pixel formats]]<br>
 
  v0.24bm3    09/04/2014      - BugMaster's mod 3
 
  v0.24bm3    09/04/2014      - BugMaster's mod 3
 
                               - new options:
 
                               - new options:
Line 73: Line 81:
 
<br>
 
<br>
 
== External Links ==
 
== External Links ==
*[http://github.com/MasterNobody/avs2yuv GitHub] - Avs2YUV v0.24bm3 source code repository.
+
*[http://github.com/MasterNobody/avs2yuv GitHub] - Avs2YUV v0.24bm6 source code repository.
 
*[http://komisar.gin.by/tools/avs2yuv/ komisar.gin.by] - BugMaster's mod 1 and 2 downloads.
 
*[http://komisar.gin.by/tools/avs2yuv/ komisar.gin.by] - BugMaster's mod 1 and 2 downloads.
  
 
*[http://akuvian.org/src/avisynth/avs2yuv/ akuvian.org] - Avs2YUV original homapage (includes old versions).
 
*[http://akuvian.org/src/avisynth/avs2yuv/ akuvian.org] - Avs2YUV original homapage (includes old versions).
*[http://github.com/DJATOM/avs2yuv/releases GitHub] - Avs2YUV with some additional changes (0.26a DJATOM's mod (2014-8-26).  
+
*[http://github.com/DJATOM/avs2yuv/releases GitHub] - Avs2YUV with some additional changes (0.28 DJATOM's mod (2016-08-15).  
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[Utilities]] &larr;'''
 
'''Back to [[Utilities]] &larr;'''

Revision as of 01:39, 20 August 2019

Abstract
Author Loren Merritt, BugMaster
Version 0.24bm6
Download avs2yuv-0.24bm6.zip
Category Utilities
License GPLv2
Discussion


Contents

Description

Avs2YUV is a command-line program, originally intended for use under Wine, to interface between AviSynth and Linux-based video tools. Nowadays is commonly used to pipe video (including high bit depth) to encoders like x264, x265, and FFmpeg/Libav. An advantage of using Avs2YUV is that one can pipe from a 32-bit AviSynth to 64-bit applications.

Requirements

** If you're using AviSynth 2.5.8, YV12 will be the only colorspace supported.


Usage

Usage: avs2yuv [options] in.avs [-o out.y4m] [-o out2.y4m] [-hfyu out.avi]
-v print the frame number after processing each frame -seek seek to the given frame number -frames stop after processing this many frames -slave read a list of frame numbers from stdin (one per line) -no-mt disable detection of AviSynth MT which adds Distributor() -raw output raw I400/I420/I422/I444 instead of yuv4mpeg -csp convert to I400/I420/I422/I444 or AUTO colorspace (default I420) -depth specify input bit depth (default 8) -fps overwrite input framerate -par specify pixel aspect ratio
The outfile may be "-", meaning stdout. Output format is yuv4mpeg, as used by MPlayer, FFmpeg, Libav, x264, mjpegtools. Huffyuv output requires ffmpeg, and probably doesn't work in Wine.


Examples

TO DO

Changelog

Version      Date            Changes
v0.24bm6 06/30/2019 - BugMaster's mod 6 - 4:0:0 (monochrome) output support
v0.24bm5 08/18/2016 - BugMaster's mod 5 - minor fixes
v0.24bm4 08/18/2016 - BugMaster's mod 4 - new option: -no-mt disable detection of AviSynth MT which adds Distributor() - support for AviSynth+ high bit-depth pixel formats
v0.24bm3 09/04/2014 - BugMaster's mod 3 - new options: -depth specify input bit depth (default 8), >8 expects AviSynth 16-bit hack input video -fps overwrite input framerate -par specify pixel aspect ratio - new supported value AUTO for -csp option which will try to detect input colorspace or convert to I420
v0.24bm2 09/20/2011 - BugMaster's mod 2 - merge 2 changes by Oka Motofumi (aka Chikuzen): - added 128 KB file buffering for speed up - use ffmpeg for huffyuv encoding instead of mencoder - added support for interlaced avs sources (it must be field-based instead of frame-based) - new option: -csp i420/i422/i444 for support of I422/I444 colorspaces output (AviSynth 2.6+ is required)
v0.24bm1 07/07/2011 - BugMaster's mod - replaced AviSynth C++ interface with C interface - compiles with GCC instead of MSVS - added call of 'Distributor' for multi-threaded scripts - calls avs_delete_script_environment at the end of work
v0.24 03/04/2005 - new option: -raw outputs raw I420 (omits yuv4mpeg headers)
v0.23 01/26/2005 - new option: -slave takes a list of frames to decode
v0.22 11/25/2004 - fixed a bug when -frames comes before -seek on the command line
v0.21 11/22/2004 - write to multiple output streams
- huffyuv preset (doesn't work under wine)
v0.20 11/22/2004 - prints avisynth error messages instead of crashing - no longer requires avisynth_c.dll
v0.13 11/10/2004 - binmode stdout again
v0.12 11/09/2004 - reduced memory footprint - no longer requires that avisynth be installed; merely having the dlls is enough - fixed a possible crash on exit
v0.11 10/31/2004 - binmode stdout (may or may not fix some piping problems)
v0.1 10/14/2004 - initial release


External Links

  • GitHub - Avs2YUV v0.24bm6 source code repository.
  • komisar.gin.by - BugMaster's mod 1 and 2 downloads.
  • akuvian.org - Avs2YUV original homapage (includes old versions).
  • GitHub - Avs2YUV with some additional changes (0.28 DJATOM's mod (2016-08-15).




Back to Utilities

Personal tools