[FFmpeg-devel] [PATCH 5/5] avformat/mov: correct to representative names for mov.c

2020-01-27 Thread Gyan Doshi
--- libavformat/mov.c | 6 +++--- libavformat/utils.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 064fa88137..064d2b5f6e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -8062,15 +8062,15 @@ static const AVOption mov

[FFmpeg-devel] [PATCH 4/5] fftools/cmdutils: switch to av_find_input_format2

2020-01-27 Thread Gyan Doshi
Allows matching demuxer by extension e.g. ffmpeg -h demuxer=string will identify demuxer by extension match if id by short name fails. --- fftools/cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 7954f23430..6e507ab552 100

[FFmpeg-devel] [PATCH 3/5] fftools/ffmpeg: switch to av_find_input_format2

2020-01-27 Thread Gyan Doshi
Identifies and sets demuxer based on extension if short name search fails. --- fftools/ffmpeg_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 1510e026ea..9e1055495b 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_op

[FFmpeg-devel] [PATCH 1/5] avformat/format: add av_find_input_format2

2020-01-27 Thread Gyan Doshi
Identifies demuxer by extension if search by short name fails. --- libavformat/avformat.h | 7 +++ libavformat/format.c | 14 +- libavformat/version.h | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index

[FFmpeg-devel] [PATCH 2/5] doc/APIchanges: add entry for av_find_input_format2

2020-01-27 Thread Gyan Doshi
--- doc/APIchanges | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 2977b00b60..dc9549f0c8 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil: 2017-10-21 API changes, most recent first: +2020-01-28 - xx - lavf 5

Re: [FFmpeg-devel] [IMPORTANT] FOSDEM meeting

2020-01-27 Thread Jean-Baptiste Kempf
On Mon, Jan 27, 2020, at 14:52, Paul B Mahol wrote: > On 1/27/20, Jean-Baptiste Kempf wrote: > > Hello fellow developers, > > > > As a reminder, this week-end is the FOSDEM, in Brussels. > > > > As promised, we will do a FFmpeg developer meeting, where we will vote on > > the decisions taken durin

[FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/tty.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/libavformat/tty.c b/libavformat/tty.c index 8d48f2c45c..c127500fa1 100644 --- a/libavformat/tty.c +++ b/libavformat/tty.c @@ -24,6 +24,8 @@ * Tele-typewriter

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Gyan
On 27-01-2020 10:40 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 18:07 Uhr schrieb Gyan : On 27-01-2020 10:22 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 17:50 Uhr schrieb Gyan : On 27-01-2020 09:55 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 17:10 Uhr schrieb G

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/avdct: Clear IDCTDSPContext context

2020-01-27 Thread James Almer
On 1/27/2020 9:25 PM, Michael Niedermayer wrote: > On Mon, Jan 27, 2020 at 06:09:28PM -0300, James Almer wrote: >> On 1/27/2020 5:54 PM, Michael Niedermayer wrote: >>> Fixes use of uninitialized variable and segfault >>> >>> Signed-off-by: Michael Niedermayer >>> --- >>> libavcodec/avdct.c | 2 +-

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread James Almer
On 1/27/2020 7:16 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/tty.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/libavformat/tty.c b/libavformat/tty.c > index 8d48f2c45c..75af16a6f1 100644 > --- a/libavformat/tty.c > +++ b/libavformat/tty

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/avdct: Clear IDCTDSPContext context

2020-01-27 Thread Michael Niedermayer
On Mon, Jan 27, 2020 at 06:09:28PM -0300, James Almer wrote: > On 1/27/2020 5:54 PM, Michael Niedermayer wrote: > > Fixes use of uninitialized variable and segfault > > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/avdct.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Paul B Mahol
On 1/27/20, Carl Eugen Hoyos wrote: > Am Mo., 27. Jan. 2020 um 23:16 Uhr schrieb Paul B Mahol : >> >> Signed-off-by: Paul B Mahol >> --- >> libavformat/tty.c | 14 ++ >> 1 file changed, 14 insertions(+) >> >> diff --git a/libavformat/tty.c b/libavformat/tty.c >> index 8d48f2c45c..75a

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 23:16 Uhr schrieb Paul B Mahol : > > Signed-off-by: Paul B Mahol > --- > libavformat/tty.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/libavformat/tty.c b/libavformat/tty.c > index 8d48f2c45c..75af16a6f1 100644 > --- a/libavformat/tty.c > +++

[FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/tty.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavformat/tty.c b/libavformat/tty.c index 8d48f2c45c..75af16a6f1 100644 --- a/libavformat/tty.c +++ b/libavformat/tty.c @@ -24,6 +24,8 @@ * Tele-typewriter demuxer */ +#in

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 22:56 Uhr schrieb Paul B Mahol : > > On 1/27/20, Carl Eugen Hoyos wrote: > > Am Mo., 27. Jan. 2020 um 22:44 Uhr schrieb Paul B Mahol : > >> > >> On 1/27/20, Carl Eugen Hoyos wrote: > >> > Am Mo., 27. Jan. 2020 um 22:01 Uhr schrieb Paul B Mahol > >> > : > >> >> > >> >> Sig

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Paul B Mahol
On 1/27/20, Carl Eugen Hoyos wrote: > Am Mo., 27. Jan. 2020 um 22:44 Uhr schrieb Paul B Mahol : >> >> On 1/27/20, Carl Eugen Hoyos wrote: >> > Am Mo., 27. Jan. 2020 um 22:01 Uhr schrieb Paul B Mahol >> > : >> >> >> >> Signed-off-by: Paul B Mahol >> >> --- >> >> libavformat/tty.c | 13 ++

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/avdct: Clear IDCTDSPContext context

2020-01-27 Thread Paul B Mahol
lgtm On 1/27/20, Michael Niedermayer wrote: > Fixes use of uninitialized variable and segfault > > Signed-off-by: Michael Niedermayer > --- > libavcodec/avdct.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/avdct.c b/libavcodec/avdct.c > index 47e5f7134e..7

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 22:44 Uhr schrieb Paul B Mahol : > > On 1/27/20, Carl Eugen Hoyos wrote: > > Am Mo., 27. Jan. 2020 um 22:01 Uhr schrieb Paul B Mahol : > >> > >> Signed-off-by: Paul B Mahol > >> --- > >> libavformat/tty.c | 13 + > >> 1 file changed, 13 insertions(+) > >> > >

Re: [FFmpeg-devel] [PATCH]ffmpeg: Do not print "SDL:" on top of sdl output file

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 01:12 Uhr schrieb Marton Balint : > > > > On Mon, 27 Jan 2020, Carl Eugen Hoyos wrote: > > > Am Mo., 27. Jan. 2020 um 00:45 Uhr schrieb Michael Niedermayer > > : > >> > >> On Sun, Jan 26, 2020 at 09:57:59PM +0100, Carl Eugen Hoyos wrote: > >> > Hi! > >> > > >> > Attached pa

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Paul B Mahol
On 1/27/20, Carl Eugen Hoyos wrote: > Am Mo., 27. Jan. 2020 um 22:01 Uhr schrieb Paul B Mahol : >> >> Signed-off-by: Paul B Mahol >> --- >> libavformat/tty.c | 13 + >> 1 file changed, 13 insertions(+) >> >> diff --git a/libavformat/tty.c b/libavformat/tty.c >> index 8d48f2c45c..acc6

Re: [FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 22:01 Uhr schrieb Paul B Mahol : > > Signed-off-by: Paul B Mahol > --- > libavformat/tty.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/libavformat/tty.c b/libavformat/tty.c > index 8d48f2c45c..acc6da27cc 100644 > --- a/libavformat/tty.c > +++ b

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/avdct: Clear IDCTDSPContext context

2020-01-27 Thread James Almer
On 1/27/2020 5:54 PM, Michael Niedermayer wrote: > Fixes use of uninitialized variable and segfault > > Signed-off-by: Michael Niedermayer > --- > libavcodec/avdct.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/avdct.c b/libavcodec/avdct.c > index 47e5f713

[FFmpeg-devel] [PATCH] avformat/tty: add probe function

2020-01-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/tty.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavformat/tty.c b/libavformat/tty.c index 8d48f2c45c..acc6da27cc 100644 --- a/libavformat/tty.c +++ b/libavformat/tty.c @@ -24,6 +24,8 @@ * Tele-typewriter demuxer */ +#inc

Re: [FFmpeg-devel] [PATCH 4/5] avformat/rawdec: Make the raw packet size configurable

2020-01-27 Thread Carl Eugen Hoyos
Am Sa., 6. Juli 2019 um 13:09 Uhr schrieb Michael Niedermayer : > > This allows testing parsers with a wider range of input packet sizes. > Which is important and usefull for regression testing, some of our > parsers in fact to not work if the packet size is changed from 1024 Shouldn't the name of

[FFmpeg-devel] [PATCH 2/2] avcodec/avdct: Clear IDCTDSPContext context

2020-01-27 Thread Michael Niedermayer
Fixes use of uninitialized variable and segfault Signed-off-by: Michael Niedermayer --- libavcodec/avdct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/avdct.c b/libavcodec/avdct.c index 47e5f7134e..7c761cf39a 100644 --- a/libavcodec/avdct.c +++ b/libavcodec/avd

[FFmpeg-devel] [PATCH 1/2] MAINTAINERS: Add patchwork maintainer

2020-01-27 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index bd4ed499ac..dfa9439ab8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -53,6 +53,7 @@ Communication website Deby Barbara Lepage fa

Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 21:02 Uhr schrieb Mohammad Izadi : > I created this metadata 6 months ago to use it at YouTube. The metadata is > incomplete here. I already implemented HDR10+ for our local ffmpeg and > trying to push them to the head. > Please note that the current code of HDR10+ is not

Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-01-27 Thread Mohammad Izadi
Hey Carl, I created this metadata 6 months ago to use it at YouTube. The metadata is incomplete here. I already implemented HDR10+ for our local ffmpeg and trying to push them to the head. Please note that the current code of HDR10+ is not working. On Mon, Jan 27, 2020, 11:44 AM Carl Eugen Hoyos

Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-01-27 Thread James Almer
On 1/27/2020 4:08 PM, Mohammad Izadi wrote: > From: Mohammad Izadi > > Trying to read HDR10+ metadata from HEVC/SEI and pass it to packet side data > in the follow-up CLs. > --- > libavutil/hdr_dynamic_metadata.c | 386 +++ > libavutil/hdr_dynamic_metadata.h | 51 ++

Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 20:34 Uhr schrieb Mohammad Izadi : > /** > * Allocate an AVDynamicHDRPlus structure and set its fields to > * default values. The resulting struct can be freed using av_freep(). > + * @param gb The input bit stream. > + * @param size The size of allocated memory for t

Re: [FFmpeg-devel] [PATCH 03/20] avformat/matroskaenc: Remove useless AVIOContext

2020-01-27 Thread James Almer
On 12/31/2019 9:58 PM, Andreas Rheinhardt wrote: > Write a few numbers directly via AV_WB32 instead of using an AVIOContext > (that is initialized only for this very purpose) to write these numbers > at known offsets into a fixed buffer. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/

Re: [FFmpeg-devel] [PATCH 02/20] avformat/matroskaenc: Improve writing Projection

2020-01-27 Thread James Almer
On 12/31/2019 9:58 PM, Andreas Rheinhardt wrote: > The Matroska Projection master element has such a small maximum length > that it can always be written with a length field of length one. > So it is unnecessary to first write the element into a dynamic buffer to > get the accurate length in order

[FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-01-27 Thread Mohammad Izadi
From: Mohammad Izadi Trying to read HDR10+ metadata from HEVC/SEI and pass it to packet side data in the follow-up CLs. --- libavutil/hdr_dynamic_metadata.c | 386 +++ libavutil/hdr_dynamic_metadata.h | 51 +++- libavutil/version.h | 2 +- 3 files cha

Re: [FFmpeg-devel] [PATCH 09/13] avformat/mux: Don't use av_ prefix for static functions

2020-01-27 Thread James Almer
On 8/14/2019 1:32 PM, Paul B Mahol wrote: > LGTM Pushed. > > On Tue, Aug 13, 2019 at 4:50 AM Andreas Rheinhardt < > andreas.rheinha...@gmail.com> wrote: > >> Signed-off-by: Andreas Rheinhardt >> --- >> libavformat/mux.c | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> di

Re: [FFmpeg-devel] [PATCH] avcodec/aptx: split decoder and encoder into separate files

2020-01-27 Thread James Almer
On 12/8/2019 12:11 PM, James Almer wrote: > Signed-off-by: James Almer > --- > Untested beyond checking it compiles because there are no FATE tests for > either > module. > > libavcodec/Makefile | 8 +- > libavcodec/aptx.c| 634 +-- > libavcodec/ap

[FFmpeg-devel] [PATCH] avformat/mpegts: Improve the position determination for avpriv_mpegts_parse_packet()

2020-01-27 Thread Michael Niedermayer
Fixes: assertion failure Fixes: Ticket 8005 Signed-off-by: Michael Niedermayer --- libavformat/mpegts.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 5c850bc1e5..ae16f9d3c7 100644 --- a/libavformat/mpegts.c +++ b/lib

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 18:07 Uhr schrieb Gyan : > > > > On 27-01-2020 10:22 pm, Carl Eugen Hoyos wrote: > > Am Mo., 27. Jan. 2020 um 17:50 Uhr schrieb Gyan : > >> > >> > >> On 27-01-2020 09:55 pm, Carl Eugen Hoyos wrote: > >>> Am Mo., 27. Jan. 2020 um 17:10 Uhr schrieb Gyan : > > On 27-

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Gyan
On 27-01-2020 10:22 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 17:50 Uhr schrieb Gyan : On 27-01-2020 09:55 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 17:10 Uhr schrieb Gyan : On 27-01-2020 09:04 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 11:31 Uhr schrieb G

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 17:50 Uhr schrieb Gyan : > > > > On 27-01-2020 09:55 pm, Carl Eugen Hoyos wrote: > > Am Mo., 27. Jan. 2020 um 17:10 Uhr schrieb Gyan : > >> > >> > >> On 27-01-2020 09:04 pm, Carl Eugen Hoyos wrote: > >>> Am Mo., 27. Jan. 2020 um 11:31 Uhr schrieb Gyan Doshi : > Added a

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Gyan
On 27-01-2020 09:55 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 17:10 Uhr schrieb Gyan : On 27-01-2020 09:04 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 11:31 Uhr schrieb Gyan Doshi : Added all extensions used by the mov muxer family --- libavformat/mov.c | 2 +- 1 f

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 17:10 Uhr schrieb Gyan : > > > > On 27-01-2020 09:04 pm, Carl Eugen Hoyos wrote: > > Am Mo., 27. Jan. 2020 um 11:31 Uhr schrieb Gyan Doshi : > >> Added all extensions used by the mov muxer family > >> --- > >> libavformat/mov.c | 2 +- > >> 1 file changed, 1 insertion(+)

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_zoompan: fix shaking when zooming

2020-01-27 Thread Moritz Barsnick
On Mon, Jan 27, 2020 at 15:17:29 +0100, Robert Deibel wrote: > + * Used to scale the width and height of a frame to fit with the subsampling > grid. > + * @param n The number to be scaled. > + * @param log_grid_size log 2 of the gridsize. > + * @return The next number divisible by 2 * 2^log_grid_

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Gyan
On 27-01-2020 09:04 pm, Carl Eugen Hoyos wrote: Am Mo., 27. Jan. 2020 um 11:31 Uhr schrieb Gyan Doshi : Added all extensions used by the mov muxer family --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 589

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_zoompan: fix shaking when zooming

2020-01-27 Thread Paul B Mahol
On 1/27/20, Robert Deibel wrote: > Fix shaking of image when zoom is applied by the zoompan filter. > Resolves ticket https://trac.ffmpeg.org/ticket/4298 > --- > Fixed the style issues and modified the comment of scale_to_grid() to > correctly specify the functionality. > > libavfilter/vf_zoompan

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

2020-01-27 Thread Paul B Mahol
On 1/27/20, Moritz Barsnick wrote: > On Sun, Jan 26, 2020 at 14:46:56 +0100, Paul B Mahol wrote: >> +static const AVOption xfade_options[] = { > [...] >> +{ "duration", "set cross fade duration", OFFSET(duration), >> AV_OPT_TYPE_DURATION, {.i64=100}, 0, 6000, FLAGS }, >> +{ "offset

Re: [FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Carl Eugen Hoyos
Am Mo., 27. Jan. 2020 um 11:31 Uhr schrieb Gyan Doshi : > > Added all extensions used by the mov muxer family > --- > libavformat/mov.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 589576b529..21a5a0180e 100644 > --- a/libav

[FFmpeg-devel] [PATCH v3] avfilter/vf_zoompan: fix shaking when zooming

2020-01-27 Thread Robert Deibel
Fix shaking of image when zoom is applied by the zoompan filter. Resolves ticket https://trac.ffmpeg.org/ticket/4298 --- Fixed the style issues and modified the comment of scale_to_grid() to correctly specify the functionality. libavfilter/vf_zoompan.c | 82 --

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

2020-01-27 Thread Moritz Barsnick
On Sun, Jan 26, 2020 at 14:46:56 +0100, Paul B Mahol wrote: > +static const AVOption xfade_options[] = { [...] > +{ "duration", "set cross fade duration", OFFSET(duration), > AV_OPT_TYPE_DURATION, {.i64=100}, 0, 6000, FLAGS }, > +{ "offset", "set cross fade start relative to firs

Re: [FFmpeg-devel] [PATCH 02/13] lavc/ass: add support for configuring default style via AVOptions

2020-01-27 Thread Moritz Barsnick
On Fri, Jan 24, 2020 at 20:01:49 -0600, rcombs wrote: > +static int invert_ass_alpha(uint32_t c) > +{ > +uint32_t a = c >> 24; > +return ((255 - a) << 24) | (c & 0xff); > +} You're inverting the "leftmost" 8 bits of c? Can't you just make this return (c ^ 0xff00); ? Even inline,

Re: [FFmpeg-devel] How to synchronize device sources

2020-01-27 Thread Noah Bergbauer
>> The goal it to use all of this directly from ffmpeg.exe, not only as a >> library. >> And from what I can see ffmpeg always calculates pts relative to the first >> value it sees, which would nullify the effect of using wallclock timestamps, >> even if I were to switch both devices to those. >>

Re: [FFmpeg-devel] [IMPORTANT] FOSDEM meeting

2020-01-27 Thread Paul B Mahol
On 1/27/20, Jean-Baptiste Kempf wrote: > Hello fellow developers, > > As a reminder, this week-end is the FOSDEM, in Brussels. > > As promised, we will do a FFmpeg developer meeting, where we will vote on > the decisions taken during VDD. > Notably, re-elect the committees, and the voted will now

Re: [FFmpeg-devel] [PATCH 1/1] avdevice/gdigrab remove CAPTUREBLT flag

2020-01-27 Thread fgodt...@hotmail.com
From: fgodtdev Date: 2020-01-22 10:19 To: ffmpeg-devel CC: FgoDt Subject: [PATCH 1/1] avdevice/gdigrab remove CAPTUREBLT flag From: FgoDt Remove CAPTUREBLT flag, CAPTUREBLT flag may make mouse flicker. Discussion details see:https://patchwork.ffmpeg.org/project/ffmpeg/patch/hk2pr03mb4596ab27

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_find_rect: Remove assert

2020-01-27 Thread Michael Niedermayer
On Mon, Jan 27, 2020 at 12:38:45AM +0100, Andreas Rheinhardt wrote: > On Sun, Jan 26, 2020 at 8:49 PM Michael Niedermayer > wrote: > > > A score of 0 is possible > > Fixes: Ticket8500 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavfilter/vf_find_rect.c | 1 - > > 1 file changed, 1

[FFmpeg-devel] [PATCH] avformat/mov: update extensions

2020-01-27 Thread Gyan Doshi
Added all extensions used by the mov muxer family --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 589576b529..21a5a0180e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -8073,7 +8073,7 @@ AVInputFormat

Re: [FFmpeg-devel] [PATCH] af_volume: fix integer clip

2020-01-27 Thread Zhao Zhili
> On Jan 27, 2020, at 12:59 AM, Carl Eugen Hoyos wrote: > > Am So., 26. Jan. 2020 um 17:13 Uhr schrieb Zhao Zhili >: >> >> --- >> Or specify an upper limit on volume. What do you think? >> >> libavfilter/af_volume.c | 2 +- >> 1 file changed, 1 insertion(+), 1 d

Re: [FFmpeg-devel] [PATCH] avfilter/asrc_sinc: Don't allocate arrays separately

2020-01-27 Thread Paul B Mahol
LGTM On 1/27/20, Andreas Rheinhardt wrote: > Besides the obvious advantages this also fixes a potential memleak: > If only one of the arrays had been successfully allocated, the other > would leak. This also fixes Coverity issues #1440386 and #1440387. > > Signed-off-by: Andreas Rheinhardt > ---

[FFmpeg-devel] [PATCH 4/4] avfilter/vf_paletteuse: Forward error codes

2020-01-27 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_paletteuse.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c index 255c9d79e3..408cff786e 100644 --- a/libavfilter/vf_paletteuse.c +++ b/libavfilter/vf_palett

[FFmpeg-devel] [PATCH 3/4] avfilter/vf_paletteuse: Fix potential double-free of AVFrame

2020-01-27 Thread Andreas Rheinhardt
apply_palette() would free an AVFrame given to it only via an AVFrame * (and not via AVFrame **) in three of its four exists (namely in the normal path and in two error paths). So upon error the caller has no way to know whether the frame has already been freed or not; load_apply_palette(), the onl

[FFmpeg-devel] [PATCH 1/4] avformat/mov: Free encryption data on error

2020-01-27 Thread Andreas Rheinhardt
Fixes memleak and Coverity issue #1439587. Signed-off-by: Andreas Rheinhardt --- libavformat/mov.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 589576b529..7b7d4f43fa 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @

[FFmpeg-devel] [PATCH 2/4] avformat/mov: Don't leak MOVFragmentStreamInfo on error

2020-01-27 Thread Andreas Rheinhardt
Fixes Coverity issue #1441933. Signed-off-by: Andreas Rheinhardt --- libavformat/mov.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 7b7d4f43fa..50b8ccb02f 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1327,8 +1327