[FFmpeg-devel] [PATCH] lavfi: Add OpenCL avgblur filter

2018-03-16 Thread dylanf123
From: drfer3 Behaves like the existing avgblur filter, except working on OpenCL hardware frames. Takes exactly the same options. --- configure | 1 + libavfilter/Makefile| 2 + libavfilter/allfilters.c| 1 +

[FFmpeg-devel] [PATCH] fate: add a dca_core bitstream filter test

2018-03-16 Thread James Almer
Signed-off-by: James Almer --- tests/fate/dca.mak | 5 + 1 file changed, 5 insertions(+) diff --git a/tests/fate/dca.mak b/tests/fate/dca.mak index b1681c6b59..fad3a7529e 100644 --- a/tests/fate/dca.mak +++ b/tests/fate/dca.mak @@ -75,5 +75,10 @@ fate-dts_es: CMD = pcm -i

[FFmpeg-devel] MOV: center channel 'chan' metadata

2018-03-16 Thread Courtland Idstrom
Hi - I'm working with a post-production workflow to mux 5.1 wav audio into a mov file (each channel specified as a separate track), with correct channel assignments written as metadata. I'm able to get everything except for the Center channel to appear correctly when viewed in Quicktime, however

[FFmpeg-devel] [PATCH] mov: add channel label support

2018-03-16 Thread Courtland Idstrom
Adds the ability to support writing channel labels to mov files if the layout_tag fails, instead of printing a warning and skipping the tag. This fixes channels such as DL/DR, which will now write to LeftTotal/RightTotal instead of omitting the channel tag. --- Changelog | 1 +

[FFmpeg-devel] [PATCH 2/2] add to changelog

2018-03-16 Thread Courtland Idstrom
--- Changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 7969b414c4..32a93d916a 100644 --- a/Changelog +++ b/Changelog @@ -47,7 +47,7 @@ version : - native SBC encoder and decoder - drmeter audio filter - hapqa_extract bitstream filter - +-

[FFmpeg-devel] [PATCH 1/2] Add option -movflags write_track_title which will write track title metadata. This is useful in conjunction with the metadata flag to specify track title, especially for wor

2018-03-16 Thread Courtland Idstrom
Example: ffmpeg -i in.mov -movflags write_track_title -metadata:s:a:0 title="Eng-FullMix" --- libavformat/movenc.c | 3 ++- libavformat/movenc.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5b1e66c897..3b1a734a0a 100644

[FFmpeg-devel] [PATCH 1/2] avcodec/aac_adtstoasc: move the reference in the bsf internal buffer

2018-03-16 Thread James Almer
There's no need to allocate a new packet for it. Signed-off-by: James Almer --- libavcodec/aac_adtstoasc_bsf.c | 33 ++--- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/libavcodec/aac_adtstoasc_bsf.c

[FFmpeg-devel] [PATCH 2/2] avcodec/noise_bsf: move the reference in the bsf internal buffer

2018-03-16 Thread James Almer
There's no need to allocate a new packet for it. Signed-off-by: James Almer --- libavcodec/noise_bsf.c | 30 -- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c index

[FFmpeg-devel] [PATCH] avcodec/vp9_superframe_split: move the reference in the bsf internal buffer

2018-03-16 Thread James Almer
There's no need to allocate a new packet for it. Signed-off-by: James Almer --- libavcodec/vp9_superframe_split_bsf.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libavcodec/vp9_superframe_split_bsf.c

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Joe Koberg
I'm saying I don't think it needs it - MPEGTS does seem to handle the discontinuous input fine if I just concatenate it. MPEG TS packets themselves do have a discontinuity flag in the adaptation field, but again it looks like it might be working as-is without explicit notification of them. (and

[FFmpeg-devel] [PATCH] avfilter: add hrtfm filter

2018-03-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 60 ++ libavfilter/Makefile | 1 + libavfilter/af_hrtfm.c | 486 +++ libavfilter/allfilters.c | 1 + 4 files changed, 548 insertions(+) create mode 100644

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Bodecs Bela
2018.03.16. 19:52 keltezéssel, wm4 írta: On Fri, 16 Mar 2018 09:58:17 -0400 Joe Koberg wrote: Hello, This patch adds code to track and correct timestamp discontinuities, fixing "non-monotonous dts" errors and timing issues with HLS playlists. For some time, FFmpeg has not

Re: [FFmpeg-devel] [PATCH 3/3] http: fix potentially dangerous whitespace skipping code

2018-03-16 Thread Paul B Mahol
On 3/8/18, wm4 wrote: > If the string consists entirely of whitespace, this could in theory > continue to write '\0' before the start of the memory allocation. In > practice, it didn't really happen: the generic HTTP header parsing code > already skips leading whitespaces,

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Joe Koberg
While HLS has the discontinuity flag, I'm not sure it would add anything that wouldn't be needed anyway without knowledge of it. I think it's valid for MPEG-TS streams to have discontinuous timestamps. It turns out the MPEGTS demuxer deals with the underlying MPEGTS stream just fine in this case,

Re: [FFmpeg-devel] [PATCH]lavfi/deshake: Check alignment before calling asm init function

2018-03-16 Thread James Almer
On 3/16/2018 3:55 PM, Carl Eugen Hoyos wrote: > 2018-03-14 23:50 GMT+01:00, Michael Niedermayer : >> On Sat, Mar 10, 2018 at 08:50:08PM +0100, Carl Eugen Hoyos wrote: >>> Hi! >>> >>> Attached patch fixes ticket #7078 for me. >>> >>> Please comment, Carl Eugen >>>

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread wm4
On Fri, 16 Mar 2018 09:58:17 -0400 Joe Koberg wrote: > Hello, > > This patch adds code to track and correct timestamp discontinuities, fixing > "non-monotonous dts" errors and timing issues with HLS playlists. > > For some time, FFmpeg has not properly handled discontinuous

Re: [FFmpeg-devel] [PATCH]lavfi/deshake: Check alignment before calling asm init function

2018-03-16 Thread Carl Eugen Hoyos
2018-03-14 23:50 GMT+01:00, Michael Niedermayer : > On Sat, Mar 10, 2018 at 08:50:08PM +0100, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch fixes ticket #7078 for me. >> >> Please comment, Carl Eugen > >> vf_deshake.c |8 >> 1 file changed, 4

[FFmpeg-devel] [PATCH] [RFC][WIP] avutil/buffer: add add a dynamnic size buffer pool API

2018-03-16 Thread James Almer
Signed-off-by: James Almer --- This is a proof of concept for a dynamic size buffer pool API. For the purpose of easy testing and reviewing I replaced the current linked list used to keep a pool of fixed size buffers with the tree based pool that will be used to keep a pool of

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

2018-03-16 Thread Lou Logan
On Thu, 15 Mar 2018 18:54:00 +0100 Paul B Mahol wrote: [...] > diff --git a/libavfilter/af_hrtfm.c b/libavfilter/af_hrtfm.c > new file mode 100644 > index 00..48536edd4b > --- /dev/null > +++ b/libavfilter/af_hrtfm.c [...] > +static const AVOption hrtfm_options[] = { >

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

2018-03-16 Thread Paul B Mahol
On 3/16/18, Derek Buitenhuis wrote: > On 3/15/2018 5:54 PM, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/Makefile | 1 + >> libavfilter/af_hrtfm.c | 477 >> +++ >>

Re: [FFmpeg-devel] [PATCH] doc/outdevs: Add declink signal generator example

2018-03-16 Thread Carl Eugen Hoyos
2018-03-15 15:39 GMT+01:00, Marton Balint : > > On Thu, 15 Mar 2018, Carl Eugen Hoyos wrote: > >> 2018-03-09 21:58 GMT+01:00, Marton Balint : >>> >>> On Fri, 9 Mar 2018, Devin Heitmueller wrote: >> Also, isn’t -format_code a capture parameter? Is it even valid

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Joe Koberg
On Fri, Mar 16, 2018 at 11:14 AM, Carl Eugen Hoyos wrote: > 2018-03-16 16:07 GMT+01:00, Joe Koberg : >> On Fri, Mar 16, 2018 at 10:48 AM, Carl Eugen Hoyos >> wrote: >>> >>> 2018-03-16 14:58 GMT+01:00, Joe Koberg : >>> >>> >

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Carl Eugen Hoyos
2018-03-16 16:07 GMT+01:00, Joe Koberg : > On Fri, Mar 16, 2018 at 10:48 AM, Carl Eugen Hoyos > wrote: >> >> 2018-03-16 14:58 GMT+01:00, Joe Koberg : >> >> > How to reproduce: >> > >> > ffmpeg -i

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Joe Koberg
On Fri, Mar 16, 2018 at 10:48 AM, Carl Eugen Hoyos wrote: > > 2018-03-16 14:58 GMT+01:00, Joe Koberg : > > > How to reproduce: > > > > ffmpeg -i https://s3.amazonaws.com/playon-test-videos/discont_ > > test_new/discont_test.m3u8 -c copy -y output.mp4 > > Is

Re: [FFmpeg-devel] [PATCH] lavfi: Add OpenCL avgblur filter

2018-03-16 Thread Carl Eugen Hoyos
2018-03-16 8:33 GMT+01:00, dylanf...@gmail.com : > From: drfer3 > --- /dev/null > +++ b/libavfilter/opencl/avgblur.cl > @@ -0,0 +1,60 @@ > +/* > + * This file is part of FFmpeg. Please add your name. > +for (int xx = max(0,loc.x-rad); xx <

Re: [FFmpeg-devel] [PATCH] area changed:in cfhd height initialization was buggy for chroma plane

2018-03-16 Thread Carl Eugen Hoyos
2018-03-16 11:27 GMT+01:00, Gagandeep Singh : > From: Gagandeep Singh Thank you for the important patch! The first line of the commit message should not start with "area changed" but something similar to "lavc/cfhd: " which means you can also

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Carl Eugen Hoyos
2018-03-16 14:58 GMT+01:00, Joe Koberg : > How to reproduce: > > ffmpeg -i https://s3.amazonaws.com/playon-test-videos/discont_ > test_new/discont_test.m3u8 -c copy -y output.mp4 Is the issue only reproducible if you use hls input or is it also reproducible if you first

Re: [FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Carl Eugen Hoyos
2018-03-16 14:58 GMT+01:00, Joe Koberg : > Hello, > > This patch adds code to track and correct timestamp discontinuities, fixing > "non-monotonous dts" errors and timing issues with HLS playlists. > > For some time, FFmpeg has not properly handled discontinuous timestamps in > the

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

2018-03-16 Thread Derek Buitenhuis
On 3/15/2018 5:54 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/Makefile | 1 + > libavfilter/af_hrtfm.c | 477 > +++ > libavfilter/allfilters.c | 1 + > 3 files changed, 479 insertions(+) >

Re: [FFmpeg-devel] [PATCH] avcodec/openh264enc.c: generate IDR frame in response to I frame pict_type

2018-03-16 Thread Valery Kot
On Wed, Mar 14, 2018 at 2:12 PM, Moritz Barsnick wrote: > > On Mon, Mar 12, 2018 at 14:38:21 -0800, Lou Logan wrote: > > > But you don't necessarily need to make a new patch to address the > > minor whitespace issue. You can wait for other comments and include > > it with any

[FFmpeg-devel] FIX: HLS Discontinuity / Non-Monotonous DTS

2018-03-16 Thread Joe Koberg
Hello, This patch adds code to track and correct timestamp discontinuities, fixing "non-monotonous dts" errors and timing issues with HLS playlists. For some time, FFmpeg has not properly handled discontinuous timestamps in the MPEG-TS stream from Apple HLS playlists. Symptoms include inability

[FFmpeg-devel] [PATCH] area changed:in cfhd height initialization was buggy for chroma plane

2018-03-16 Thread Gagandeep Singh
From: Gagandeep Singh description:when the chroma_y_shift was not present, the FFALIGN used to round the height was unnecessary for 0 chroma shift in y direction. --- libavcodec/cfhd.c | 6 +++--- libavcodec/tests/codec_desc | Bin 0 -> 189776 bytes 2 files

Re: [FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: add the Access Unit Delimiter NAL Unit support

2018-03-16 Thread Li, Zhong
> From: Steven Liu [mailto:l...@chinaffmpeg.org] > Sent: Friday, March 16, 2018 4:34 PM > To: FFmpeg development discussions and patches > > Cc: Steven Liu ; Li, Zhong > Subject: Re: [FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: add

Re: [FFmpeg-devel] [PATCH] Fix iterating of input and output devices

2018-03-16 Thread Timo Rothenpieler
Will push tomorrow unless someone sees a problem with this. smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

2018-03-16 Thread Sven Dueking
> -Ursprüngliche Nachricht- > Von: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] Im Auftrag > von Sven Dueking > Gesendet: Mittwoch, 14. März 2018 08:39 > An: 'FFmpeg development discussions and patches' > Betreff: [FFmpeg-devel] [PATCH] avformat/opensrt: add Haivision Open > SRT

Re: [FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: add the Access Unit Delimiter NAL Unit support

2018-03-16 Thread Steven Liu
> On 16 Mar 2018, at 13:53, Zhong Li wrote: > > Signed-off-by: Zhong Li > --- > libavcodec/qsvenc.c | 1 + > libavcodec/qsvenc.h | 2 ++ > libavcodec/qsvenc_h264.c | 2 ++ > 3 files changed, 5 insertions(+) > > diff --git a/libavcodec/qsvenc.c

Re: [FFmpeg-devel] [PATCH 2/2] avutil/log: print level prefix also when no AVClass context is available

2018-03-16 Thread Tobias Rapp
On 16.03.2018 00:03, Michael Niedermayer wrote: On Wed, Mar 14, 2018 at 09:55:23AM +0100, Tobias Rapp wrote: Adds the level prefix to all log messages, except those with level <= AV_LOG_QUIET as they seem to be used for flushing the log buffer. Signed-off-by: Tobias Rapp

[FFmpeg-devel] [PATCH] lavfi: Add OpenCL avgblur filter

2018-03-16 Thread dylanf123
From: drfer3 Behaves like the existing avgblur filter, except working on OpenCL hardware frames. Takes exactly the same options. --- configure | 1 + libavfilter/Makefile| 2 + libavfilter/allfilters.c| 1 +

Re: [FFmpeg-devel] [PATCH 07/10] lavf: document that AVStream::codecpar may be modified by lavf after avformat_write_header(). This is assumed not to break API because it's already true (see e.g. matr

2018-03-16 Thread Rodger Combs
Could we just declare that lavf can update extradata (and nothing else) if it gets packets with new-extradata side-data? If not, I suppose we could either add something to AVStreamInternal, or do something internal in check_bitstream (and update movenc and matroskaenc, as both exhibit this