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 429B642A30 for ; Mon, 11 Apr 2022 20:57:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F01D768B2F6; Mon, 11 Apr 2022 23:57:33 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 309A568A77A for ; Mon, 11 Apr 2022 23:57:28 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 9469FE6E9D for ; Mon, 11 Apr 2022 22:57:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TfyKGCDSKEQ7 for ; Mon, 11 Apr 2022 22:57:25 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id F153BE50DD for ; Mon, 11 Apr 2022 22:57:24 +0200 (CEST) Date: Mon, 11 Apr 2022 22:57:24 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <164966369307.21047.10952429534330814685@lain.red.khirnov.net> Message-ID: <3886ac2-c9e4-b866-c94e-789977dfbc2@passwd.hu> References: <20220410181200.3181-1-cus@passwd.hu> <164966369307.21047.10952429534330814685@lain.red.khirnov.net> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: fix timecode with high frame rate content 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Mon, 11 Apr 2022, Anton Khirnov wrote: > Quoting Marton Balint (2022-04-10 20:11:59) >> 60 fps content have "Number of Frames" set to 30 in the tmcd atom, but the >> frame duration / timescale reflects the original video frame rate. >> >> Therefore we multiply the frame count with the quotient of the rounded timecode >> frame rate and the "Number of Frames" per second to get a frame count in the original >> (higher) frame rate. >> >> Note that the frames part in the timecode will be in high frame rate which will >> make the timecode different to e.g. MediaInfo which seems to show the 30 fps >> timecode even for 120 fps content. >> >> Regression since 428b4aacb1a91a267650de644519882a5f700388. >> >> Fixes ticket #9710. >> Fixes ticket #9492. > > Sounds like there should be a test for this. The smallest file I managed to find which is affected by this is mov/canon_6d/mvi_9114.mov, but that is still 12 MB, therefore probably not fit for addition to fate-samples. With our muxer, the issue is not reproducible, so remuxing is not an option. Regards, Marton _______________________________________________ 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".