DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 64QBeExo4191449 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 64QBeExo4191449 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=fnV+B2gN X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E044D4BABF2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1779795613; bh=a2cyQwfTR5XPLxyvDjePg5m587KrNTPhO0vaPGf7orU=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=fnV+B2gNecIARd7Qr5iY6X3zonGj/VGGdOBq+T0Sd18GcRGCDPneoWuuz/jx4CJx2 6NtE1dYaJjc9si/N09j5XufbwEiHSGG71i35sP7q/vBRjq2ghtQi2adpOHWNraVdJ3 LVV4+yOkiKFj/J5E97kfcQKIAWrgJGlIynQd8Ppg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9EE7D4BA543C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9EE7D4BA543C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779795562; cv=none; b=qlyFaLd7RQfR5lEuzT7ZoHvHO6nQ+UlX0lbBU1Hdbv6NxTqBMjxS9YzwKjfpDE9L6jvA3/2vXFwk3kxqQZB8gjX7+JtiqrU3hK+bYyJcpdLFFUIN8rtjgVpBm7INQvqXklgWvm2eSkAu6MkU5Jf1U4ET/iEom4XL810zChqJjmU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779795562; c=relaxed/simple; bh=McY7/lxu+AjGfA5WRKtSGsnlazUuXoZ4/qbBvMl7djE=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=TcXbg4EXnowz9jMAd5bl10k7YdDgOXxMN+ZTciennFoZkD4SX8FddpNMhJhDyrCAMVbL6pxTT6uXsys19V9GOdXBfS3mIv4Xu2IWeZkUP1iyLjjImLby3SPd2LqqpbgaPHTqooxI9ZCPnB2/7avhWagJP5WSn2McxFvcUcjt+YU= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=nifty.ne.jp header.i=@nifty.ne.jp header.a=rsa-sha256 header.s=default-1th84yt82rvi header.b=n9EqBEK9 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9EE7D4BA543C Date: Tue, 26 May 2026 20:39:16 +0900 To: cygwin AT cygwin DOT com Subject: Re: "Invalid DTS" warnings only in Cygwin version of ffmpeg Message-Id: <20260526203916.bbc648e5e532860c46b1de60@nifty.ne.jp> In-Reply-To: <20260526085746.058815f71d6e847f59cc1b58@nifty.ne.jp> References: <20260526085746 DOT 058815f71d6e847f59cc1b58 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Tue, 26 May 2026 08:57:46 +0900 Takashi Yano wrote: > On Mon, 25 May 2026 00:47:21 +0000 > destal takul wrote: > > Nearly every file muxed using MKVToolnix, when remuxed using the Cygwin version of ffmpeg with '-c copy', will result in "Invalid DTS: XX PTS: XX, replacing by guess" and "Non-monotonic DTS; previous: XX, current: XX; changing to XX. This may result in incorrect timestamps in the output file." warnings, while the Linux and native Windows builds (by gyan.dev) of the exact same ffmpeg version do not generate such warnings when remuxing the exact same input file. This seems to be stemming from some math library difference that results in incorrect parsing of timestamps in the Cygwin version. > > Thanks for the report. I was able to reproduce the issue. > Let me take a closer look. I have found the cause. The cygwin ffmpeg package is based on the Fedora ffmpeg-free package, and the issue also occurs in Fedora's ffmeg-free package. In other words, the issue originates from Fedora. I have added a workaround for this problem. Please wait for 8.1.1-3, in which the issue will be fixed. -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple