summaryrefslogtreecommitdiff
path: root/multimedia/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-26 09:03:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-26 09:03:07 +0000
commit52c7725b318e9a50e75db7afcdfb157af86c9c2e (patch)
tree06e5cbd4fd8506960ec8ca472afa3b2bd1104a0c /multimedia/Makefile
parentmark FORBIDDEN: http://people.freebsd.org/~eik/portaudit/c551ae17-7f00-11d8-8... (diff)
Add y4mscaler, a general-purpose video scaler which operates on YUV4MPEG2
streams, as produced and consumed by the MJPEGtools such as lav2yuv and mpeg2enc(1). y4mscaler is meant to be used in a pipeline. Thus, input is from stdin, and output is to stdout. The essential function of y4mscaler is to scale a specified "active" region of the input stream (the source) into a specified active region of the output stream (the target). Pixels outside of the active region of the source are ignored; pixels outside of the active region of the target are filled with a background color. The source may additionally have a matte applied to it; pixels outside the source matte are set to a separately specified background color. y4mscaler correctly handles chroma sampling, and thus it can also perform chroma subsampling conversions. The YUV4MPEG2 stream format currently only supports 4:2:0 subsampling, although y4mscaler can process 4:1:1, 4:2:2, and 4:4:4 modes by abusing the YUV4MPEG2 format a bit. Includes preset parameters for popular output streams: DVD, SVCD, VCD, DV, CVD, and SVCD/VCD still images. PR: ports/63962 Submitted by: michael johnson <ahze@ahze.net>
Notes
Notes: svn path=/head/; revision=105310
Diffstat (limited to 'multimedia/Makefile')
-rw-r--r--multimedia/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 4b7e6d398f4f..17eda078f804 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -123,5 +123,6 @@
SUBDIR += xmps-win32-plugin
SUBDIR += xtheater
SUBDIR += xvid
+ SUBDIR += y4mscaler
.include <bsd.port.subdir.mk>