delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/08/24/07:12:39

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 67OBCdgj1549591
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 67OBCdgj1549591
Authentication-Results: delorie.com;
dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=dN2lsZle
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 028544BA2E21
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1787569957;
bh=lvJ4ftsI6tBK2p6LCh0AnB/mr+8OSYkJ4dSop9F0o1k=;
h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=dN2lsZleIzYspKRR98Cow3WiS4CzOdOoG0dAtXXJmivRT9tO2KwADhUil1HJwHjoe
OdwcLTgSAWKfm50aXj14+Pg1CNE3dsInhEylqgtZEu+eMav67Nn4NtHGAaw708uVfR
4YyIs0WwegciefyX8S20x51S/uzLCbiOh5X/srRw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E90E34BA79A5
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E90E34BA79A5
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787569885; cv=none;
b=GJG9IdFN1tK0NBiFUdh61v+qZcwMqgjUEpN3YJ+QZbMZvlCCQfT44bRyF3Yl9kr4uz9erczEGsaSJA9pPwX2lD5GzF+PnrImPnVuZUwQp3vfl7rTukQts50ckuRcemTfCdcrlJauXVuRJcMfvYy0Op+gnfB9QQlVCitLecEKM28=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1787569885; c=relaxed/simple;
bh=Y+ycS/bxJNHTljgS9PfWUK658qQQg88afNoeMNEzkIQ=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=cq4StkRdqIks2v2ANbxLu5cQOBqfVvGCQRsZVVWLzsRWylr2z9QV3psJhKaUFx43xjQHiW608WVpsjb341PfqgXCtbAwfWKRDVo2HLEKrGJFwxuBA0HB5zbBFCTu17grz967vSIt13EqKYkoBEaf0VUBcpkF9WBDU2Ud7KacbVE=
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=B1qaW+wi
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E90E34BA79A5
Date: Mon, 24 Aug 2026 20:11:19 +0900
To: cygwin AT cygwin DOT com
Cc: destal takul <destaltakul AT outlook DOT com>
Subject: Re: "Invalid DTS" warnings only in Cygwin version of ffmpeg
Message-Id: <20260824201119.db3482c319996c0a20742181@nifty.ne.jp>
In-Reply-To: <PR3PR09MB4330104CBCE64DAB9C2013BDB00A2@PR3PR09MB4330.eurprd09.prod.outlook.com>
References: <PR3PR09MB4330104CBCE64DAB9C2013BDB00A2 AT PR3PR09MB4330 DOT eurprd09 DOT prod DOT outlook DOT com>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

I noticed that the same issue occurs also for HEVC.
I'll release ffmpeg 9.0.1-2 where the issue is fixed.

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.
> 
> To reproduce:
> 
> 
>   *
> wget https://file-examples.com/storage/fe38e3e4816a13971965303/2017/04/file_example_MP4_1920_18MG.mp4
>   *
> mkvmerge file_example_MP4_1920_18MG.mp4 -o file_example_MP4_1920_18MG.mkv
>   *
> ffmpeg -i file_example_MP4_1920_18MG.mkv -c copy out.mkv
> 
> On Cygwin:
> 
> ffmpeg version 8.1.1 Copyright (c) 2000-2026 the FFmpeg developers
>   built with gcc 13 (GCC)
>   configuration: --disable-sndio --disable-libjack --prefix=/usr --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --disable-openssl --enable-bzlib --enable-gcrypt --enable-gnutls --enable-ladspa --disable-cuda-sdk --enable-libaom --enable-libsvtav1 --enable-libdav1d --enable-libass --enable-libbs2b --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libvpl --enable-libmodplug --enable-libmp3lame --enable-libopenh264-dlopen --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libzmq --enable-openal --disable-opencl --enable-opengl --enable-mfdec --enable-libde265 --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-pthreads --en
 ab
>  le-muxers --enable-demuxers --enable-hwaccels --disable-encoders --disable-decoders --disable-decoder='h264,hevc,vc1' --enable-encoder=',a64multi,a64multi5,aac,aac_mf,libfdk_aac,ac3,ac3_mf,adpcm_adx,adpcm_argo,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apm,adpcm_ima_qt,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_swf,adpcm_yamaha,alac,alias_pix,amv,anull,apng,ass,asv1,asv2,av1_d3d12va,av1_amf,av1_nvenc,av1_qsv,av1_mf,av1_vulkan,,bitpacked,bmp,cinepak,cljr,dca,dfpwm,dnxhd,dnxhr,dpx,dvbsub,dvdsub,dvvideo,exr,ffv1,ffv1_vulkan,ffvhuff,flac,flashsv,flashsv2,flv,g723_1,gif,h261,h263,h263p,h264_d3d12va,h264_amf,h264_nvenc,h264_qsv,h264_mf,h264_vulkan,,hap,hdr,hevc_d3d12va,hevc_amf,hevc_nvenc,hevc_qsv,hevc_mf,hevc_vulkan,,huffyuv,ilbc,jpeg2000,jpegls,libaom,libaom_av1,,libgsm,libgsm_ms,,,libmp3lame,mp3_mf,,libopenh264,libopenjpeg,libopus,,libspeex,libsvtav1,libtheora,libtwolame,,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,,libxvid,mjpeg,mj
 pe
>  g_qsv,,mlp,movtext,mp2,mp2fixed,mpeg1video,mpeg2_qsv,,mpeg2video,mpeg4,msmpeg4v2,msmpeg4v3,msvideo1,nellymoser,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,phm,png,ppm,prores,prores_aw,prores_ks,prores_ks_vulkan,qoi,qtrle,r10k,r210,ra_144,rawvideo,roq,roq_dpcm,rpza,rv10,rv20,s302m,sbc,sgi,smc,snow,sonic,sonic_ls,speedhq,srt,ssa,subrip,sunrast,svq1,targa,text,tiff,truehd,tta,ttml,utvideo,v210,v308,v408,v410,vc1_qsv,vc2,vnull,vorbis,vp8_qsv,,vp9_qsv,,wavpack,wbmp,webvtt,wmav1,wmav2,wmv1,wmv2,wrapped_avframe,xbm,xface,xsub,xwd,y41p,yuv4,zlib,zmbv,' --enable-decoder=',aac,aasc,libfdk_aac,ac3,acelp_kelvin,adpcm_4xm,adpcm_adx,adpcm_afc,adpcm_agm,adpcm_aica,adpcm_argo,adpcm_ct,adpcm_dtk,adpcm_ea,adpcm_ea_maxis_xa,adpcm_ea_r1,adpcm_ea_
 r2
>  ,adpcm_ea_r3,adpcm_ea_xas,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_acorn,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apc,adpcm_ima_apm,adpcm_ima_cunning,adpcm_ima_dat4,adpcm_ima_dk3,adpcm_ima_dk4,adpcm_ima_ea_eacs,adpcm_ima_ea_sead,adpcm_ima_iss,adpcm_ima_moflex,adpcm_ima_mtf,adpcm_ima_oki,adpcm_ima_qt,,adpcm_ima_rad,adpcm_ima_smjpeg,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_mtaf,adpcm_psx,adpcm_sbpro_2,adpcm_sbpro_3,adpcm_sbpro_4,adpcm_swf,adpcm_thp,adpcm_thp_le,adpcm_vima,adpcm_xa,adpcm_xmd,adpcm_yamaha,adpcm_zork,aic,alac,alias_pix,amrnb,amrwb,amv,anm,ansi,anull,apac,ape,apng,apv,arbc,argo,ass,asv1,asv2,atrac1,atrac3,atrac3al,atrac3p,atrac3pal,aura,aura2,av1,av1_amf,av1_cuvid,av1_qsv,bethsoftvid,bfi,bink,binkaudio_dct,binkaudio_rdft,bintext,bitpacked,bmp,bmv_audio,bmv_video,bonk,brender_pix,c93,cbd2_dpcm,ccaption,cdgraphics,cdtoons,cdxl,cinepak,clearvideo,cljr,cook,cpia,cscd,cyuv,dca,dds,derf_dpcm,dfa,dfpwm,dirac,dnxhd,dnxhr,dolby_e,dpx,dsd_lsbf,dsd_msbf,dsicinaudio
 ,d
>  sicinvideo,dss_sp,dvaudio,dvbsub,dvdsub,dvvideo,dxa,dxtory,eacmv,eamad,eatgq,eatgv,eatqi,eightbps,eightsvx_exp,eightsvx_fib,escape124,escape130,evrc,exr,ffv1,ffvhuff,ffwavesynth,fits,flac,flashsv,flashsv2,flic,flv,fmvc,fourxm,ftr,g723_1,g729,gdv,gem,gif,gremlin_dpcm,gsm,gsm_ms,,h261,h263,h263i,h263p,h264_amf,h264_cuvid,h264_qsv,hevc_amf,hevc_cuvid,hevc_qsv,libde265,hap,hca,hcom,hdr,hnm4_video,hq_hqa,hqx,huffyuv,hymt,iac,idcin,idf,iff_ilbm,ilbc,imc,indeo2,indeo3,indeo4,indeo5,interplay_acm,interplay_dpcm,interplay_video,ipu,jacosub,jpeg2000,jpegls,jv,kgv1,kmvc,lagarith,,,libaom,libaom_av1,,libdav1d,libgsm,libgsm_ms,,,,,libopenh264,libopenjpeg,libopus,librsvg,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,,,loco,lscr,m101,mace3,mace6,mdec,media100,metasound,microdvd,mimic,misc4,mjpeg,mjpeg_cuvid,mjpeg_qsv,mjpegb,mlp,mmvideo,motionpixels,movtext,mp1,mp1float,mp2,mp2float,mp3,mp3adu,mp3adufloat,mp3float,mp3on4,mp3on4float,mpc7,mpc8,mpeg1_cuvid,mpeg1video,mpeg2_cuvid,mpeg2_qs
 v,
>  mpeg2video,mpeg4,mpeg4_cuvid,mpegvideo,mpl2,msa1,mscc,msmpeg4v1,msmpeg4v2,msmpeg4v3,msnsiren,msp2,msrle,mss1,,msvideo1,mszh,mts2,mv30,mvc1,mvc2,mvdv,mvha,mwsc,mxpeg,nellymoser,nuv,on2avc,opus,paf_audio,paf_video,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_lxf,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24daud,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_sga,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcm_vidc,pcx,pfm,pgm,pgmyuv,pgssub,pgx,phm,photocd,pictor,pjs,png,ppm,prores,prores_raw,prosumer,psd,ptx,qcelp,qdm2,qdmc,qdraw,qoa,qoi,qpeg,qtrle,r10k,r210,ra_144,ra_288,rasc,rawvideo,realtext,rka,rl2,roq,roq_dpcm,rpza,rscc,rv10,rv20,s302m,sami,sanm,sbc,screenpresso,sdx2_dpcm,sgi,sgirle,shorten,simbiosis_imx,sipr,siren,smackaud,smacker,smc,smvjpeg,snow,sol_dpcm,sonic,sp5x,speedhq,speex,srgc,srt,ssa,stl,subrip,
 su
>  bviewer,subviewer1,sunrast,svq1,svq3,tak,targa,targa_y216,tdsc,text,theora,thp,tiertexseqvideo,tiff,tmv,truehd,truemotion1,truemotion2,truemotion2rt,truespeech,tscc,tscc2,tta,twinvq,txd,ulti,utvideo,v210,v210x,v308,v408,v410,vb,vble,vc1_cuvid,vc1_qsv,vcr1,vmdaudio,vmdvideo,vmnc,vnull,vorbis,vp3,vp4,vp5,vp6,vp6a,vp6f,vp7,vp8,vp8_cuvid,vp8_qsv,vp9,vp9_amf,vp9_cuvid,vp9_qsv,vplayer,vqa,vqc,wady_dpcm,wavarc,wavpack,wbmp,wcmv,webp,webvtt,wmav1,wmav2,wmavoice,wmv1,wmv2,wnv1,wrapped_avframe,ws_snd1,xan_dpcm,xan_wc3,xan_wc4,xbin,xbm,xface,xl,xpm,xsub,xwd,y41p,ylc,yop,yuv4,zero12v,zerocodec,zlib,zmbv,,,aac_mf,eac3_mf,av1_mf,h264_mf,hevc_mf,mjpeg_mf,mp1_mf,mp2_mf,mp3_mf,mpeg2_mf,mpeg4_mf,msmpeg4v1_mf,msmpeg4v2_mf,msmpeg4v3_mf,vc1_mf,mwalossless_mf,wmapro_mf,wmav1_mf,wmav2_mf,wmavvoice_mf,wmv1_mf,wmv2_mf,wmv3_mf,'
>   libavutil      60. 26.101 / 60. 26.101
>   libavcodec     62. 28.101 / 62. 28.101
>   libavformat    62. 12.101 / 62. 12.101
>   libavdevice    62.  3.101 / 62.  3.101
>   libavfilter    11. 14.101 / 11. 14.101
>   libswscale      9.  5.101 /  9.  5.101
>   libswresample   6.  3.101 /  6.  3.101
> [libopenh264 @ 0xa0005bdc0] No such file or directory: libopenh264.dll is missing, openh264 support will be disabled
> To enable it, please install libopenh264 package, which is licensed under http://www.openh264.org/BINARY_LICENSE.txt.
> [in#0/matroska,webm @ 0xa00055200] Failed to open codec in avformat_find_stream_info
> [libopenh264 @ 0xa0005bdc0] No such file or directory: libopenh264.dll is missing, openh264 support will be disabled
> To enable it, please install libopenh264 package, which is licensed under http://www.openh264.org/BINARY_LICENSE.txt.
> Input #0, matroska,webm, from 'file_example_MP4_1920_18MG.mkv':
>   Metadata:
>     encoder         : libebml v1.4.5 + libmatroska v1.7.1
>     creation_time   : 2026-05-25T00:02:37.000000Z
>   Duration: 00:00:30.03, start: 0.000000, bitrate: 4746 kb/s
>   Stream #0:0: Video: h264 (High), none(bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn (default)
>     Metadata:
>       BPS             : 4486763
>       DURATION        : 00:00:30.033000000
>       NUMBER_OF_FRAMES: 901
>       NUMBER_OF_BYTES : 16843872
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
>     Metadata:
>       BPS             : 256000
>       DURATION        : 00:00:30.016000000
>       NUMBER_OF_FRAMES: 1407
>       NUMBER_OF_BYTES : 960512
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> File 'out.mkv' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #0:1 -> #0:1 (copy)
> Output #0, matroska, to 'out.mkv':
>   Metadata:
>     encoder         : Lavf62.12.101
>   Stream #0:0: Video: h264 (High) (H264 / 0x34363248), none(bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 1k tbn (default)
>     Metadata:
>       BPS             : 4486763
>       DURATION        : 00:00:30.033000000
>       NUMBER_OF_FRAMES: 901
>       NUMBER_OF_BYTES : 16843872
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp (default)
>     Metadata:
>       BPS             : 256000
>       DURATION        : 00:00:30.016000000
>       NUMBER_OF_FRAMES: 1407
>       NUMBER_OF_BYTES : 960512
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> Press [q] to stop, [?] for help
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 66 PTS: 33, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 198 PTS: 167, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 330 PTS: 300, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 462 PTS: 433, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 594 PTS: 567, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 726 PTS: 700, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 858 PTS: 833, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 990 PTS: 967, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 1122 PTS: 1100, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 1254 PTS: 1233, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 1452 PTS: 1433, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Invalid DTS: 1584 PTS: 1567, replacing by guess
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 1733, current: 1700; changing to 1733. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 1867, current: 1833; changing to 1867. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2000, current: 1967; changing to 2000. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2133, current: 2100; changing to 2133. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2267, current: 2233; changing to 2267. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2400, current: 2367; changing to 2400. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2533, current: 2500; changing to 2533. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2667, current: 2633; changing to 2667. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2800, current: 2767; changing to 2800. This may result in incorrect timestamps in the output file.
> [vost#0:0/copy @ 0xa00061e80] Non-monotonic DTS; previous: 2933, current: 2900; changing to 2933. This may result in incorrect timestamps in the output file.
> .
> .
> *(redacted for brevity)*
> .
> .
> [out#0/matroska @ 0xa0005c780] video:16449KiB audio:938KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.101318%
> frame=  901 fps=0.0 q=-1.0 Lsize=   17405KiB time=00:00:30.00 bitrate=4752.6kbits/s speed=1.17e+03x elapsed=0:00:00.02
> 
> On Windows native build:
> 
> ffmpeg version 8.1.1-essentials_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers
>   built with gcc 15.2.0 (Rev13, Built by MSYS2 project)
>   configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-cairo --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-openal --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspe
 ex
>   --enable-libvorbis --enable-librubberband
>   libavutil      60. 26.101 / 60. 26.101
>   libavcodec     62. 28.101 / 62. 28.101
>   libavformat    62. 12.101 / 62. 12.101
>   libavdevice    62.  3.101 / 62.  3.101
>   libavfilter    11. 14.101 / 11. 14.101
>   libswscale      9.  5.101 /  9.  5.101
>   libswresample   6.  3.101 /  6.  3.101
> Input #0, matroska,webm, from 'file_example_MP4_1920_18MG.mkv':
>   Metadata:
>     encoder         : libebml v1.4.5 + libmatroska v1.7.1
>     creation_time   : 2026-05-25T00:02:37.000000Z
>   Duration: 00:00:30.03, start: 0.000000, bitrate: 4746 kb/s
>   Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn (default)
>     Metadata:
>       BPS             : 4486763
>       DURATION        : 00:00:30.033000000
>       NUMBER_OF_FRAMES: 901
>       NUMBER_OF_BYTES : 16843872
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
>     Metadata:
>       BPS             : 256000
>       DURATION        : 00:00:30.016000000
>       NUMBER_OF_FRAMES: 1407
>       NUMBER_OF_BYTES : 960512
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> File 'out.mkv' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #0:1 -> #0:1 (copy)
> Output #0, matroska, to 'out.mkv':
>   Metadata:
>     encoder         : Lavf62.12.101
>   Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 1k tbn (default)
>     Metadata:
>       BPS             : 4486763
>       DURATION        : 00:00:30.033000000
>       NUMBER_OF_FRAMES: 901
>       NUMBER_OF_BYTES : 16843872
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp (default)
>     Metadata:
>       BPS             : 256000
>       DURATION        : 00:00:30.016000000
>       NUMBER_OF_FRAMES: 1407
>       NUMBER_OF_BYTES : 960512
>       _STATISTICS_WRITING_APP: mkvmerge v98.0 ('Chonks') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:02:37
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> Press [q] to stop, [?] for help
> [out#0/matroska @ 000001765f1fe440] video:16449KiB audio:938KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.101385%
> frame=  901 fps=0.0 q=-1.0 Lsize=   17405KiB time=00:00:29.96 bitrate=4758.0kbits/s speed=2.08e+03x elapsed=0:00:00.01
> 
> On Linux:
> 
> ffmpeg version 8.1.1 Copyright (c) 2000-2026 the FFmpeg developers
>   built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
>   configuration: --disable-decoder=amrnb --disable-gnutls --disable-liblensfun --disable-libopencv --disable-podpages --disable-sndio --disable-stripping --enable-avfilter --enable-chromaprint --enable-frei0r --enable-gcrypt --enable-gpl --enable-ladspa --enable-libaom --enable-libaribb24 --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librabbitmq --enable-librist --enable-librsvg --enable-librubberband --enable-libshine --enable-libsm
 bc
>  lient --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-nonfree --enable-openal --enable-opencl --enable-opengl --enable-openssl --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-vaapi --enable-libvpl --enable-libxavs2 --enable-libdavs2 --enable-libvmaf --enable-librav1e --enable-libvvenc --enable-libilbc --enable-libklvanc --enable-libfdk-aac --enable-libkvazaar --enable-omx --cc=x86_64-linux-gnu-gcc --cxx=x86_64-linux-gnu-g++ --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
>   libavutil      60. 26.101 / 60. 26.101
>   libavcodec     62. 28.101 / 62. 28.101
>   libavformat    62. 12.101 / 62. 12.101
>   libavdevice    62.  3.101 / 62.  3.101
>   libavfilter    11. 14.101 / 11. 14.101
>   libswscale      9.  5.101 /  9.  5.101
>   libswresample   6.  3.101 /  6.  3.101
> Input #0, matroska,webm, from 'file_example_MP4_1920_18MG.mkv':
>   Metadata:
>     encoder         : libebml v1.4.5 + libmatroska v1.7.1
>     creation_time   : 2026-05-25T00:41:46.000000Z
>   Duration: 00:00:30.53, start: 0.000000, bitrate: 4674 kb/s
>   Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn (default)
>     Metadata:
>       BPS             : 4486763
>       DURATION        : 00:00:30.033000000
>       NUMBER_OF_FRAMES: 901
>       NUMBER_OF_BYTES : 16843872
>       _STATISTICS_WRITING_APP: mkvmerge v82.0 ('I'm The President') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:41:46
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
>     Metadata:
>       BPS             : 256000
>       DURATION        : 00:00:30.528000000
>       NUMBER_OF_FRAMES: 1431
>       NUMBER_OF_BYTES : 976896
>       _STATISTICS_WRITING_APP: mkvmerge v82.0 ('I'm The President') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:41:46
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> File 'out.mkv' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #0:1 -> #0:1 (copy)
> Output #0, matroska, to 'out.mkv':
>   Metadata:
>     encoder         : Lavf62.12.101
>   Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 1k tbn (default)
>     Metadata:
>       BPS             : 4486763
>       DURATION        : 00:00:30.033000000
>       NUMBER_OF_FRAMES: 901
>       NUMBER_OF_BYTES : 16843872
>       _STATISTICS_WRITING_APP: mkvmerge v82.0 ('I'm The President') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:41:46
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
>   Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp (default)
>     Metadata:
>       BPS             : 256000
>       DURATION        : 00:00:30.528000000
>       NUMBER_OF_FRAMES: 1431
>       NUMBER_OF_BYTES : 976896
>       _STATISTICS_WRITING_APP: mkvmerge v82.0 ('I'm The President') 64-bit
>       _STATISTICS_WRITING_DATE_UTC: 2026-05-25 00:41:46
>       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
> Press [q] to stop, [?] for help
> [out#0/matroska @ 0x5d93cc7a2580] video:16449KiB audio:954KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.102358%
> frame=  901 fps=0.0 q=-1.0 Lsize=   17421KiB time=00:00:29.96 bitrate=4762.5kbits/s speed= 354x elapsed=0:00:00.08

Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026