Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Nicolas George <george@nsup.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] libavformat/concatdev.c: Add unified_time_base opt
Date: Tue, 1 Mar 2022 13:18:42 +0100
Message-ID: <Yh4PIgmRQRlV3wbL@phare.normalesup.org> (raw)
In-Reply-To: <9B7328D6-3555-4D18-B8F1-78EB362B8358@hotmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1180 bytes --]

Ye Chuan (12022-03-01):
> In some case, the input files have different time base even though
> they share the same codec and codec parameters,
> While processing the packet, it will adjust the pts/dts by its own
> time base instead of the unified one of the output stream, which may
> lead to wrong pts/dts or unexpected speed change.
> 
> So this patch add the "unified_time_base" opt, which could be setted by
> "-unified_time_base 1"
> With the option, it will concatenate the input streams whose time base
> are different , and won't course speed change issue.
> 
> Signed-off-by: Chuan Ye <yechuan0102@hotmail.com>
> ---
> libavformat/concatdec.c | 31 ++++++++++++++++++++++++-------
> 1 file changed, 24 insertions(+), 7 deletions(-)

Thanks for the patch. I need to examine exactly what it does.

In the meantime, I do not know why you keep posting new versions of this
patch every few minutes. Please take your time. And before next time:


>     int segment_time_metadata;
> +    int unified_time_base;

Mangled indentation.

Missing documentation.

Spelling mistake in the title of the commit message.

Regards,

-- 
  Nicolas George

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

  reply	other threads:[~2022-03-01 12:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 12:14 Ye Chuan
2022-03-01 12:18 ` Nicolas George [this message]
2022-03-01 12:33   ` Ye Chuan
  -- strict thread matches above, loose matches on Subject: below --
2022-03-01 12:26 Ye Chuan
2022-03-01 12:18 Ye Chuan
2022-03-01 11:45 [FFmpeg-devel] [PATCH] libavformat/concatdev.c: add " Ye Chuan
2022-03-01 11:26 Ye Chuan
2022-03-01 11:17 Ye Chuan
2022-03-01 10:04 Ye Chuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yh4PIgmRQRlV3wbL@phare.normalesup.org \
    --to=george@nsup.org \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git