From owner-freebsd-questions@FreeBSD.ORG Wed Oct 31 07:06:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CCD8A84 for ; Wed, 31 Oct 2012 07:06:40 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:6]) by mx1.freebsd.org (Postfix) with ESMTP id 652128FC0C for ; Wed, 31 Oct 2012 07:06:38 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlsJAJ3MkFDLevdH/2dsb2JhbABEwCSCUwOCC4IfAQU4QRALIRMDDwkDAgECAUUGDQEHAQGIAbwdi3dwhUsDpjeDAg Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl6.internode.on.net with ESMTP; 31 Oct 2012 17:36:37 +1030 Message-ID: <5090CBF8.6080007@ShaneWare.Biz> Date: Wed, 31 Oct 2012 17:28:00 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Jakub Lach Subject: Re: I need a simple cli tool to rotate mp4 video. References: <1351633592949-5756670.post@n5.nabble.com> <20121030231635.4e111e07.freebsd@edvax.de> <1351636297277-5756683.post@n5.nabble.com> In-Reply-To: <1351636297277-5756683.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 07:06:40 -0000 On 31/10/2012 09:01, Jakub Lach wrote: > $ ffmpeg -i A.mp4 -vf "transpose=1" -r 30 -sameq -acodec copy B.mp4 > > Is _almost_ ideal, apart from x1.5 increase in size... playing with fps does > not > change it too. > try the -b option to specify the bitrate you want. while I haven't tried it -fs is meant to specify the target filesize. I am guessing that it would adjust quality to match that size.