Re: [FFmpeg-devel] [PATCH] Increase MOV_TIMESCALE for higher precision

2021-03-24 Thread Andrey Rikunov
Gyan, thanks for clarification! It is all exactly as you described. I thought to set MOV_TIMESCALE to either 60kHz or 90kHz as both are divisible by most common fps values. And x10 increase is for further precision in conversion to seconds. Say it's needed to write segmentDuration=289.4892 sec in

Re: [FFmpeg-devel] [PATCH] Increase MOV_TIMESCALE for higher precision

2021-03-24 Thread Gyan Doshi
On 2021-03-24 15:45, Jan Ekström wrote: On Wed, Mar 24, 2021 at 7:30 AM Gyan Doshi wrote: On 2021-03-24 03:38, Andrey Rikunov wrote: --- libavformat/movenc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.h b/libavformat/movenc.h index

Re: [FFmpeg-devel] [PATCH] Increase MOV_TIMESCALE for higher precision

2021-03-24 Thread Jan Ekström
On Wed, Mar 24, 2021 at 7:30 AM Gyan Doshi wrote: > > > > On 2021-03-24 03:38, Andrey Rikunov wrote: > > --- > > libavformat/movenc.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavformat/movenc.h b/libavformat/movenc.h > > index cdbc407..8a152c0 100644 > >

Re: [FFmpeg-devel] [PATCH] Increase MOV_TIMESCALE for higher precision

2021-03-23 Thread Gyan Doshi
On 2021-03-24 03:38, Andrey Rikunov wrote: --- libavformat/movenc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.h b/libavformat/movenc.h index cdbc407..8a152c0 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -29,7 +29,7 @@