Avs2YUV
From Avisynth wiki
(Difference between revisions)
m (→External Links) |
(update to 0.24bm3) |
||
Line 3: | Line 3: | ||
{{Filter3 | {{Filter3 | ||
| {{Author/akupenguin}} | | {{Author/akupenguin}} | ||
− | | 0. | + | | 0.24bm3 |
− | | [http:// | + | | [http://github.com/MasterNobody/avs2yuv/releases/download/v0.24bm3/avs2yuv-0.24bm3.zip avs2yuv-0.24bm3.zip] |
| Utilities | | Utilities | ||
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | | [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
Line 10: | Line 10: | ||
<br> | <br> | ||
== Description == | == Description == | ||
− | + | Avs2YUV is a command-line program, originally intended for use under Wine, to interface between AviSynth and Linux-based video tools. Nowadays is more commonly used to pipe high bit depth video to encoders like x264, x265, and FFmpeg. An advantage of using Avs2YUV is that one can pipe from a 32-bit AviSynth to 64-bit applications. | |
+ | <br> | ||
<br> | <br> | ||
− | |||
== Requirements == | == Requirements == | ||
− | + | * AviSynth 2.5.8 or [http://forum.doom9.org/showthread.php?t=168764 2.6.0 Alpha5] | |
− | + | * Supported color formats: [[YV12]], [[YV16]], [[YV24]] | |
− | + | : <span style="color:red">**</span> If you're using AviSynth 2.5.8, [[YV12]] will be the only colorspace supported. | |
<br> | <br> | ||
== Usage == | == Usage == | ||
Line 25: | Line 25: | ||
{{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|-raw}} output raw I420/I422/I444 instead of yuv4mpeg | ||
− | {{Template:FuncDef|-csp}} convert to I420/I422/I444 colorspace (default I420)<br> | + | {{Template:FuncDef|-csp}} convert to I420/I422/I444 or AUTO colorspace (default I420) |
+ | {{Template:FuncDef|-depth}} specify input bit depth (default 8) | ||
+ | {{Template:FuncDef|-fps}} overwrite input framerate | ||
+ | {{Template:FuncDef|-par}} specify pixel aspect ratio<br> | ||
The outfile may be "-", meaning stdout. | The outfile may be "-", meaning stdout. | ||
Output format is yuv4mpeg, as used by MPlayer, FFmpeg, Libav, x264, mjpegtools. | Output format is yuv4mpeg, as used by MPlayer, FFmpeg, Libav, x264, mjpegtools. | ||
Line 36: | Line 39: | ||
== Changelog == | == Changelog == | ||
Version Date Changes<br> | Version Date Changes<br> | ||
+ | v0.24bm3 09/04/2014 - BugMaster's mod 3 | ||
+ | - new options: | ||
+ | -depth specify input bit depth (default 8), >8 expects AviSynth [[Stack16|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<br> | ||
v0.24bm2 09/20/2011 - BugMaster's mod 2 | v0.24bm2 09/20/2011 - BugMaster's mod 2 | ||
− | - merge 2 changes by Oka Motofumi (aka Chikuzen): | + | - merge 2 [http://github.com/chikuzen/avs2yuv changes by Oka Motofumi] (aka Chikuzen): |
- added 128 KB file buffering for speed up | - added 128 KB file buffering for speed up | ||
- use ffmpeg for huffyuv encoding instead of mencoder | - use ffmpeg for huffyuv encoding instead of mencoder | ||
Line 62: | Line 71: | ||
<br> | <br> | ||
== External Links == | == External Links == | ||
− | *[http:// | + | *[http://github.com/MasterNobody/avs2yuv GitHub] - Avs2YUV v0.24bm3 source code repository. |
− | *[http://komisar.gin.by/tools/avs2yuv/ komisar.gin.by] - BugMaster's | + | *[http://komisar.gin.by/tools/avs2yuv/ komisar.gin.by] - BugMaster's mod 1 and 2 downloads. |
− | *[http://github.com/DJATOM/avs2yuv/releases GitHub] - | + | |
− | + | *[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). | ||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[Utilities]] ←''' | '''Back to [[Utilities]] ←''' |
Revision as of 16:26, 29 September 2014
Abstract | |
---|---|
Author | Loren Merritt |
Version | 0.24bm3 |
Download | avs2yuv-0.24bm3.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 more commonly used to pipe high bit depth video to encoders like x264, x265, and FFmpeg. An advantage of using Avs2YUV is that one can pipe from a 32-bit AviSynth to 64-bit applications.
Requirements
- AviSynth 2.5.8 or 2.6.0 Alpha5
- Supported color formats: YV12, YV16, YV24
- ** 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) -raw output raw I420/I422/I444 instead of yuv4mpeg -csp convert to 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.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.24bm3 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.26a DJATOM's mod (2014-8-26).
Back to Utilities ←