From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 8 20:00:33 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48CCE16A4CE for ; Mon, 8 Mar 2004 20:00:33 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 394E243D46 for ; Mon, 8 Mar 2004 20:00:33 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2940Xbv050908 for ; Mon, 8 Mar 2004 20:00:33 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2940XHK050907; Mon, 8 Mar 2004 20:00:33 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 8 Mar 2004 20:00:33 -0800 (PST) Resent-Message-Id: <200403090400.i2940XHK050907@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, michael johnson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF39C16A4CE for ; Mon, 8 Mar 2004 19:56:28 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E309D43D39 for ; Mon, 8 Mar 2004 19:56:28 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i293uS72053653 for ; Mon, 8 Mar 2004 19:56:28 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i293uS4q053652; Mon, 8 Mar 2004 19:56:28 -0800 (PST) (envelope-from nobody) Message-Id: <200403090356.i293uS4q053652@www.freebsd.org> Date: Mon, 8 Mar 2004 19:56:28 -0800 (PST) From: michael johnson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/63962: New Port: multimedia/y4mscaler -- scales, crops, and shifts Y'CbCr video X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 04:00:33 -0000 >Number: 63962 >Category: ports >Synopsis: New Port: multimedia/y4mscaler -- scales, crops, and shifts Y'CbCr video >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 08 20:00:32 PST 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: 5.2-CURRENT && 4.9-STABLE >Organization: >Environment: >Description: New Port multimedia/y4mscaler y4mscaler is 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. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # multimedia/y4mscaler/ # multimedia/y4mscaler/pkg-descr # multimedia/y4mscaler/distinfo # multimedia/y4mscaler/Makefile # echo c - multimedia/y4mscaler/ mkdir -p multimedia/y4mscaler/ > /dev/null 2>&1 echo x - multimedia/y4mscaler/pkg-descr sed 's/^X//' >multimedia/y4mscaler/pkg-descr << 'END-of-multimedia/y4mscaler/pkg-descr' XFrom y4msclaer(1): X Xy4mscaler is a general-purpose video scaler which operates on YUV4MPEG2 Xstreams, as produced and consumed by the MJPEGtools such as lav2yuv and Xmpeg2enc(1). X Xy4mscaler is meant to be used in a pipeline. Thus, input is from stdin, and Xoutput is to stdout. The essential function of y4mscaler is to scale a Xspecified "active" region of the input stream (the source) into a specified Xactive region of the output stream (the target). Pixels outside of the active Xregion of the source are ignored; pixels outside of the active region of Xthe target are filled with a background color. The source may additionally Xhave a matte applied to it; pixels outside the source matte are set to a Xseparately specified background color. X Xy4mscaler correctly handles chroma sampling, and thus it can also perform Xchroma subsampling conversions. The YUV4MPEG2 stream format currently only Xsupports 4:2:0 subsampling, although y4mscaler can process 4:1:1, 4:2:2, and X4:4:4 modes by abusing the YUV4MPEG2 format a bit. X XIncludes preset parameters for popular output streams: DVD, SVCD, VCD, DV, XCVD, and SVCD/VCD still images. X XWWW: http://www.mir.com/DMG/y4mscaler.html END-of-multimedia/y4mscaler/pkg-descr echo x - multimedia/y4mscaler/distinfo sed 's/^X//' >multimedia/y4mscaler/distinfo << 'END-of-multimedia/y4mscaler/distinfo' XMD5 (y4mscaler-0.6.1-src.tgz) = 4f5d1451065f940c80624269ee3cc872 XSIZE (y4mscaler-0.6.1-src.tgz) = 49966 END-of-multimedia/y4mscaler/distinfo echo x - multimedia/y4mscaler/Makefile sed 's/^X//' >multimedia/y4mscaler/Makefile << 'END-of-multimedia/y4mscaler/Makefile' X# New ports collection makefile for: y4mscaler X# Date created: Mon Mar 8 21:36:23 EST 2004 X# Whom: michael johnson X# X# $FreeBSD: ports/multimedia/mpeg/Makefile,v 1.5 2003/04/04 01:38:37 lioux Exp $ X# X XPORTNAME= y4mscaler XPORTVERSION= 0.6.1 XCATEGORIES= multimedia XMASTER_SITES= http://www.mir.com/DMG/Software/ XDISTNAME= ${PKGNAME}-src XEXTRACT_SUFX= .tgz X XMAINTAINER= ahze@ahze.net XCOMMENT= Y4mscaler scales, crops, and shifts Y'CbCr video X XLIB_DEPENDS= lavjpeg-1.6.1:${PORTSDIR}/multimedia/mjpegtools X XUSE_REINPLACE= yes XUSE_GMAKE= yes X XWRKSRC= ${WRKDIR}/${PKGNAME} X XDOC_FILES= COPYING ChangeLog INSTALL README TODO XMAN1= y4mscaler.1 XPLIST_FILES= bin/y4mscaler X X.include X X.ifndef(PORTDOCS) X.for plistfile in ${DOC_FILES} XPLIST_FILES+= share/doc/${PORTNAME}/${plistfile} X.endfor XPLIST_DIRS+= share/doc/${PORTNAME} X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ X ${WRKSRC}/Makefile X @${REINPLACE_CMD} -e 's|-march=i686 -mcpu=i686|${CFLAGS}|' \ X ${WRKSRC}/Makefile X @${REINPLACE_CMD} -e 's|COPT = -O2|#|' \ X ${WRKSRC}/Makefile X.if ${OSVERSION} < 500000 X @${REINPLACE_CMD} -e 's|#define HAVE_STDINT_H 1|#undef HAVE_STDINT_H 1|' \ X ${WRKSRC}/y4m-config.h X.endif X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/y4mscaler ${PREFIX}/bin/y4mscaler X @${INSTALL_MAN} ${WRKSRC}/y4mscaler.1 ${MANPREFIX}/man/man1/ X.ifndef(PORTDOCS) X @${MKDIR} ${DOCSDIR} X.for docfile in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} X.endfor X.endif X X.include END-of-multimedia/y4mscaler/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: