[FFmpeg-devel] x264 encoder run-time re-configuration in ffmpeg

2018-01-15 Thread Nitish Prabhu
Hi, I wanted to understand some aspects of run-time encoder re-configuration happening in "X264_frame/reconfig_encoder" functions of the libx264.c plugin file in FFmpeg. It seems that if the rate control mode is set to CQP, then at run-time, "x264_encoder_reconfig" API is called, which

[FFmpeg-devel] [PATCH] lavc/snow_dwt: add struct MpegEncContext to fix headers check.

2018-01-15 Thread Jun Zhao
From 998717188707f5bda66267202c492328092e3831 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 15 Jan 2018 18:57:33 +0800 Subject: [PATCH] lavc/snow_dwt: add struct MpegEncContext to fix headers check. add missing struct MpegEncContext, use make checkheaders found this

Re: [FFmpeg-devel] [PATCH] avformat/opensrt: add Haivision Open SRT protocol

2018-01-15 Thread Michael Niedermayer
On Mon, Jan 15, 2018 at 09:02:01AM -0500, Nablet Developer wrote: > protocol requires libsrt (https://github.com/Haivision/srt) to be > installed > > Signed-off-by: Nablet Developer > --- > configure | 9 + > doc/protocols.texi | 116 + >

Re: [FFmpeg-devel] [PATCH] lavc/snow_dwt: add missing header for MpegEncContext.

2018-01-15 Thread Jun Zhao
On 2018/1/16 10:26, Michael Niedermayer wrote: > On Tue, Jan 16, 2018 at 08:16:00AM +0800, Jun Zhao wrote: >> snow_dwt.h |2 ++ >> 1 file changed, 2 insertions(+) >> 6b1e418ba1a48ffd912666d237057dbd5d9b9e81 >> 0001-lavc-snow_dwt-add-missing-header-for-MpegEncContext.patch >> From

Re: [FFmpeg-devel] [PATCH] lavc/snow_dwt: add missing header for MpegEncContext.

2018-01-15 Thread Michael Niedermayer
On Tue, Jan 16, 2018 at 08:16:00AM +0800, Jun Zhao wrote: > > snow_dwt.h |2 ++ > 1 file changed, 2 insertions(+) > 6b1e418ba1a48ffd912666d237057dbd5d9b9e81 > 0001-lavc-snow_dwt-add-missing-header-for-MpegEncContext.patch > From ec98c088e138721d33fc8b15b8382981886d4571 Mon Sep 17 00:00:00

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in coeff_abs_level_remaining_decode()

2018-01-15 Thread James Almer
On 1/15/2018 9:33 PM, Ronald S. Bultje wrote: > Hi, > > On Mon, Jan 15, 2018 at 6:37 PM, Michael Niedermayer > wrote: > >> I suspect that this can be limited tighter, but i failed to find anything >> in the spec that would confirm that. >> >> Fixes:

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in coeff_abs_level_remaining_decode()

2018-01-15 Thread Ronald S. Bultje
Hi, On Mon, Jan 15, 2018 at 6:37 PM, Michael Niedermayer wrote: > I suspect that this can be limited tighter, but i failed to find anything > in the spec that would confirm that. > > Fixes: 4833/clusterfuzz-testcase-minimized-5302840101699584 > Fixes: runtime error:

[FFmpeg-devel] [PATCH] lavc/snow_dwt: add missing header for MpegEncContext.

2018-01-15 Thread Jun Zhao
From ec98c088e138721d33fc8b15b8382981886d4571 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 15 Jan 2018 18:57:33 +0800 Subject: [PATCH] lavc/snow_dwt: add missing header for MpegEncContext. add missing header for MpegEncContext, use make checkheaders found this issue.

[FFmpeg-devel] [PATCH 2/2] avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in coeff_abs_level_remaining_decode()

2018-01-15 Thread Michael Niedermayer
I suspect that this can be limited tighter, but i failed to find anything in the spec that would confirm that. Fixes: 4833/clusterfuzz-testcase-minimized-5302840101699584 Fixes: runtime error: left shift of 134217730 by 4 places cannot be represented in type 'int' Found-by: continuous fuzzing

[FFmpeg-devel] [PATCH 1/2] avcodec/hevc_cabac: Move prefix check in coeff_abs_level_remaining_decode() down

2018-01-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/hevc_cabac.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_cabac.c b/libavcodec/hevc_cabac.c index 5b5da1165a..743168500c 100644 --- a/libavcodec/hevc_cabac.c +++

Re: [FFmpeg-devel] GSoC 2018

2018-01-15 Thread Pedro Arthur
Added an entry in the ideas page for the super resolution project. I'd like to know if any one could be co-mentor with me? just in case my studies conflicts with mentoring as gsoc overlaps with half of my phd period. Also I need to think about a reasonable qualification task, if anyone have any

Re: [FFmpeg-devel] [PATCH 2/3] Add muxer/demuxer for raw codec2 and .c2 files

2018-01-15 Thread Tomas Härdin
fre 2018-01-12 klockan 21:21 +0100 skrev Michael Niedermayer: > On Sat, Dec 23, 2017 at 11:15:35PM +0100, Tomas Härdin wrote: > > > > [...] > > +static int codec2_read_header_common(AVFormatContext *s, AVStream *st) > > +{ > > +int mode =

Re: [FFmpeg-devel] GSoC 2018

2018-01-15 Thread Rostislav Pehlivanov
On 15 January 2018 at 17:31, Thilo Borgmann wrote: > Hi, > > > yet again, the registration for Google Summer of Code 2018 has opened. > > > > Like in the previous years, we've setup an ideas page in our wiki: > > https://trac.ffmpeg.org/wiki/SponsoringPrograms/GSoC/2018 >

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/ac3dec_fixed: Fix integer overflow in scale_coefs()

2018-01-15 Thread Michael Niedermayer
On Sun, Jan 14, 2018 at 12:39:39AM +0100, Michael Niedermayer wrote: > Fixes: runtime error: signed integer overflow: 2147483520 + 128 cannot be > represented in type 'int' > Fixes: 4800/clusterfuzz-testcase-minimized-6110372403609600 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] GSoC 2018

2018-01-15 Thread Thilo Borgmann
Hi, > yet again, the registration for Google Summer of Code 2018 has opened. > > Like in the previous years, we've setup an ideas page in our wiki: > https://trac.ffmpeg.org/wiki/SponsoringPrograms/GSoC/2018 > > Same procedure as every year - we need to define more interesting tasks for >

[FFmpeg-devel] [PATCH] dashdec: Make use of frame rate specified in Representation

2018-01-15 Thread Stefan _
Hi, attached patch fixes an annoyance when playing DASH videos from e.g. YouTube: "mov,mp4,m4a,3gp,3g2,mj2: Stream #0: not enough frames to estimate rate; consider increasing probesize" From e0210059fb420ef2e6c6b0d89c7e733b99f78ee5 Mon Sep 17 00:00:00 2001 From: sfan5 Date:

[FFmpeg-devel] [PATCH] docs/codecs: remove dead codec debug options

2018-01-15 Thread Gyan Doshi
From 989d5ad743222da25d9b908c2c26f67865c48fec Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Mon, 15 Jan 2018 20:20:33 +0530 Subject: [PATCH] docs/codecs: remove dead codec debug options FF_API_DEBUG_MV has been disabled. Related options removed from docs. Mention of

Re: [FFmpeg-devel] [PATCH] avformat: deprecate another ffserver API leftover

2018-01-15 Thread James Almer
On 1/15/2018 9:11 AM, wm4 wrote: > --- > doc/APIchanges | 4 > libavformat/avformat.h | 2 ++ > libavformat/utils.c| 8 > libavformat/version.h | 5 - > 4 files changed, 18 insertions(+), 1 deletion(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index

Re: [FFmpeg-devel] [RFC]avcodec: should all traces of FF_API_DEBUG_MV be removed?

2018-01-15 Thread James Almer
On 1/15/2018 8:23 AM, Gyan Doshi wrote: > Starting with 69b5ce6 (21-Oct-17), FF_API_DEBUG_MV has been disabled. It > was deprecated a few years earlier. I've a patch to update the docs to > reflect the removed CLI options. Should I remove the dead code as well? There were some efforts to move the

Re: [FFmpeg-devel] [PATCH] add dumpwave filter

2018-01-15 Thread Dmytro Humeniuk
> On 15 Jan 2018, at 09:14, Tobias Rapp wrote: > > On 13.01.2018 23:52, Дмитрий Гуменюк wrote: >> Hi, >>> On 13 Jan 2018, at 01:37, Дмитрий Гуменюк wrote: >>> >>> Hi >>> On 12 Jan 2018, at 13:32, Дмитрий Гуменюк

[FFmpeg-devel] [PATCH] avformat: deprecate another ffserver API leftover

2018-01-15 Thread wm4
--- doc/APIchanges | 4 libavformat/avformat.h | 2 ++ libavformat/utils.c| 8 libavformat/version.h | 5 - 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index d66c842521..0184815224 100644 --- a/doc/APIchanges +++

Re: [FFmpeg-devel] [PATCH] lavf: make avformat_network_init() explicitly optional

2018-01-15 Thread wm4
On Thu, 4 Jan 2018 17:02:41 +0100 wm4 wrote: > It was sort of optional before - if you didn't call it, networking was > initialized on demand, and an ugly warning was logged. Also, the doxygen > comments threatened that it would be made strictly required one day. > >

Re: [FFmpeg-devel] [PATCH] http: cosmetics: reformat reconnect check for better readability

2018-01-15 Thread wm4
On Thu, 11 Jan 2018 02:31:14 +0100 wm4 wrote: > The condition was a bit too long, and most editors will break the line > and turn it into an unreadable mess. Move out some of the conditions. > > This should not change the behavior. > --- > libavformat/http.c | 12

Re: [FFmpeg-devel] [PATCH] hwcontext_vdpau: implement av_hwdevice_get_hwframe_constraints()

2018-01-15 Thread wm4
On Mon, 15 Jan 2018 11:34:30 + Mark Thompson wrote: > On 15/01/18 11:22, wm4 wrote: > > On Mon, 15 Jan 2018 11:17:39 + > > Mark Thompson wrote: > > > >> On 13/01/18 06:06, wm4 wrote: > >>> In addition, this does not allow creating frames contexts

Re: [FFmpeg-devel] [PATCH] hwcontext_vdpau: implement av_hwdevice_get_hwframe_constraints()

2018-01-15 Thread Mark Thompson
On 15/01/18 11:22, wm4 wrote: > On Mon, 15 Jan 2018 11:17:39 + > Mark Thompson wrote: > >> On 13/01/18 06:06, wm4 wrote: >>> In addition, this does not allow creating frames contexts with sw_format >>> for which no known transfer formats exist. In theory, we should check >>>

Re: [FFmpeg-devel] [PATCH] hwcontext_vdpau: implement av_hwdevice_get_hwframe_constraints()

2018-01-15 Thread wm4
On Mon, 15 Jan 2018 11:17:39 + Mark Thompson wrote: > On 13/01/18 06:06, wm4 wrote: > > In addition, this does not allow creating frames contexts with sw_format > > for which no known transfer formats exist. In theory, we should check > > whether the chroma format (i.e. the

[FFmpeg-devel] [RFC]avcodec: should all traces of FF_API_DEBUG_MV be removed?

2018-01-15 Thread Gyan Doshi
Starting with 69b5ce6 (21-Oct-17), FF_API_DEBUG_MV has been disabled. It was deprecated a few years earlier. I've a patch to update the docs to reflect the removed CLI options. Should I remove the dead code as well? Regards, Gyan ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] hwcontext_vdpau: implement av_hwdevice_get_hwframe_constraints()

2018-01-15 Thread Mark Thompson
On 13/01/18 06:06, wm4 wrote: > In addition, this does not allow creating frames contexts with sw_format > for which no known transfer formats exist. In theory, we should check > whether the chroma format (i.e. the sw_format) is supported at all by > the vdpau driver, but checking for transfer

Re: [FFmpeg-devel] [PATCH v2 3/3] avdevice/decklink: addition of absolute wallclock option for pts source

2018-01-15 Thread Vishwanath Dixit
On 1/12/18 8:25 PM, Marton Balint wrote: On Wed, 10 Jan 2018, vdi...@akamai.com wrote: From: Vishwanath Dixit --- doc/indevs.texi | 6 -- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp    | 4 libavdevice/decklink_dec_c.c    |

Re: [FFmpeg-devel] [PATCH v2 1/3] avdevice/decklink: addition of copyts option

2018-01-15 Thread Vishwanath Dixit
On 1/12/18 8:21 PM, Marton Balint wrote: On Wed, 10 Jan 2018, vdi...@akamai.com wrote: From: Vishwanath Dixit --- doc/indevs.texi |  5 + libavdevice/decklink_common_c.h |  1 + libavdevice/decklink_dec.cpp    | 18 +++---

[FFmpeg-devel] [PATCH v3 3/3] avdevice/decklink: addition of absolute wallclock option for pts source

2018-01-15 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 6 -- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 16 libavdevice/decklink_dec_c.c| 1 + 4 files changed, 18 insertions(+), 6 deletions(-) diff --git

[FFmpeg-devel] [PATCH v3 2/3] avdevice/decklink: addition of PTS_SRC_NB in enum DecklinkPtsSource

2018-01-15 Thread vdixit
From: Vishwanath Dixit --- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec_c.c| 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h index ac6563a..18097e2 100644 ---

[FFmpeg-devel] [PATCH v3 1/3] avdevice/decklink: addition of copyts option

2018-01-15 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 5 + libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 18 +++--- libavdevice/decklink_dec_c.c| 1 + 4 files changed, 18 insertions(+), 7 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] add dumpwave filter

2018-01-15 Thread Tobias Rapp
On 13.01.2018 23:52, Дмитрий Гуменюк wrote: Hi, On 13 Jan 2018, at 01:37, Дмитрий Гуменюк wrote: Hi On 12 Jan 2018, at 13:32, Дмитрий Гуменюк wrote: On 12 Jan 2018, at 13:17, Tobias Rapp wrote: On 12.01.2018