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

2018-09-24 Thread Moritz Barsnick
On Sat, Sep 22, 2018 at 15:09:19 +0200, Paul B Mahol wrote: > +@item bn > +Set custom band noise for every one of 15 bands. Nit: Probably need to explain the syntax (15, or upto 15(?), '|' separated integers?). Moritz ___ ffmpeg-devel mailing list ffmp

Re: [FFmpeg-devel] [PATCH v2 1/5] vaapi_encode: Support configurable slices

2018-09-24 Thread Moritz Barsnick
On Sun, Sep 23, 2018 at 22:52:56 +0100, Mark Thompson wrote: > const VAEntrypoint *usable_entrypoints; > -const VAAPIEncodeProfile *profile; > -const AVPixFmtDescriptor *desc; > +const VAAPIEncodeProfile *profile;const AVPixFmtDescriptor *desc; This change doesn't look intenti

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

2018-09-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- configure|3 + doc/filters.texi | 67 ++ libavfilter/Makefile |1 + libavfilter/af_afftdn.c | 1345 ++ libavfilter/allfilters.c |1 + 5 files changed, 1417 insertions(+) create mode 100

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread James Courtier-Dutton
From 6c74670e047bfc9e995c0f968c1688be768d13bd Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Mon, 24 Sep 2018 12:34:54 +0100 Subject: [PATCH] avformat/segment: strftime date sub-directories Automatically create sub-directories if needed based on date. E.g. ffmpeg ... -timelimit 21474

[FFmpeg-devel] [PATCH] avdevice/decklink: Add option to align Capture start time

2018-09-24 Thread Karthick J
From: Karthick Jeyapal This option is useful for maintaining input synchronization across N different hardware devices deployed for 'N-way' redundancy. The system time of different hardware devices should be synchronized with protocols such as NTP or PTP, before using this option. --- doc/indevs

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread James Courtier-Dutton
Updated patch is here: https://patchwork.ffmpeg.org/patch/10469/ Functionalist has not changed. It has been updated to apply to the latest master branch. On 22 September 2018 at 17:26, Michael Niedermayer wrote: > On Thu, Nov 30, 2017 at 11:07:03PM +, James Courtier-Dutton wrote: > > > > >

Re: [FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL

2018-09-24 Thread Paul B Mahol
On 9/24/18, Steven Liu wrote: > fix ticket: 7455 > > Signed-off-by: Steven Liu > --- > libavfilter/dnn_interface.c | 4 > libavfilter/vf_sr.c | 7 ++- > 2 files changed, 10 insertions(+), 1 deletion(-) > probably ok. ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread Moritz Barsnick
On Mon, Sep 24, 2018 at 12:39:42 +0100, James Courtier-Dutton wrote: > Automatically create sub-directories if needed based on date. > E.g. > ffmpeg ... -timelimit 2147483647 -f segment -strftime 1 -segment_time 10 > "%Y/%m/%d/%Y-%m-%d_%H-%M-%S.mkv" [...] > +static int mkdir_p(const char *path) {

[FFmpeg-devel] [PATCH] avformat/utils: move mkdir_p to utils

2018-09-24 Thread Steven Liu
Because it will be used by avformat/segment.c or other module which need to automatically create sub-directories operation. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 37 ++--- libavformat/internal.h | 8 libavformat/utils.c| 34 +

Re: [FFmpeg-devel] [PATCHv2 1/7] avformat/ip: factorize some IP filtering and resolving functions to a new file

2018-09-24 Thread Michael Niedermayer
On Mon, Sep 24, 2018 at 08:49:27AM +0200, Marton Balint wrote: > These are based on the very similar UDP and RTP protocol functions. > > Signed-off-by: Marton Balint > --- > libavformat/ip.c | 159 > +++ > libavformat/ip.h | 72 ++

Re: [FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL

2018-09-24 Thread Pedro Arthur
2018-09-24 0:35 GMT-03:00 Steven Liu : > fix ticket: 7455 > > Signed-off-by: Steven Liu > --- > libavfilter/dnn_interface.c | 4 > libavfilter/vf_sr.c | 7 ++- > 2 files changed, 10 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/dnn_interface.c b/libavfilter/dnn_inter

Re: [FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL

2018-09-24 Thread Steven Liu
> On Sep 24, 2018, at 21:52, Pedro Arthur wrote: > > 2018-09-24 0:35 GMT-03:00 Steven Liu : > >> fix ticket: 7455 >> >> Signed-off-by: Steven Liu >> --- >> libavfilter/dnn_interface.c | 4 >> libavfilter/vf_sr.c | 7 ++- >> 2 files changed, 10 insertions(+), 1 deletion(-) >>

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: Add option to align Capture start time

2018-09-24 Thread Devin Heitmueller
Hello Karthick, > On Sep 24, 2018, at 7:49 AM, Karthick J wrote: > > From: Karthick Jeyapal > > This option is useful for maintaining input synchronization across N > different hardware devices deployed for 'N-way' redundancy. > The system time of different hardware devices should be synchron

[FFmpeg-devel] [PATCH] avfilter/vf_curves: add planar rgb support

2018-09-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_curves.c | 194 +-- tests/ref/fate/filter-curves | 10 +- 2 files changed, 146 insertions(+), 58 deletions(-) diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c index 19ab789152..883cc1c90c 100644 --

[FFmpeg-devel] h264 decoding question

2018-09-24 Thread Jimmy Bhaktha
Hi I am working on an application based on FFMPEG version 3.4.2 where the RTSP packets from the camera are captured and store using python. The decoder application is run later. The application receives a byte array which is the actual packet. The goal is to decode the received packet and conver

Re: [FFmpeg-devel] [PATCH] avformat/ivfenc: fix writing codec tag

2018-09-24 Thread Jan Ekström
On Mon, Sep 24, 2018 at 3:57 AM, James Almer wrote: > The value in AVCodecParameters->codec_tag may not be correct for IVF, > as it's the case when remuxing AV1 streams from mp4, so ignore it and > write the correct value based on codec ID instead. > > Signed-off-by: James Almer > --- > libavfor

Re: [FFmpeg-devel] h264 decoding question

2018-09-24 Thread Lou Logan
On Mon, Sep 24, 2018, at 8:43 AM, Jimmy Bhaktha wrote: > Hi > > I am working on an application based on FFMPEG version 3.4.2 where the RTSP > packets from the camera are captured and store using python. The decoder > application is run later. The application receives a byte array which is > the

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-24 Thread James Courtier-Dutton
On 24 September 2018 at 13:48, Moritz Barsnick wrote: > On Mon, Sep 24, 2018 at 12:39:42 +0100, James Courtier-Dutton wrote: > > > Automatically create sub-directories if needed based on date. > > E.g. > > ffmpeg ... -timelimit 2147483647 -f segment -strftime 1 -segment_time 10 > "%Y/%m/%d/%Y-%m-

Re: [FFmpeg-devel] [PATCH] avformat/ivfenc: fix writing codec tag

2018-09-24 Thread James Almer
On 9/24/2018 2:54 PM, Jan Ekström wrote: > On Mon, Sep 24, 2018 at 3:57 AM, James Almer wrote: >> The value in AVCodecParameters->codec_tag may not be correct for IVF, >> as it's the case when remuxing AV1 streams from mp4, so ignore it and >> write the correct value based on codec ID instead. >>

Re: [FFmpeg-devel] h264 decoding question

2018-09-24 Thread Jimmy Bhaktha
Sorry about that - thanks I will follow up on that mailing list. -- Jimmy On Mon, Sep 24, 2018 at 11:46 AM Lou Logan wrote: > On Mon, Sep 24, 2018, at 8:43 AM, Jimmy Bhaktha wrote: > > Hi > > > > I am working on an application based on FFMPEG version 3.4.2 where the > RTSP > > packets from the

Re: [FFmpeg-devel] cache: read ahead to avoid excessive small requests

2018-09-24 Thread Michael Niedermayer
On Sun, Sep 23, 2018 at 08:52:06PM +0200, Robert Nagy wrote: > On Sun, Sep 23, 2018 at 1:40 PM Michael Niedermayer > wrote: > > > > On Sat, Sep 22, 2018 at 07:32:28PM +0200, Robert Nagy wrote: > > > diff --git a/libavformat/cache.c b/libavformat/cache.c > > > index 66bbbf54c9..48ff5ab363 100644 >

Re: [FFmpeg-devel] [PATCH v2] lavf/mxfenc: support creating s436m data tracks

2018-09-24 Thread Baptiste Coudurier
On Thu, Jul 19, 2018 at 2:32 PM Michael Niedermayer wrote: > On Wed, Jul 04, 2018 at 03:06:54PM -0700, Baptiste Coudurier wrote: > > --- > > libavformat/mxf.c| 1 + > > libavformat/mxfdec.c | 2 ++ > > libavformat/mxfenc.c | 41 + > > libavformat/uti

Re: [FFmpeg-devel] [PATCH] avformat/utils: set AV_PKT_FLAG_KEY for data packets

2018-09-24 Thread Baptiste Coudurier
On Tue, Aug 21, 2018 at 12:19 PM Baptiste Coudurier < baptiste.coudur...@gmail.com> wrote: > On Mon, Jul 30, 2018 at 11:16 AM, Baptiste Coudurier < > baptiste.coudur...@gmail.com> wrote: > >> --- >> libavformat/utils.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/li

Re: [FFmpeg-devel] [PATCH 2/9] avcodec/gdv: Replace divisions by shifts in rescale()

2018-09-24 Thread Michael Niedermayer
On Mon, Aug 20, 2018 at 12:42:29AM +0200, Michael Niedermayer wrote: > On Sun, Aug 05, 2018 at 11:55:06PM +0200, Nicolas George wrote: > > Michael Niedermayer (2018-08-05): > > > thats done in the next patch > > > > Indeed, except for the part where the variable are turned to unsigned to > > let t

Re: [FFmpeg-devel] [PATCH] avcodec: add an AV1 parser

2018-09-24 Thread Mark Thompson
On 24/09/18 01:12, James Almer wrote: > Simple parser to set keyframes, frame type, structure, width, height, and > pixel > format, plus stream profile and level. > > Signed-off-by: James Almer > --- > Missing Changelog entry and version bump. > > This depends on "[PATCH v2 2/3] lavc: Add coded

Re: [FFmpeg-devel] [PATCH] avcodec: add an AV1 parser

2018-09-24 Thread James Almer
On 9/24/2018 8:41 PM, Mark Thompson wrote: > On 24/09/18 01:12, James Almer wrote: >> Simple parser to set keyframes, frame type, structure, width, height, and >> pixel >> format, plus stream profile and level. >> >> Signed-off-by: James Almer >> --- >> Missing Changelog entry and version bump. >

Re: [FFmpeg-devel] [PATCH v2 1/5] vaapi_encode: Support configurable slices

2018-09-24 Thread myp...@gmail.com
On Mon, Sep 24, 2018 at 5:53 AM Mark Thompson wrote: > > This adds common code to query driver support and set appropriate > address/size information for each slice. It only supports rectangular > slices for now, since that is the most common use-case. > --- Tested and verified with media-driver

[FFmpeg-devel] [PATCH 1/2] avcodec/wcmv: Fix integer overflows

2018-09-24 Thread Michael Niedermayer
Fixes: signed integer overflow: 262140 * 65535 cannot be represented in type 'int' Fixes: 10090/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5691269368512512 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Micha

[FFmpeg-devel] [PATCH 2/2] avcodec/scpr: Skip frames which change nothing

2018-09-24 Thread Michael Niedermayer
Fixes: Timeout Fixes: 10292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5687943864254464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/scpr.c | 4 +++- 1 file changed, 3 in

Re: [FFmpeg-devel] [PATCH] libavcodec/vp8dec: fix the multi-thread HWAccel decode error

2018-09-24 Thread Xiang, Haihao
On Fri, 2018-09-21 at 16:05 +0800, myp...@gmail.com wrote: > On Fri, Sep 21, 2018 at 12:08 PM Xiang, Haihao wrote: > > > > On Thu, 2018-08-09 at 15:09 +0800, Jun Zhao wrote: > > > the root cause is update_dimentions call get_pixel_format will > > > > Typo? s/dimentions/dimensions. And I see the