From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTP id 69EB44878C
	for <ffmpegdev@gitmailbox.com>; Tue, 16 Apr 2024 17:48:45 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 46D9368CFD9;
	Tue, 16 Apr 2024 20:48:43 +0300 (EEST)
Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com
 [209.85.208.52])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7AC0D688189
 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Apr 2024 20:48:36 +0300 (EEST)
Received: by mail-ed1-f52.google.com with SMTP id
 4fb4d7f45d1cf-57042f84cabso1487852a12.2
 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Apr 2024 10:48:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713289715; x=1713894515; darn=ffmpeg.org;
 h=user-agent:in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject
 :date:message-id:reply-to;
 bh=H5fR5AOAdkW86P084RlDmnbn0oVVDaGvx3JVGDsvQso=;
 b=eh9w+OSfQSOCRJGkSZG6VQd7aLUMqVgsH8/1Xgd1NFA1W8KhtXYGC758U+8s1D1gib
 Gk0QKhkCilGrSYobpuzB8X8PeiMdh2xh3sGK/eWA+zABtPogazbQ/3Qgnw/1yY0OC8NU
 Fu6tU1hI7KMrj3sABQo1NkfqQXap/vi7sCkLGaCopWMvPYFUXYIiR2f6r4CqeyBY7C4/
 yRBbSrRNTjx6lRpEyD7pZ0VVP30Cj7HzLpNiBJuubYjduBeomXCDnau2vUmASxMreoWG
 ecNdAkOv/rP/tDO+sUQvyKJfg0l/mHqEMq4ahHe5CVIuLfJxu98Cmpcrg0hSh7OiEJCU
 T5og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713289715; x=1713894515;
 h=user-agent:in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=H5fR5AOAdkW86P084RlDmnbn0oVVDaGvx3JVGDsvQso=;
 b=oJwz5AE2yzcJGDw6eXpfVhb0F6jkKTjONmoXc/+WdySdOZc0uSzQWS1EVdUwuPnU32
 7KuOtnYnRhwzb4X0kslBsLPGRsA6oew4aM/Hj6UvaNXOlapMqP+q0dzZVbVyyH/xTj53
 cFq/K5wo6hFEiOa0WAC1CEJ9TVovtRifFyICChoI7JnnXw/aIwOaVGMvJ5WkZpPcKn/y
 E1auWrBAixczt2DqcmD8IeWmVGq2KjdvvQCLPcHaYzmkwPDUEU+H+nYzvvne8WSAL9+z
 PBqxUi1ykzF8L7DS+/gAHvIpcksatHO65AoNKDPZc6rBxSL1Qya1PmnX9pWO96ng6Ajb
 whdQ==
X-Gm-Message-State: AOJu0Ywf8peXoVlJBbdnDIKmjJIKw0NbG/22tf8NAz6LDnO/o4mmNv+l
 1CBV77xhMKnEPL/KClEJPp9j89x0KfDfTyR0gV4qdVrJyWTtleOEZdqh7w==
X-Google-Smtp-Source: AGHT+IEq2QnSFyFuhOau/dRJnEBMRejdwre9eQDEVIy1BoTOmAcuTj+n1uYzNu8xMmPAtsIqDLcnfA==
X-Received: by 2002:a17:907:6088:b0:a52:1e58:4e0f with SMTP id
 ht8-20020a170907608800b00a521e584e0fmr11403923ejc.55.1713289715167; 
 Tue, 16 Apr 2024 10:48:35 -0700 (PDT)
Received: from mariano (host-82-58-28-189.retail.telecomitalia.it.
 [82.58.28.189]) by smtp.gmail.com with ESMTPSA id
 rs6-20020a170907036600b00a4e6626ae21sm7084275ejb.0.2024.04.16.10.48.34
 for <ffmpeg-devel@ffmpeg.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 16 Apr 2024 10:48:34 -0700 (PDT)
Received: by mariano (Postfix, from userid 1000)
 id 9178DBFCE8; Tue, 16 Apr 2024 19:48:33 +0200 (CEST)
Date: Tue, 16 Apr 2024 19:48:33 +0200
From: Stefano Sabatini <stefasab@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <Zh658Tie4K5XhQVS@mariano>
Mail-Followup-To: FFmpeg development discussions and patches
 <ffmpeg-devel@ffmpeg.org>
References: <20240416082949.63344-1-stefasab@gmail.com>
 <20240416082949.63344-5-stefasab@gmail.com>
 <AS8P250MB07449445F47544DC806615E98F082@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <AS8P250MB07449445F47544DC806615E98F082@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM>
User-Agent: Mutt/2.1.4 (2021-12-11)
Subject: Re: [FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/Zh658Tie4K5XhQVS@mariano/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

On date Tuesday 2024-04-16 12:50:19 +0200, Andreas Rheinhardt wrote:
> Stefano Sabatini:
> > ---
> >  doc/muxers.texi | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/doc/muxers.texi b/doc/muxers.texi
> > index f94513527d..490d5557bf 100644
> > --- a/doc/muxers.texi
> > +++ b/doc/muxers.texi
> > @@ -2933,6 +2933,14 @@ MicroDVD subtitle format muxer.
> >  
> >  This muxer accepts a single @samp{microdvd} subtitles stream.
> >  
> > +@section mkvtimestamp_v2
> > +mkvtoolnix v2 timecode format muxer.
> > +
> > +Write the PTS rawvideo frame to the output, as supported by the
> > +@command{mkvextact} tool from the @command{mkvtoolnix} suite.
> > +
> > +This muxer accepts a single @samp{rawvideo} stream.
> > +
> >  @section mp3
> >  
> >  The MP3 muxer writes a raw MP3 stream with the following optional features:
> 

> This is wrong: MKVToolNix switched to "# timestamp format v2" a long
> time ago (we still write the old "# timecode format v2" header);
> furthermore, MKVToolNix actually uses pts (which it reorders to be
> ascending), not dts like our muxer. Furthermore MKVToolNix does not
> force a 1ms precision on timestamps.

Correct.

I compared the output of the muxer and of mkvtoolnix extract
timestamp_v2 and I'm not yet clear about the timestamp differences I'm
observing (the muxer output maps with the timestamps, the mkvtoolnix
timestamps differ by a few ms). But I think also mkvtoolnix use a 1ms
timebase.

Also, IIRC there is no generic way to reorder PTSs, so this might
account for another difference which might be difficult to implement
generically.
_______________________________________________
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".