Re: [FFmpeg-devel] [PATCH] hwcontext_vaapi: add iHD open source driver.

2018-01-31 Thread Jun Zhao
On 2018/2/1 14:45, Jun Zhao wrote: > > On 2018/1/31 19:13, Mark Thompson wrote: >> On 31/01/18 00:35, Jun Zhao wrote: >>> Now FFmpeg-VAAPI work with iHD open source driver >>> (https://github.com/intel/media-driver) initiatory. >>> >>> From 069611945880643aad6ffb5ea70b732f40bbb510 Mon Sep 17

Re: [FFmpeg-devel] [PATCH] hwcontext_vaapi: add iHD open source driver.

2018-01-31 Thread Jun Zhao
On 2018/1/31 19:13, Mark Thompson wrote: > On 31/01/18 00:35, Jun Zhao wrote: >> Now FFmpeg-VAAPI work with iHD open source driver >> (https://github.com/intel/media-driver) initiatory. >> >> From 069611945880643aad6ffb5ea70b732f40bbb510 Mon Sep 17 00:00:00 2001 >> From: Jun Zhao

Re: [FFmpeg-devel] [PATCH 2/2] avformat/hls: store referer message in HLS http request

2018-01-31 Thread Steven Liu
2018-01-09 15:39 GMT+08:00 Steven Liu : > Signed-off-by: Steven Liu > --- > libavformat/hls.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.c > index 950cc4c3bd..9657b83fd9 100644 > ---

Re: [FFmpeg-devel] [PATCH v3 1/6] lavc: add new API for iterating codecs and codec parsers

2018-01-31 Thread Michael Niedermayer
On Wed, Jan 31, 2018 at 08:25:50PM +, Josh de Kock wrote: > Also replace linked list with an array. > --- > configure | 12 +- > doc/APIchanges |4 + > libavcodec/.gitignore |2 + > libavcodec/allcodecs.c | 1473 >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread wm4
On Thu, 1 Feb 2018 02:06:52 +0100 Michael Niedermayer wrote: > On Wed, Jan 31, 2018 at 12:24:43PM +0100, wm4 wrote: > > On Wed, 31 Jan 2018 12:11:25 +0100 > > Michael Niedermayer wrote: > > > > > On Wed, Jan 31, 2018 at 10:03:58AM +0100, wm4

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/huffyuvdec: Check input buffer size

2018-01-31 Thread Michael Niedermayer
On Wed, Jan 31, 2018 at 07:56:06PM +0100, Paul B Mahol wrote: > On 1/31/18, Michael Niedermayer wrote: > > Fixes: Timeout > > Fixes: 5487/clusterfuzz-testcase-4696837035393024 > > > > Found-by: continuous fuzzing process > >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Michael Niedermayer
On Thu, Feb 01, 2018 at 02:06:52AM +0100, Michael Niedermayer wrote: [...] > > I've also > > mentioned multiple times how the main problem is creating public API > > so filters can be implemented. This is not a trivial task, but adding > > some sort of filter register API is absolutely trivial

Re: [FFmpeg-devel] [PATCH] avformat/bintext: Implement bin_probe()

2018-01-31 Thread Michael Niedermayer
On Wed, Jan 31, 2018 at 05:43:24PM +0100, Carl Eugen Hoyos wrote: > 2018-01-31 15:22 GMT+01:00 Michael Niedermayer : > > Fixes misdetection of sbQ9.bin > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/bintext.c | 49 > >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Michael Niedermayer
On Wed, Jan 31, 2018 at 12:24:43PM +0100, wm4 wrote: > On Wed, 31 Jan 2018 12:11:25 +0100 > Michael Niedermayer wrote: > > > On Wed, Jan 31, 2018 at 10:03:58AM +0100, wm4 wrote: > > > On Wed, 31 Jan 2018 09:08:23 +0100 > > > Tobias Rapp wrote: > >

[FFmpeg-devel] [PATCH] delogo will fail if interp is zero.

2018-01-31 Thread wuxiaoyong
With ROUNDED_DIV operation, if the first parameter is 0, it will overflow and return a very large number, delogo will fail. So, if it's zero, just set it to 1, it will not affect the result so much. Signed-off-by: wuxiaoyong --- libavfilter/vf_delogo.c | 2 +- 1 file

Re: [FFmpeg-devel] [mp3] Skip APE tags when parsing mp3 packets.

2018-01-31 Thread Carl Eugen Hoyos
2018-01-30 15:30 GMT+01:00 James Almer : > I recently changed the raw aac demuxer to stop propagating "junk" at the > beginning and end of the stream (things like id3 and ape tags) by > discarding anything that's not a complete frame, but the result was that > it kinda broke

[FFmpeg-devel] Remove carriage return ('\r') in Windows CC_IDENT

2018-01-31 Thread 王消寒
From 07e33b2aa09b8b224ac35a5b56b29490a6486bdf Mon Sep 17 00:00:00 2001 From: Xiaohan Wang Date: Wed, 31 Jan 2018 14:20:02 -0800 Subject: [PATCH] Remove carriage return ('\r') in Windows CC_IDENT Currently the Windows CC_IDENT is ended with '\r\n'. "head -n1" will not remove

[FFmpeg-devel] [PATCH] librsvgdec: Fix frame clearing code

2018-01-31 Thread Calvin Walton
The existing code attempts to clear the frame by painting in OVER mode with transparent black - which is, of course, a no-op. As a result if you have many input frames (e.g. you're using a sequence of svg files), you'll start to see new frames drawn over old frames as memory gets re-used. Fix

[FFmpeg-devel] [PATCH v3 6/6] cmdutils: make use of new iteration APIs

2018-01-31 Thread Josh de Kock
--- fftools/cmdutils.c | 122 +++-- 1 file changed, 43 insertions(+), 79 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 6920ca0..9ecc51b 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -1250,19 +1250,11 @@ int

[FFmpeg-devel] [PATCH v3 5/6] lavd: add new API for iterating input and output devices

2018-01-31 Thread Josh de Kock
This also adds an avpriv function to register devices in libavformat --- configure| 27 +-- libavdevice/alldevices.c | 181 --- libavdevice/avdevice.c | 46 libavdevice/avdevice.h | 28

[FFmpeg-devel] [PATCH v3 1/6] lavc: add new API for iterating codecs and codec parsers

2018-01-31 Thread Josh de Kock
Also replace linked list with an array. --- configure | 12 +- doc/APIchanges |4 + libavcodec/.gitignore |2 + libavcodec/allcodecs.c | 1473 libavcodec/avcodec.h | 31 + libavcodec/parser.c| 84 ++-

[FFmpeg-devel] [PATCH v3 3/6] lavf: add new API for iterating muxers and demuxers

2018-01-31 Thread Josh de Kock
--- configure| 6 +- doc/APIchanges | 7 +- libavformat/.gitignore | 2 + libavformat/allformats.c | 866 --- libavformat/avformat.h | 31 ++ libavformat/format.c | 68 +--- libavformat/version.h| 3 + 7

[FFmpeg-devel] [PATCH v3 4/6] lavf: move fifo test muxer into separate file

2018-01-31 Thread Josh de Kock
This fixes the fate-fifo-muxer test. --- libavformat/Makefile | 2 +- libavformat/allformats.c | 1 + libavformat/fifo_test.c| 150 + libavformat/tests/fifo_muxer.c | 115 +-- 4 files changed, 154

[FFmpeg-devel] [PATCH v3 2/6] lavf/rtp: replace linked list with array

2018-01-31 Thread Josh de Kock
--- libavformat/allformats.c | 4 -- libavformat/rdt.c| 9 +--- libavformat/rdt.h| 5 -- libavformat/rtpdec.c | 138 ++- libavformat/rtpdec.h | 25 +++-- 5 files changed, 100 insertions(+), 81 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/exr: Fix memleaks in decode_header()

2018-01-31 Thread Moritz Barsnick
On Wed, Jan 31, 2018 at 21:04:54 +0100, Moritz Barsnick wrote: > > +ret = AVERROR(ENOMEM);; > ^^ > Duplicate semicolon. This should have given you a new warning. Actually, no warning, yet still not desired.

Re: [FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread Gyan Doshi
On 2/1/2018 1:34 AM, James Almer wrote: No comment about the demuxer selecting demuxer line. That's usually only done when they both share pretty much the exact same code. In this case, if the mpegvideo demuxer isn't enabled, the PS demuxer sends the video stream to the MPEG audio decoder

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/exr: Fix memleaks in decode_header()

2018-01-31 Thread Moritz Barsnick
On Wed, Jan 31, 2018 at 19:20:08 +0100, Michael Niedermayer wrote: > @@ -1458,8 +1465,10 @@ static int decode_header(EXRContext *s, AVFrame *frame) > > s->channels = av_realloc(s->channels, > ++s->nb_channels * > sizeof(EXRChannel)); > -

Re: [FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread James Almer
On 1/31/2018 3:20 PM, Hendrik Leppkes wrote: > On Wed, Jan 31, 2018 at 6:22 PM, Gyan Doshi wrote: >> >> On 1/31/2018 10:18 PM, Carl Eugen Hoyos wrote: >>> >>> >>> While this would help me personally, I don't think it is correct: >>> Many such examples exist, I believe the

Re: [FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread Gyan Doshi
On 1/31/2018 11:50 PM, Hendrik Leppkes wrote: Anyone who wants a very minimal build needs to configure components very carefully, specifically because of these interactions. In this case, how would a non-dev user go about discovering which components other than the 'obvious' ones are

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/huffyuvdec: Check input buffer size

2018-01-31 Thread Paul B Mahol
On 1/31/18, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: 5487/clusterfuzz-testcase-4696837035393024 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread Hendrik Leppkes
On Wed, Jan 31, 2018 at 6:22 PM, Gyan Doshi wrote: > > On 1/31/2018 10:18 PM, Carl Eugen Hoyos wrote: >> >> >> While this would help me personally, I don't think it is correct: >> Many such examples exist, I believe the dependencies are meant to >> ensure compilation, not

[FFmpeg-devel] [PATCH 3/3] avcodec/huffyuvdec: Check input buffer size

2018-01-31 Thread Michael Niedermayer
Fixes: Timeout Fixes: 5487/clusterfuzz-testcase-4696837035393024 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/huffyuvdec.c | 3 +++ 1 file changed, 3 insertions(+)

[FFmpeg-devel] [PATCH 1/3] avcodec/exr: Fix memleaks in decode_header()

2018-01-31 Thread Michael Niedermayer
Fixes: 4793/clusterfuzz-testcase-minimized-5707366629638144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/exr.c | 82

[FFmpeg-devel] [PATCH 2/3] avcodec/aacsbr_fixed: Fix overflows in rounding in sbr_hf_assemble()

2018-01-31 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 2052929346 + 204817098 cannot be represented in type 'int' Fixes: 5275/clusterfuzz-testcase-minimized-5367635958038528 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread Gyan Doshi
On 1/31/2018 10:18 PM, Carl Eugen Hoyos wrote: While this would help me personally, I don't think it is correct: Many such examples exist, I believe the dependencies are meant to ensure compilation, not necessarily specific use-cases. Compilation in its own does succeed. And that's the

Re: [FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread Carl Eugen Hoyos
2018-01-31 11:03 GMT+01:00 Gyan Doshi : > > MPEG-1/2 video streams in MPEG-PS containers fail to be identified unless > the raw MPEG video demuxer is also enabled. Once identified, decoding for > these streams, whether as ES or in PS, isn't error-free unless the mpegvideo >

Re: [FFmpeg-devel] [PATCH] avformat/bintext: Implement bin_probe()

2018-01-31 Thread Carl Eugen Hoyos
2018-01-31 15:22 GMT+01:00 Michael Niedermayer : > Fixes misdetection of sbQ9.bin > > Signed-off-by: Michael Niedermayer > --- > libavformat/bintext.c | 49 - > 1 file changed, 48 insertions(+), 1

[FFmpeg-devel] [PATCH] vc2enc: prevent bitrate overshoots

2018-01-31 Thread James Darnley
From: Rostislav Pehlivanov The rounding caused by the size scaler wasn't compensated for and the slice sizes grew beyond what is allowed per frame. Signed-off-by: Rostislav Pehlivanov --- libavcodec/vc2enc.c | 22 ++ 1 file changed,

[FFmpeg-devel] [PATCH] avformat/bintext: Implement bin_probe()

2018-01-31 Thread Michael Niedermayer
Fixes misdetection of sbQ9.bin Signed-off-by: Michael Niedermayer --- libavformat/bintext.c | 49 - 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/libavformat/bintext.c b/libavformat/bintext.c index

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread wm4
On Wed, 31 Jan 2018 11:52:14 + Mark Thompson wrote: > >> On the other side, you get rid of a field in AVFilter and avoid having to > >> put some pointless boilerplate in a lot of places. > > > > The other solution is to initialize next pointer on > >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Mark Thompson
On 31/01/18 10:37, Muhammad Faiz wrote: > On Wed, Jan 31, 2018 at 5:26 AM, Mark Thompson wrote: >> On 30/01/18 18:06, Muhammad Faiz wrote: >>> On Tue, Jan 30, 2018 at 9:09 PM, Mark Thompson wrote: On 30/01/18 07:24, Muhammad Faiz wrote: > Move

Re: [FFmpeg-devel] [CLT2018] FFmpeg at Chemnitzer Linux-Tage

2018-01-31 Thread Thilo Borgmann
Am 31.01.18 um 12:38 schrieb Thilo Borgmann: > ... sorry old thread... ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [CLT2018] FFmpeg at Chemnitzer Linux-Tage

2018-01-31 Thread Thilo Borgmann
Hi, once again, FFmpeg has been accepted for CLT 2018 in Chemnitz, Germany! This "Chemnitzer Linux Tage" will take place on 10th and 11th of March. You can find more details on their homepage: https://chemnitzer.linux-tage.de/2018/en/ Thus once again, we will man a booth with our staff and are

[FFmpeg-devel] [CLT2018] FFmpeg at Chemnitzer Linux-Tage

2018-01-31 Thread Thilo Borgmann
Hi, once again, FFmpeg has been accepted for CLT 2018 in Chemnitz, Germany! This "Chemnitzer Linux Tage" will take place on 10th and 11th of March. You can find more details on their homepage: https://chemnitzer.linux-tage.de/2018/en/ Thus once again, we will man a booth with our staff and are

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread wm4
On Wed, 31 Jan 2018 12:11:25 +0100 Michael Niedermayer wrote: > On Wed, Jan 31, 2018 at 10:03:58AM +0100, wm4 wrote: > > On Wed, 31 Jan 2018 09:08:23 +0100 > > Tobias Rapp wrote: > > > > > On 30.01.2018 20:37, Michael Niedermayer wrote: > > >

Re: [FFmpeg-devel] [PATCH] hwcontext_vaapi: add iHD open source driver.

2018-01-31 Thread Mark Thompson
On 31/01/18 00:35, Jun Zhao wrote: > Now FFmpeg-VAAPI work with iHD open source driver > (https://github.com/intel/media-driver) initiatory. > > From 069611945880643aad6ffb5ea70b732f40bbb510 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Wed, 31 Jan 2018 08:21:30 +0800 >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Michael Niedermayer
On Wed, Jan 31, 2018 at 10:03:58AM +0100, wm4 wrote: > On Wed, 31 Jan 2018 09:08:23 +0100 > Tobias Rapp wrote: > > > On 30.01.2018 20:37, Michael Niedermayer wrote: > > > On Tue, Jan 30, 2018 at 08:27:27PM +0700, Muhammad Faiz wrote: > > >> On Tue, Jan 30, 2018 at 7:50

Re: [FFmpeg-devel] [PATCH] id3v2: fix unsynchronization

2018-01-31 Thread wm4
On Wed, 31 Jan 2018 11:34:27 +0100 Michael Niedermayer wrote: > On Tue, Jan 30, 2018 at 01:43:25PM +0100, wm4 wrote: > > The ID3v2 "unsynchronization scheme" requires replacing any 0xFF 0x00 > > sequences with 0xFF. This has to be done on every byte of the source > >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Muhammad Faiz
On Wed, Jan 31, 2018 at 5:26 AM, Mark Thompson wrote: > On 30/01/18 18:06, Muhammad Faiz wrote: >> On Tue, Jan 30, 2018 at 9:09 PM, Mark Thompson wrote: >>> On 30/01/18 07:24, Muhammad Faiz wrote: Move REGISTER_FILTER to FILTER_TABLE in configure. Auto

Re: [FFmpeg-devel] [PATCH] id3v2: fix unsynchronization

2018-01-31 Thread Michael Niedermayer
On Tue, Jan 30, 2018 at 01:43:25PM +0100, wm4 wrote: > The ID3v2 "unsynchronization scheme" requires replacing any 0xFF 0x00 > sequences with 0xFF. This has to be done on every byte of the source > data, while the current code skipped a byte after a replacement. This > meant 0xFF 0x00 0xFF 00 was

[FFmpeg-devel] [PATCH] configure - add dependencies for MPEG-PS and MPEG-ES demuxers

2018-01-31 Thread Gyan Doshi
MPEG-1/2 video streams in MPEG-PS containers fail to be identified unless the raw MPEG video demuxer is also enabled. Once identified, decoding for these streams, whether as ES or in PS, isn't error-free unless the mpegvideo parser is enabled. Patch adds these dependencies. MPEG-1/2 videos

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Tobias Rapp
On 31.01.2018 10:03, wm4 wrote: On Wed, 31 Jan 2018 09:08:23 +0100 Tobias Rapp wrote: On 30.01.2018 20:37, Michael Niedermayer wrote: On Tue, Jan 30, 2018 at 08:27:27PM +0700, Muhammad Faiz wrote: On Tue, Jan 30, 2018 at 7:50 PM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH v3] avcodec/libopus: support disabling phase inversion.

2018-01-31 Thread Menno de Gier
On Fri, Jan 26, 2018 at 11:30 AM, Menno de Gier wrote: > From: Menno > > This supports disabling phase inversion in both the libopus encoder and the > decoder. > > Signed-off-by: Menno > --- > doc/encoders.texi | 5 + >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread wm4
On Wed, 31 Jan 2018 09:08:23 +0100 Tobias Rapp wrote: > On 30.01.2018 20:37, Michael Niedermayer wrote: > > On Tue, Jan 30, 2018 at 08:27:27PM +0700, Muhammad Faiz wrote: > >> On Tue, Jan 30, 2018 at 7:50 PM, Michael Niedermayer > >> wrote: >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-31 Thread Tobias Rapp
On 30.01.2018 20:37, Michael Niedermayer wrote: On Tue, Jan 30, 2018 at 08:27:27PM +0700, Muhammad Faiz wrote: On Tue, Jan 30, 2018 at 7:50 PM, Michael Niedermayer wrote: Its also a step away from supporting plugins. Why plugins matter ? Because having plugin support