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 0E64243EA5 for ; Tue, 16 Aug 2022 19:22:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 17F8668B930; Tue, 16 Aug 2022 22:22:26 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A1F2C68B612 for ; Tue, 16 Aug 2022 22:22:19 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 06CC61BF203 for ; Tue, 16 Aug 2022 19:22:18 +0000 (UTC) Date: Tue, 16 Aug 2022 21:22:18 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220816192218.GZ2088045@pb2> References: <20220815231442.1976-1-jamrial@gmail.com> MIME-Version: 1.0 In-Reply-To: <20220815231442.1976-1-jamrial@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] avformat/mov: don't read duration from mvhd atom 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="===============6405705342357183330==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6405705342357183330== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bL2/s+BzS+0mqUOB" Content-Disposition: inline --bL2/s+BzS+0mqUOB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 15, 2022 at 08:14:42PM -0300, James Almer wrote: > This duration is equal to the longest duration in all track's tkhd atoms,= which > may be comprised of the sum of all edit lists in each track. Empty edit l= ists > in tracks represent start_time, and the actual media duration is stored i= n the > mdhd atom. > This change lets the generic demux code derive the longest track duration= taken > from mdhd atoms, so the correct duration and start_time combination will = be > reported. >=20 > Should fix ticket #9775. >=20 > Signed-off-by: James Almer > --- > libavformat/mov.c | 4 ---- > tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 2 +- > 2 files changed, 1 insertion(+), 5 deletions(-) No idea if its a bad or good change but this changes the output for: =2E/ffmpeg -f concat -i ~/tickets/3108/concatfile.txt -codec copy -bitexact= /tmp/3108.avi thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No human being will ever know the Truth, for even if they happen to say it by chance, they would not even known they had done so. -- Xenophanes --bL2/s+BzS+0mqUOB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iFwEABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYvvuZgAKCRBhHseHBAsP q+S3AJUZcOM13OQjUgkUeQA8ePga4HiPAJwPU1VMt3mOZcax4wqcEsTTWA2Dng== =iiM+ -----END PGP SIGNATURE----- --bL2/s+BzS+0mqUOB-- --===============6405705342357183330== 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". --===============6405705342357183330==--