From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 1A6254104E for ; Sat, 12 Feb 2022 19:56:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C062768B283; Sat, 12 Feb 2022 21:56:56 +0200 (EET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0C3E468AEAF for ; Sat, 12 Feb 2022 21:56:49 +0200 (EET) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id BC6DD240008 for ; Sat, 12 Feb 2022 19:56:48 +0000 (UTC) Date: Sat, 12 Feb 2022 20:56:47 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220212195647.GC2829255@pb2> References: <20220212115709.45936-1-sergio.acereda@gmail.com> MIME-Version: 1.0 In-Reply-To: <20220212115709.45936-1-sergio.acereda@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] avformat/img2dec: Option to play sequence backwards X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============6117735897077175399==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6117735897077175399== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="N2g1P5Dg5dZAiLS2" Content-Disposition: inline --N2g1P5Dg5dZAiLS2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 12, 2022 at 12:57:11PM +0100, Sergio Acereda wrote: > This patch should allow playing an image sequence in backwards direction,= without needing to apply a reverse filter. >=20 > ffmpeg -i sequence%05d.png forward.mkv > ffmpeg -reverse 1 -i sequence%05d.png backward.mkv >=20 > Signed-off-by: Sergio Acereda > --- > libavformat/img2.h | 1 + > libavformat/img2dec.c | 40 +++++++++++++++++++++++++++------------- > 2 files changed, 28 insertions(+), 13 deletions(-) seems to break/change -loop ffmpeg -f image2 -loop 1 -framerate 2 -i tickets/3329/arrow_%1d.png -frames= 1000 -vf fps=3Dfps=3D25 -omit_video_pes_length 0 file-3329.ts the output filesize changes by more than 10x thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Asymptotically faster algorithms should always be preferred if you have asymptotical amounts of data --N2g1P5Dg5dZAiLS2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYggQ9gAKCRBhHseHBAsP qyVdAJ9GliT1R2BmgXP1theT+ejJevmdzgCbBTIgoy3GKBY5nShwreihZSfOCDg= =TvGF -----END PGP SIGNATURE----- --N2g1P5Dg5dZAiLS2-- --===============6117735897077175399== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============6117735897077175399==--