[FFmpeg-devel] [PATCH v2] avformat/fifo: only rescale written packet timestamps once

2021-02-03 Thread Jan Ekström
From: Jan Ekström Flag the message as having been adjusted by setting an unsigned integer field to nonzero, and by only applying the timestamp adjustment if it is zero. This way the original values do not have to be reverted back in case of failure. Fixes an issue where the timestamp adjustment

Re: [FFmpeg-devel] [PATCH] Add support for the new key & value API in libaom.

2021-02-03 Thread Andreas Rheinhardt
Bohan Li: > This key & value API can greatly help with users who wants to try > libaom-av1 specific options that are not supported by ffmpeg options. > > As was previously discussed in this thread: > https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2020-October/271658. > > The commit that added

Re: [FFmpeg-devel] [PATCH] Add support for the new key & value API in libaom.

2021-02-03 Thread Steven Liu
> 2021年2月4日 上午8:01,Bohan Li 写道: > > This key & value API can greatly help with users who wants to try > libaom-av1 specific options that are not supported by ffmpeg options. > > As was previously discussed in this thread: > https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2020-October/271658.

Re: [FFmpeg-devel] [PATCH 1/2] avformat/dashdec: Fix missing NULL check

2021-02-03 Thread Steven Liu
> 2021年2月3日 下午7:30,Steven Liu 写道: > >> >> 2021年2月3日 下午7:03,sfan5 写道: >> >> 26.01.21 - 02:22 - Steven Liu: >>> sfan5 于2021年1月25日周一 下午11:25写道: --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c

Re: [FFmpeg-devel] [PATCH 1/4] Remove unnecessary mem.h inclusions

2021-02-03 Thread Andreas Rheinhardt
Michael Niedermayer: > On Wed, Feb 03, 2021 at 11:27:46AM +0100, Andreas Rheinhardt wrote: >> Signed-off-by: Andreas Rheinhardt >> --- >> fftools/ffmpeg_qsv.c| 1 - >> libavcodec/aactab.c | 1 - >> libavcodec/arbc.c | 1 -

[FFmpeg-devel] [PATCH] Add support for the new key & value API in libaom.

2021-02-03 Thread Bohan Li
This key & value API can greatly help with users who wants to try libaom-av1 specific options that are not supported by ffmpeg options. As was previously discussed in this thread: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2020-October/271658. The commit that added the API to libaom:

[FFmpeg-devel] [PATCH] Add support for the new key & value API in libaom.

2021-02-03 Thread Bohan Li
This key & value API can greatly help with users who wants to try libaom-av1 specific options that are not supported by ffmpeg options. As was previously discussed in this thread: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2020-October/271658. The commit that added the API to libaom:

Re: [FFmpeg-devel] [PATCH 1/4] Remove unnecessary mem.h inclusions

2021-02-03 Thread Michael Niedermayer
On Wed, Feb 03, 2021 at 11:27:46AM +0100, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > fftools/ffmpeg_qsv.c| 1 - > libavcodec/aactab.c | 1 - > libavcodec/arbc.c | 1 - > libavcodec/argo.c

Re: [FFmpeg-devel] [PATCH 5/7] avformat/mvdec: Sanity check SAMPLE_WIDTH

2021-02-03 Thread Michael Niedermayer
On Wed, Feb 03, 2021 at 01:18:18PM +1100, Peter Ross wrote: > On Wed, Feb 03, 2021 at 12:13:32AM +0100, Michael Niedermayer wrote: > > Fixes: signed integer overflow: 9 * 8 cannot be represented in type > > 'int' > > Fixes: > >

Re: [FFmpeg-devel] [PATCH 03/10] avformat/utils: use av_packet_alloc() to allocate packets

2021-02-03 Thread James Almer
On 2/3/2021 7:36 PM, Michael Niedermayer wrote: On Wed, Feb 03, 2021 at 07:25:29PM -0300, James Almer wrote: On 2/3/2021 7:23 PM, Michael Niedermayer wrote: On Mon, Feb 01, 2021 at 07:44:14PM -0300, James Almer wrote: Signed-off-by: James Almer --- av_get_packet() and av_read_frame() were

Re: [FFmpeg-devel] [PATCH 03/10] avformat/utils: use av_packet_alloc() to allocate packets

2021-02-03 Thread Michael Niedermayer
On Wed, Feb 03, 2021 at 07:25:29PM -0300, James Almer wrote: > On 2/3/2021 7:23 PM, Michael Niedermayer wrote: > > On Mon, Feb 01, 2021 at 07:44:14PM -0300, James Almer wrote: > > > Signed-off-by: James Almer > > > --- > > > av_get_packet() and av_read_frame() were allowed to be called with > > >

Re: [FFmpeg-devel] [PATCH 03/10] avformat/utils: use av_packet_alloc() to allocate packets

2021-02-03 Thread James Almer
On 2/3/2021 7:23 PM, Michael Niedermayer wrote: On Mon, Feb 01, 2021 at 07:44:14PM -0300, James Almer wrote: Signed-off-by: James Almer --- av_get_packet() and av_read_frame() were allowed to be called with uninitialized packets in stack, so to keep supporting that we need to leave the calls

Re: [FFmpeg-devel] [PATCH 03/10] avformat/utils: use av_packet_alloc() to allocate packets

2021-02-03 Thread Michael Niedermayer
On Mon, Feb 01, 2021 at 07:44:14PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > av_get_packet() and av_read_frame() were allowed to be called with > uninitialized packets in stack, so to keep supporting that we need to leave > the > calls to av_init_packet() in place during the

Re: [FFmpeg-devel] [PATCH] fix for https://trac.ffmpeg.org/ticket/9057

2021-02-03 Thread Carl Eugen Hoyos
Am Do., 21. Jan. 2021 um 17:59 Uhr schrieb : > > From: KM > > --- > libavcodec/aacdec_template.c | 11 +++ > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c > index fbe3074..3c2dbe3 100644 > ---

[FFmpeg-devel] [PATCH] avcodec/cabac_functions, x86/cabac: Include stddef.h

2021-02-03 Thread Andreas Rheinhardt
Fixes checkheaders after 8c01eb0a315fec8f09ba6210ce8b0296de6cc784. Signed-off-by: Andreas Rheinhardt --- Will apply this soon. libavcodec/cabac_functions.h | 1 + libavcodec/x86/cabac.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libavcodec/cabac_functions.h

Re: [FFmpeg-devel] [PATCH] fix for https://trac.ffmpeg.org/ticket/9057

2021-02-03 Thread Robert Nagy
Any feedback on this? Would also like this fixed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

[FFmpeg-devel] [PATCH] cbs_h265: Detect more reference combinations which would overflow the DPB

2021-02-03 Thread Mark Thompson
In total, the number of short term references (from the selected short term ref pic set), the number of long term references (combining both the used candidates from the SPS and those defined in the slice header) and the number of instances of the current picture (usually one, but can be two if

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/cdxl: add support for custom 24bit pal8 formats

2021-02-03 Thread Michael Niedermayer
On Wed, Feb 03, 2021 at 06:12:06PM +, Paul B Mahol wrote: > ffmpeg | branch: master | Paul B Mahol | Wed Feb 3 > 18:35:59 2021 +0100| [e8189515050ae2e4e204f1f0aa9d0cdca3169903] | committer: > Paul B Mahol > > avformat/cdxl: add support for custom 24bit pal8 formats > > Also stop

Re: [FFmpeg-devel] [PATCH 27/39] avcodec/ituh263enc: Make static initializations thread-safe

2021-02-03 Thread Andreas Rheinhardt
Anton Khirnov: > Just noticed > static int16_t basis[64][64]; > in mpegvideo_enc.c, which will be accessed in a racy way if > quantizer_noise_shaping is enabled. This applies to all mpegvideo > encoders as far as I can tell. > The reason I didn't spot this is that this part of the code is not

Re: [FFmpeg-devel] [PATCH 02/45] avcodec/a64multienc: Mark encoders as init-threadsafe

2021-02-03 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2020-11-27 02:02:06) >> Signed-off-by: Andreas Rheinhardt >> --- >> libavcodec/a64multienc.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Actually seems I was mistaken - render_charset() contains three static > arrays which seem

[FFmpeg-devel] [PATCH] avfilter/af_amix: add sum option

2021-02-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 6 ++ libavfilter/af_amix.c | 13 ++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 2d85a414ec..b4c4e330f4 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@

[FFmpeg-devel] [PATCH v2] avformat/concatdec: add support for setting input options

2021-02-03 Thread Jan Ekström
This way protocol or format related options can be set for all of the files opened during concatenation both globally as well as per-file. --- doc/demuxers.texi | 12 +++ libavformat/concatdec.c | 69 - 2 files changed, 80 insertions(+), 1

Re: [FFmpeg-devel] [PATCH] avformat/mxf: Establish register of local tags

2021-02-03 Thread Tomas Härdin
tis 2021-02-02 klockan 12:58 +0100 skrev Paul B Mahol: > I think you should make tables that never change const. Fixed. /Tomas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe,

[FFmpeg-devel] Publish a HLS stream via a HTTPS server with ffmpeg and nginx.

2021-02-03 Thread Hongyi Zhao
Hi, On Ubuntu 20.04, I've built the docker image based my project located at . The SSL relative configuration has been enabled in the nginx.conf file used by the above docker image, see

Re: [FFmpeg-devel] [PATCH 02/45] avcodec/a64multienc: Mark encoders as init-threadsafe

2021-02-03 Thread Anton Khirnov
Quoting Paul B Mahol (2021-02-03 16:12:58) > On Wed, Feb 3, 2021 at 4:11 PM Anton Khirnov wrote: > > > Quoting Andreas Rheinhardt (2020-11-27 02:02:06) > > > Signed-off-by: Andreas Rheinhardt > > > --- > > > libavcodec/a64multienc.c | 4 ++-- > > > 1 file changed, 2 insertions(+), 2

Re: [FFmpeg-devel] [PATCH 02/45] avcodec/a64multienc: Mark encoders as init-threadsafe

2021-02-03 Thread Paul B Mahol
On Wed, Feb 3, 2021 at 4:11 PM Anton Khirnov wrote: > Quoting Andreas Rheinhardt (2020-11-27 02:02:06) > > Signed-off-by: Andreas Rheinhardt > > --- > > libavcodec/a64multienc.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > Actually seems I was mistaken - render_charset()

Re: [FFmpeg-devel] [PATCH 02/45] avcodec/a64multienc: Mark encoders as init-threadsafe

2021-02-03 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2020-11-27 02:02:06) > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/a64multienc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Actually seems I was mistaken - render_charset() contains three static arrays which seem to be used in a very racy

Re: [FFmpeg-devel] [PATCH 27/39] avcodec/ituh263enc: Make static initializations thread-safe

2021-02-03 Thread Anton Khirnov
Just noticed static int16_t basis[64][64]; in mpegvideo_enc.c, which will be accessed in a racy way if quantizer_noise_shaping is enabled. This applies to all mpegvideo encoders as far as I can tell. -- Anton Khirnov ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH v3] ffmpeg: add -fpsmax to clamp output framerate

2021-02-03 Thread Gyan Doshi
Useful when encoding in batch or with aberrant inputs. --- doc/ffmpeg.texi | 7 +++ fftools/ffmpeg.c | 7 ++- fftools/ffmpeg.h | 3 +++ fftools/ffmpeg_opt.c | 23 --- 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/doc/ffmpeg.texi

Re: [FFmpeg-devel] [PATCH v4 7/9] avformat: add h266/vvc muxer

2021-02-03 Thread James Almer
On 2/3/2021 10:45 AM, Moritz Barsnick wrote: On Mon, Jan 25, 2021 at 22:15:05 +0800, Nuo Mi wrote: +.extensions= "hevc,h266,266", Is ".hevc" a valid extension for H.266/VVC? Most assuredly not, and just a copy paste error. Moritz

Re: [FFmpeg-devel] [PATCH v4 7/9] avformat: add h266/vvc muxer

2021-02-03 Thread Moritz Barsnick
On Mon, Jan 25, 2021 at 22:15:05 +0800, Nuo Mi wrote: > +.extensions= "hevc,h266,266", Is ".hevc" a valid extension for H.266/VVC? Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avformat: add binka demuxer

2021-02-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/binka.c | 100 +++ 3 files changed, 102 insertions(+) create mode 100644 libavformat/binka.c diff --git a/libavformat/Makefile

[FFmpeg-devel] [PATCH 2/2] avformat: add xbm_pipe demuxer

2021-02-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/img2dec.c| 8 3 files changed, 10 insertions(+) diff --git a/libavformat/Makefile b/libavformat/Makefile index b977fa0b1e..17d4467818 100644 --- a/libavformat/Makefile +++

[FFmpeg-devel] [PATCH 1/2] avcodec: add xbm parser

2021-02-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/parsers.c| 1 + libavcodec/xbm_parser.c | 101 3 files changed, 103 insertions(+) create mode 100644 libavcodec/xbm_parser.c diff --git a/libavcodec/Makefile

Re: [FFmpeg-devel] REQUEST: remove photocd_pipe demuxer as there is no parser

2021-02-03 Thread Carl Eugen Hoyos
Am Mi., 3. Feb. 2021 um 11:38 Uhr schrieb Paul B Mahol : [...] While you and others - thankfully! - implemented parsers for many formats, there are several image formats for which FFmpeg probably will not implement a parser, I believe it makes a lot of sense to auto-detect such images, and this

Re: [FFmpeg-devel] [PATCH 1/2] avformat/dashdec: Fix missing NULL check

2021-02-03 Thread Steven Liu
> 2021年2月3日 下午7:03,sfan5 写道: > > 26.01.21 - 02:22 - Steven Liu: >> sfan5 于2021年1月25日周一 下午11:25写道: >>> --- >>> libavformat/dashdec.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c >>> index 693fc7372b..dc56e89f11

Re: [FFmpeg-devel] [PATCH 1/2] avformat/dashdec: Fix missing NULL check

2021-02-03 Thread sfan5
26.01.21 - 02:22 - Steven Liu: sfan5 于2021年1月25日周一 下午11:25写道: --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 693fc7372b..dc56e89f11 100644 --- a/libavformat/dashdec.c +++

[FFmpeg-devel] Re: [PATCH v2] ffmpeg: add -rmax to clamp output framerate

2021-02-03 Thread Anton Khirnov
Quoting Gyan Doshi (2021-02-03 10:58:36) > > > On 03-02-2021 03:20 pm, Anton Khirnov wrote: > > Quoting Gyan Doshi (2021-02-03 09:15:35) > >> > >> On 03-02-2021 01:41 pm, Anton Khirnov wrote: > >>> Quoting Gyan Doshi (2021-02-01 14:22:27) > Useful when encoding in batch or with aberrant

[FFmpeg-devel] REQUEST: remove photocd_pipe demuxer as there is no parser

2021-02-03 Thread Paul B Mahol
This is only some of problems and some of formats I spotted. I hereby request also to remove commit rights from Carl Eugen Hoyos for committing hacky and broken code. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 4/4] Remove unnecessary avassert.h inclusions

2021-02-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- fftools/ffplay.c | 3 --- libavcodec/ass.c | 1 - libavcodec/cfhd.h | 2 -- libavcodec/cfhddsp.c | 1 -

[FFmpeg-devel] [PATCH 3/4] avformat/ilbc: Use av_get_packet

2021-02-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/ilbc.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libavformat/ilbc.c b/libavformat/ilbc.c index 188c0f091a..bee3954f9c 100644 --- a/libavformat/ilbc.c +++ b/libavformat/ilbc.c @@ -99,15 +99,11 @@ static int

[FFmpeg-devel] [PATCH 2/4] avformat: Use ffio_read_size where appropriate

2021-02-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/aaxdec.c | 9 +++-- libavformat/act.c | 9 +++-- libavformat/kvag.c| 5 ++--- libavformat/nuv.c | 7 --- libavformat/pva.c | 7 --- libavformat/riffdec.c | 6 +++--- libavformat/utils.c | 6 +++---

[FFmpeg-devel] [PATCH 1/4] Remove unnecessary mem.h inclusions

2021-02-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_qsv.c| 1 - libavcodec/aactab.c | 1 - libavcodec/arbc.c | 1 - libavcodec/argo.c | 1 - libavcodec/dcadsp.c | 1 -

Re: [FFmpeg-devel] [PATCH 1/2] avformat: add binka demuxer

2021-02-03 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/binka.c | 103 +++ > 3 files changed, 105 insertions(+) > create mode 100644 libavformat/binka.c > > diff --git

Re: [FFmpeg-devel] [PATCH] avfilter: add colorcorrect filter

2021-02-03 Thread Paul B Mahol
Will apply soon. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add -rmax to clamp output framerate

2021-02-03 Thread Gyan Doshi
On 03-02-2021 03:20 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2021-02-03 09:15:35) On 03-02-2021 01:41 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2021-02-01 14:22:27) Useful when encoding in batch or with aberrant inputs. --- doc/ffmpeg.texi | 7 +++ fftools/ffmpeg.c

[FFmpeg-devel] [PATCH 2/2] avcodec/utils: unbreak BINKAUDIO_DCT duration calculation

2021-02-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/utils.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index a1ae9cab18..4d1909b581 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1668,14 +1668,10 @@ static int

[FFmpeg-devel] [PATCH 1/2] avformat: add binka demuxer

2021-02-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/binka.c | 103 +++ 3 files changed, 105 insertions(+) create mode 100644 libavformat/binka.c diff --git a/libavformat/Makefile

[FFmpeg-devel] Re: [PATCH v2] ffmpeg: add -rmax to clamp output framerate

2021-02-03 Thread Anton Khirnov
Quoting Gyan Doshi (2021-02-03 09:15:35) > > > On 03-02-2021 01:41 pm, Anton Khirnov wrote: > > Quoting Gyan Doshi (2021-02-01 14:22:27) > >> Useful when encoding in batch or with aberrant inputs. > >> --- > >> doc/ffmpeg.texi | 7 +++ > >> fftools/ffmpeg.c | 7 ++- > >>

[FFmpeg-devel] Re: [PATCH 1/3] av_dump_format: add a heading for chapters

2021-02-03 Thread Anton Khirnov
Nobody had any comments, so pushed -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

Re: [FFmpeg-devel] [PATCH 1/2] avformat: add binka demuxer

2021-02-03 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/binka.c | 107 +++ > 3 files changed, 109 insertions(+) > create mode 100644 libavformat/binka.c > > diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avformat: add binka demuxer

2021-02-03 Thread Paul B Mahol
On Wed, Feb 3, 2021 at 2:00 AM James Almer wrote: > On 2/2/2021 9:40 PM, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > libavformat/Makefile | 1 + > > libavformat/allformats.c | 1 + > > libavformat/binka.c | 107 +++ > > 3

Re: [FFmpeg-devel] [PATCH] avformat/fifo: utilize a clone packet for muxing

2021-02-03 Thread Andreas Rheinhardt
Jan Ekström: > On Mon, Jan 25, 2021 at 9:47 AM Jan Ekström wrote: >> >> On Thu, Jan 14, 2021 at 2:13 AM Jan Ekström wrote: >>> >>> On Tue, Jan 12, 2021 at 9:59 AM Jan Ekström wrote: On Mon, Jan 11, 2021 at 10:53 PM Andreas Rheinhardt wrote: > > Jan Ekström: >> On

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add -rmax to clamp output framerate

2021-02-03 Thread Gyan Doshi
On 03-02-2021 01:41 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2021-02-01 14:22:27) Useful when encoding in batch or with aberrant inputs. --- doc/ffmpeg.texi | 7 +++ fftools/ffmpeg.c | 7 ++- fftools/ffmpeg.h | 3 +++ fftools/ffmpeg_opt.c | 24

[FFmpeg-devel] Re: [PATCH v2] ffmpeg: add -rmax to clamp output framerate

2021-02-03 Thread Anton Khirnov
Quoting Gyan Doshi (2021-02-01 14:22:27) > @@ -1699,8 +1700,22 @@ static OutputStream *new_video_stream(OptionsContext > *o, AVFormatContext *oc, in > av_log(NULL, AV_LOG_FATAL, "Invalid framerate value: %s\n", > frame_rate); > exit_program(1); > } > -if (frame_rate &&

[FFmpeg-devel] Re: [PATCH v2] ffmpeg: add -rmax to clamp output framerate

2021-02-03 Thread Anton Khirnov
Quoting Gyan Doshi (2021-02-01 14:22:27) > Useful when encoding in batch or with aberrant inputs. > --- > doc/ffmpeg.texi | 7 +++ > fftools/ffmpeg.c | 7 ++- > fftools/ffmpeg.h | 3 +++ > fftools/ffmpeg_opt.c | 24 +--- > 4 files changed, 37