[FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-01 Thread zhangjiejun1992
From: Jiejun Zhang This fixes #6940 --- libavcodec/audiotoolboxenc.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c index 71885d1530..b70375a692 100644 --- a/libavcodec/audiotoolboxenc.c +++ b/l

[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Signal http end of chunk(http_shutdown) explicitly

2018-01-01 Thread Karthick J
From: Karthick Jeyapal Currently http end of chunk is signalled implicitly in dashenc_io_open(). This mean playlists http writes would have to wait upto a segment duration to signal end of chunk causing delays. This patch will fix that problem and improve performance. --- libavformat/dashenc.c

[FFmpeg-devel] [PATCH 1/2] avformat/dashenc: Fix a resource leak when http persistent in enabled

2018-01-01 Thread Karthick J
From: Karthick Jeyapal --- libavformat/dashenc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 3345b89..c4c112b 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1,6 +1,7 @@ /* * MPEG-DASH ISO BMFF segment

[FFmpeg-devel] [PATCH] doc/codecs: Add missing documentation for hwaccel_flags.

2018-01-01 Thread Jun Zhao
From e030510864c28d4b17c8d1eb09ab00f274bf5dcc Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Tue, 2 Jan 2018 13:55:29 +0800 Subject: [PATCH] doc/codecs: Add missing documentation for hwaccel_flags. document the hwaccel_flags option for decoding. Signed-off-by: Jun Zhao --- doc/codecs.texi | 27

Re: [FFmpeg-devel] [PATCH v3 3/3] avformat/hlsenc: creation of variant streams in subdirectories

2018-01-01 Thread Vishwanath Dixit
On 1/2/18 8:34 AM, Steven Liu wrote: 2017-12-29 18:20 GMT+08:00 Steven Liu : 2017-12-26 19:17 GMT+08:00 : From: Vishwanath Dixit --- doc/muxers.texi | 33 - libavformat/hlsenc.c | 68 +--- 2 files changed, 92

Re: [FFmpeg-devel] [FFmpeg-cvslog] w32pthreads: always use Vista+ API, drop XP support

2018-01-01 Thread Michael Niedermayer
On Tue, Jan 02, 2018 at 03:58:14AM +0100, Michael Niedermayer wrote: > On Tue, Jan 02, 2018 at 03:55:18AM +0100, Michael Niedermayer wrote: > > On Tue, Dec 26, 2017 at 01:50:08AM +, wm4 wrote: > > > ffmpeg | branch: master | wm4 | Thu Dec 21 > > > 20:23:14 2017 +0100| [9b121dfc328102509380219

Re: [FFmpeg-devel] [PATCH v3 3/3] avformat/hlsenc: creation of variant streams in subdirectories

2018-01-01 Thread Steven Liu
2017-12-29 18:20 GMT+08:00 Steven Liu : > 2017-12-26 19:17 GMT+08:00 : >> From: Vishwanath Dixit >> >> --- >> doc/muxers.texi | 33 - >> libavformat/hlsenc.c | 68 >> +--- >> 2 files changed, 92 insertions(+), 9 deleti

Re: [FFmpeg-devel] [FFmpeg-cvslog] w32pthreads: always use Vista+ API, drop XP support

2018-01-01 Thread James Almer
On 1/1/2018 11:58 PM, Michael Niedermayer wrote: > On Tue, Jan 02, 2018 at 03:55:18AM +0100, Michael Niedermayer wrote: >> On Tue, Dec 26, 2017 at 01:50:08AM +, wm4 wrote: >>> ffmpeg | branch: master | wm4 | Thu Dec 21 20:23:14 >>> 2017 +0100| [9b121dfc32810250938021952aab4172a988cb56] | comm

Re: [FFmpeg-devel] [FFmpeg-cvslog] w32pthreads: always use Vista+ API, drop XP support

2018-01-01 Thread Michael Niedermayer
On Tue, Jan 02, 2018 at 03:55:18AM +0100, Michael Niedermayer wrote: > On Tue, Dec 26, 2017 at 01:50:08AM +, wm4 wrote: > > ffmpeg | branch: master | wm4 | Thu Dec 21 20:23:14 > > 2017 +0100| [9b121dfc32810250938021952aab4172a988cb56] | committer: wm4 > > > > w32pthreads: always use Vista+ A

Re: [FFmpeg-devel] [FFmpeg-cvslog] w32pthreads: always use Vista+ API, drop XP support

2018-01-01 Thread Michael Niedermayer
On Tue, Dec 26, 2017 at 01:50:08AM +, wm4 wrote: > ffmpeg | branch: master | wm4 | Thu Dec 21 20:23:14 > 2017 +0100| [9b121dfc32810250938021952aab4172a988cb56] | committer: wm4 > > w32pthreads: always use Vista+ API, drop XP support > > This removes the XP compatibility code, and switches e

Re: [FFmpeg-devel] [PATCH 3/7] avfilter/vf_framerate: factorize blend_frames

2018-01-01 Thread Michael Niedermayer
On Sun, Dec 10, 2017 at 11:11:18PM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavfilter/vf_framerate.c | 54 > ++ > 1 file changed, 7 insertions(+), 47 deletions(-) This broke fate-filter-framerate-up on x86-32 (gcc 4.8 (Ubun

Re: [FFmpeg-devel] [PATCH][RFC]lavu/mem: Allow allocations close to max_alloc_size with av_fast_realloc()

2018-01-01 Thread Carl Eugen Hoyos
2018-01-02 1:14 GMT+01:00 Michael Niedermayer : > On Mon, Jan 01, 2018 at 11:10:57PM +0100, Carl Eugen Hoyos wrote: >> Hi! >> >> Similar reason as last mem.c patch: av_fast_realloc() can currently >> fail in situations where the allocation is possible and allowed. >> The patch does not change behav

Re: [FFmpeg-devel] [PATCH 1/3] lavc/options: Remove unneeded header

2018-01-01 Thread Michael Niedermayer
On Mon, Jan 01, 2018 at 04:21:40PM +, Derek Buitenhuis wrote: > Signed-off-by: Derek Buitenhuis > --- > libavcodec/options.c | 1 - > 1 file changed, 1 deletion(-) probably ok thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not spea

Re: [FFmpeg-devel] [PATCH][RFC]lavu/mem: Allow allocations close to max_alloc_size with av_fast_realloc()

2018-01-01 Thread Michael Niedermayer
On Mon, Jan 01, 2018 at 11:10:57PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Similar reason as last mem.c patch: av_fast_realloc() can currently > fail in situations where the allocation is possible and allowed. > The patch does not change behaviour for the failure case, if this is > wanted, it sho

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-01 Thread Mark Thompson
On 29/12/17 07:06, Zhong Li wrote: > Add the flag "AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX" to indicate > AVCodecContext.hw_device_ctx should be set before calling > avcodec_open2() for qsv decoding. > It is consistent with examples/qsvdec.c. > > It also can make function "hw_device_match_by_codec

Re: [FFmpeg-devel] [PATCH] avcodec/utvideoenc: switch to planar RGB formats

2018-01-01 Thread Carl Eugen Hoyos
2017-12-31 18:45 GMT+01:00 Derek Buitenhuis : > On 12/31/2017 2:04 PM, Carl Eugen Hoyos wrote: >> This is not helpful;-( >> Is it so unlikely that the patch has small gain for gbr >> (theoretically compensated by existing fast conversion >> from gbr to rgb) but large impact for rgb (with slow >> co

[FFmpeg-devel] [PATCH][RFC]lavu/mem: Allow allocations close to max_alloc_size with av_fast_realloc()

2018-01-01 Thread Carl Eugen Hoyos
Hi! Similar reason as last mem.c patch: av_fast_realloc() can currently fail in situations where the allocation is possible and allowed. The patch does not change behaviour for the failure case, if this is wanted, it should be done separately. Please comment, Carl Eugen From ac69f4e8402f7c7ee6df0

Re: [FFmpeg-devel] [PATCH][RFC]lavu/mem: Do not realloc in av_fast_alloc() if size == min_size

2018-01-01 Thread Carl Eugen Hoyos
2018-01-01 18:47 GMT+01:00 Paul B Mahol : > On 12/30/17, Carl Eugen Hoyos wrote: >> 2017-12-30 17:24 GMT+01:00 Derek Buitenhuis : >>> On 12/30/2017 1:44 PM, Carl Eugen Hoyos wrote: FFmpeg has an arbitrary allocation limit (2G iirc), av_fast_realloc() increases the allocation even if the

Re: [FFmpeg-devel] [PATCH]lavf/mov: Do not blindly allocate stts entries

2018-01-01 Thread Carl Eugen Hoyos
2018-01-01 16:17 GMT+01:00 Michael Niedermayer : > On Sun, Dec 31, 2017 at 10:35:28PM +0100, Carl Eugen Hoyos wrote: >> 2017-12-31 22:26 GMT+01:00 Carl Eugen Hoyos : >> > 2017-12-31 22:17 GMT+01:00 Michael Niedermayer : >> >> On Sat, Dec 30, 2017 at 02:36:39PM +0100, Carl Eugen Hoyos wrote: >> >>>

Re: [FFmpeg-devel] [PATCH] mpeg4video: Add support for MPEG-4 Simple Studio Profile.

2018-01-01 Thread Michael Niedermayer
Hi On Fri, Dec 29, 2017 at 03:46:41PM +, Kieran Kunhya wrote: > $subj > > I'm not to happy about the s->block2 stuff, there are many ways of trying > to resolve this (e.g union), so review welcome. > > I will add DPCM support in a later (currently unfinished) patch. > > Kieran sorry for th

Re: [FFmpeg-devel] [PATCH] avfilter: add hilbert source FIR filter

2018-01-01 Thread Moritz Barsnick
On Mon, Jan 01, 2018 at 17:02:13 +0100, Paul B Mahol wrote: > +Generate an odd-tap Hilbert transform FIR coefficients. "an" is singular, "coefficients" is plural. > +The resulted stream can be used with @ref{afir} filter for phase-shifting ^ resulting > +@item win_func, w > +Set window fu

Re: [FFmpeg-devel] [PATCH][RFC]lavu/mem: Do not realloc in av_fast_alloc() if size == min_size

2018-01-01 Thread Paul B Mahol
On 12/30/17, Carl Eugen Hoyos wrote: > 2017-12-30 17:24 GMT+01:00 Derek Buitenhuis : >> On 12/30/2017 1:44 PM, Carl Eugen Hoyos wrote: >>> FFmpeg has an arbitrary allocation limit (2G iirc), av_fast_realloc() >>> increases the allocation even if the requested is equal the already >>> allocated siz

[FFmpeg-devel] [PATCH 2/2] vf_paletteuse: Don't free the second frame from ff_framesync_dualinput_get_writable on error

2018-01-01 Thread Derek Buitenhuis
This fixes a double free in he error case. Signed-off-by: Derek Buitenhuis --- This does fix the double free, but I am unsure if it is the correct free to removed to fix it. Comments welcome. --- libavfilter/vf_paletteuse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/vf_palett

[FFmpeg-devel] [PATCH 1/3] lavc/options: Remove unneeded header

2018-01-01 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis --- libavcodec/options.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/options.c b/libavcodec/options.c index 82e1217..41b6052 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -30,7 +30,6 @@ #include "libavutil/internal.h" #include

[FFmpeg-devel] [PATCH 1/2] vf_paletteuse: Add error checking to apply_palette

2018-01-01 Thread Derek Buitenhuis
This fixes a segfault caused by passing NULL to ff_filter_frame when an error occurs. Signed-off-by: Derek Buitenhuis --- libavfilter/vf_paletteuse.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_palett

[FFmpeg-devel] [PATCH 0/2] Smll vf_paletteuse error branch fixes

2018-01-01 Thread Derek Buitenhuis
Found via nullfuzer. Repro'd via: FUZZ_SEED=1514396029 /home/daemon404/ffmpeg/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none \ -threads 1 -thread_type frame+slice -i /home/daemon404/FATE/filter/anim.mkv -hwaccel none -threads 1 \ -thread_type frame+slice -i /home/daemon404/FATE/fil

Re: [FFmpeg-devel] [PATCH] avfilter: add hilbert source FIR filter

2018-01-01 Thread Paul B Mahol
On 1/1/18, Carl Eugen Hoyos wrote: > 2018-01-01 17:02 GMT+01:00 Paul B Mahol : > >> +float *dst; > > Write-only variable. > Removed locally. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter: add hilbert source FIR filter

2018-01-01 Thread Carl Eugen Hoyos
2018-01-01 17:02 GMT+01:00 Paul B Mahol : > +float *dst; Write-only variable. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter: add hilbert source FIR filter

2018-01-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 28 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/asrc_hilbert.c | 201 + 4 files changed, 231 insertions(+) create mode 100644 libavfilter/asrc

Re: [FFmpeg-devel] [PATCH 2/6] fftools, tools, examples: migrate to AVFormatContext->url

2018-01-01 Thread Michael Niedermayer
On Sat, Dec 30, 2017 at 10:16:02PM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > doc/examples/transcode_aac.c | 7 +-- > fftools/ffmpeg.c | 16 > fftools/ffmpeg_opt.c | 8 > fftools/ffplay.c | 6 +++--- > fftool

Re: [FFmpeg-devel] [PATCH 6/6] avformat: deprecate AVFormatContext filename field

2018-01-01 Thread Michael Niedermayer
On Sat, Dec 30, 2017 at 10:16:06PM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > doc/APIchanges | 4 > libavformat/avformat.h | 5 + > libavformat/mux.c | 10 ++ > libavformat/utils.c| 8 > libavformat/version.h | 5 - > 5 f

Re: [FFmpeg-devel] [PATCH]lavf/mov: Do not blindly allocate stts entries

2018-01-01 Thread Michael Niedermayer
On Sun, Dec 31, 2017 at 10:35:28PM +0100, Carl Eugen Hoyos wrote: > 2017-12-31 22:26 GMT+01:00 Carl Eugen Hoyos : > > 2017-12-31 22:17 GMT+01:00 Michael Niedermayer : > >> On Sat, Dec 30, 2017 at 02:36:39PM +0100, Carl Eugen Hoyos wrote: > >>> 2017-12-29 23:37 GMT+01:00 Carl Eugen Hoyos : > >>> > 2

Re: [FFmpeg-devel] [PATCH] configure: check SDL2 function with a header

2018-01-01 Thread KO Myung-Hun
Hi/2. Derek Buitenhuis wrote: > On 12/29/2017 6:36 AM, KO Myung-Hun wrote: >> Sorry about that. >> >> SDL2 uses SDLCALL to specify a calling convention. On OS/2, it's defined >> to `_System' which is similar to `_cdecl' but does not prepend '_'. >> >> After all, without a header, a function is use

[FFmpeg-devel] [PATCH] doc/fate: Document how to upload samples to the fate suite

2018-01-01 Thread Michael Niedermayer
Suggested-by: Compn Signed-off-by: Michael Niedermayer --- doc/fate.texi | 20 1 file changed, 20 insertions(+) diff --git a/doc/fate.texi b/doc/fate.texi index 7a96c25..c9c0d3a 100644 --- a/doc/fate.texi +++ b/doc/fate.texi @@ -147,6 +147,26 @@ process. The only thing lef

[FFmpeg-devel] [PATCH 0/1] mpeg: add experimental support for PSMF audio.

2018-01-01 Thread misty
From: Misty De Meo Fixed by adjusting the type of `bytes_remain` to `uint16_t`, since that's the type returned by the `AV_RB16` macro that it's assigned from. Maxim Poliakovski (1): mpeg: add experimental support for PSMF audio. libavcodec/Makefile| 1 + libavcodec/allcodecs.c

[FFmpeg-devel] [PATCH 1/1] mpeg: add experimental support for PSMF audio.

2018-01-01 Thread misty
From: Maxim Poliakovski Changes by Misty De Meo : atrac3plus_parser: remove return statements for invalid data atrac3plus_parser: use libavcodec's oma atrac3plus_parser: pass along unexpected data unaltered atrac3plus_parser: adjust bytes_remain type Change by Michael "Bazz" Bazzinotti : at

[FFmpeg-devel] [PATCH 1/1] psmf: add FATE tests

2018-01-01 Thread misty
From: Misty De Meo --- tests/Makefile | 1 + tests/fate/psmf.mak | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 tests/fate/psmf.mak diff --git a/tests/Makefile b/tests/Makefile index fd3713fe81..c569091fcb 100644 --- a/tests/Makefile +++ b/tests/Makefi

[FFmpeg-devel] [PATCH 0/1] psmf: add FATE tests

2018-01-01 Thread misty
From: Misty De Meo Haha, that shows me for copy/pasting from the other tests! Adjusted the name to something PSMF-specific so it doesn't collide; confirmed both sets of tests pass now. Updated patch included. Misty De Meo (1): psmf: add FATE tests tests/Makefile | 1 + tests/fate/psmf.