Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-12-23 Thread manuelyuan
thank you,I learned At 2019-12-16 06:17:33, "Martin Storsjö" wrote: >On Tue, 10 Dec 2019, manuelyuan wrote: > >> I opened a ticket in https://trac.ffmpeg.org/ticket/8420 >> my patch may be not absolutely right, but this problem should get your >> attention

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-12-09 Thread manuelyuan
I opened a ticket in https://trac.ffmpeg.org/ticket/8420 my patch may be not absolutely right, but this problem should get your attention, thank you At 2019-12-03 20:57:44, "Martin Storsjö" wrote: >On Thu, 28 Nov 2019, manuelyuan wrote: > >> There are many UGC videos wi

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-28 Thread manuelyuan
Of course I did,and I can give you the bad case videos for your analysis if you need. How can I give them to you? At 2019-11-28 14:38:34, "Carl Eugen Hoyos" wrote: > > >> Am 28.11.2019 um 03:34 schrieb manuelyuan : >> >> In this case, the input video is of dy

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-27 Thread manuelyuan
In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps. After transcoding wit

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-13 Thread manuelyuan
ensure make fate works, please take a look At 2019-11-08 12:12:58, "manuelyuan" wrote: >From: Mengyang Yuan > >In this case, the input video is of dynamic frame rate and we don't want to >duplicate or drop frames, but the output video duration calculated by DTS is

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
I have try to make fate again and it still works, I do not know why it breaks fate-binsub-movtextenc on your side My steps are: 1、./configure 2、make fate If I'm wrong, what should I do? At 2019-11-08 02:21:16, "Michael Niedermayer" wrote: >On Thu, Nov 07, 2019 at 05:55:18PM

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
Thanks for your reply! My changes break make fate but this is inevitable. I will update the corresponding references to make sure make fate success At 2019-11-07 00:47:42, "Michael Niedermayer" wrote: >On Wed, Nov 06, 2019 at 10:36:11AM +0800, manuelyuan wrote: >>

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-05 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.