From owner-freebsd-multimedia@freebsd.org Fri Apr 1 17:33:03 2016 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB46AAE637C for ; Fri, 1 Apr 2016 17:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D688D11C4 for ; Fri, 1 Apr 2016 17:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D5DE8AE6379; Fri, 1 Apr 2016 17:33:03 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5878AE6378 for ; Fri, 1 Apr 2016 17:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C654011C3 for ; Fri, 1 Apr 2016 17:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u31HX3bR012829 for ; Fri, 1 Apr 2016 17:33:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: maintainer-approval requested: [Bug 208457] multimedia/ffmpeg: add ZIMG option (-vf zscale) : [Attachment 168876] v0 Date: Fri, 01 Apr 2016 17:33:03 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2016 17:33:04 -0000 Jan Beich has asked multimedia@FreeBSD.org for maintainer-approval: Bug 208457: multimedia/ffmpeg: add ZIMG option (-vf zscale) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208457 Attachment 168876: v0 https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168876&action=3Dedit --- Description --- >From ffmpeg-filters(1) manpage: zscale Scale (resize) the input video, using the z.lib library: https://github.com/sekrit-twc/zimg. The zscale filter forces the output display aspect ratio to be the s= ame as the input, by changing the output sample aspect ratio. If the input image format is different from the format requested by = the next filter, the zscale filter will convert the input to the request= ed format. Basic testing: $ ffmpeg -i /path/to/foo.mp4 -vf zscale=3Dw=3D320:h=3D-1 bar.mp4 $ mpv -vf lavfi=3D'"zscale=3Dw=3D320:h=3D-1"' /path/to/foo.mp4