[FFmpeg-devel] [PATCH] avfilter/vf_lut3d: fix building with --disable-optimizations

2021-10-10 Thread mindmark
From: Mark Reid --- libavfilter/x86/vf_lut3d_init.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/x86/vf_lut3d_init.c b/libavfilter/x86/vf_lut3d_init.c index 3b3dd18680..db1a152f51 100644 --- a/libavfilter/x86/vf_lut3d_init.c +++ b/libavfilter/x86/vf_lut3d_init.c @@ -48,9 +

Re: [FFmpeg-devel] [PATCH 1/1] avutil/frame: Document the possibility of negative line sizes

2021-10-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Thursday, September 30, 2021 5:31 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/1] avutil/frame: Document the > possibility of negative line sizes > > Signed-off-by: softworkz > --- > li

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_lut3d: add x86-optimized tetrahedral interpolation

2021-10-10 Thread Mark Reid
On Sun, Oct 10, 2021 at 10:29 PM Xiang, Haihao wrote: > On Sat, 2021-10-09 at 15:24 -0700, Mark Reid wrote: > > On Sat, Oct 9, 2021 at 4:11 AM Paul B Mahol wrote: > > > > > will test and apply shortly, why 8bit is not covered? > > > > > > > Thanks for taking the time to test. I didn't do 8bit ye

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_lut3d: add x86-optimized tetrahedral interpolation

2021-10-10 Thread Xiang, Haihao
On Sat, 2021-10-09 at 15:24 -0700, Mark Reid wrote: > On Sat, Oct 9, 2021 at 4:11 AM Paul B Mahol wrote: > > > will test and apply shortly, why 8bit is not covered? > > > > Thanks for taking the time to test. I didn't do 8bit yet because I was > trying to limit my testing matrix, and these happ

[FFmpeg-devel] [PATCH v13 14/14] avfilter/subscale: Add filter for scaling and/or re-arranging graphical subtitles

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- configure | 1 + doc/filters.texi | 159 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_subscale.c | 847 ++ 5 files changed, 1009 insertions(+) create mode 1

[FFmpeg-devel] [PATCH v13 13/14] avfilter/graphicsub2text: Add new graphicsub2text filter (OCR)

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- configure| 1 + doc/filters.texi | 55 ++ libavfilter/Makefile | 2 + libavfilter/allfilters.c | 1 + libavfilter/sf_graphicsub2text.c | 323 +++ 5 files changed, 382 in

[FFmpeg-devel] [PATCH v13 12/14] avfilter/splitcc: Add splitcc filter for closed caption handling

2021-10-10 Thread Soft Works
- splitcc {V -> VS) Extract closed-caption (A53) data from video frames as subtitle Frames ffmpeg -y -loglevel verbose -i "https://streams.videolan.org/streams/ts/CC/NewsStream-608-ac3.ts"; -filter_complex "[0:v]splitcc[vid1],textmod=mode=remove_chars:find='@',[vid1]overlay_textsubs" outpu

[FFmpeg-devel] [PATCH v13 11/14] avfilter/stripstyles: Add stripstyles filter

2021-10-10 Thread Soft Works
- stripstyles {S -> S) Remove all inline styles from subtitle events Signed-off-by: softworkz --- doc/filters.texi | 34 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_stripstyles.c | 191 +++ 4 fi

[FFmpeg-devel] [PATCH v13 10/14] avfilter/textmod: Add textmod, censor and show_speaker filters

2021-10-10 Thread Soft Works
- textmod {S -> S) Modify subtitle text in a number of ways - censor {S -> S) Censor subtitles using a word list - show_speaker {S -> S) Prepend speaker names from ASS subtitles to the visible text lines Signed-off-by: softworkz --- doc/filters.texi | 211 libavfilte

[FFmpeg-devel] [PATCH v13 09/14] avfilter/overlaytextsubs: Add overlaytextsubs and textsubs2video filters

2021-10-10 Thread Soft Works
- overlaytextsubs {VS -> V) Overlay text subtitles onto a video stream. - textsubs2video {S -> V) Converts text subtitles to video frames Signed-off-by: softworkz --- configure| 2 + doc/filters.texi | 113 ++ libavfilter/Makefile |

[FFmpeg-devel] [PATCH v13 08/14] fftools/ffmpeg: Replace sub2video with subtitle frame filtering

2021-10-10 Thread Soft Works
This commit actually enables subtitle filtering in ffmpeg by sending and receiving subtitle frames to and from a filtergraph. The heartbeat functionality from the previous sub2video implementation is retained and applied to all subtitle frames (bitmap, text, ..). The other part of sub2video funct

[FFmpeg-devel] [PATCH v13 07/14] avfilter/overlaygraphicsubs: Add overlaygraphicsubs and graphicsub2video filters

2021-10-10 Thread Soft Works
- overlaygraphicsubs (VS -> V) Overlay graphic subtitles onto a video stream - graphicsub2video {S -> V) Converts graphic subtitles to video frames (with alpha) Gets auto-inserted for retaining compatibility with sub2video command lines Signed-off-by: softworkz --- doc/filters.texi

[FFmpeg-devel] [PATCH v13 06/14] avfilter/sbuffer: Add sbuffersrc and sbuffersink filters

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- configure| 2 +- libavfilter/allfilters.c | 2 ++ libavfilter/buffersink.c | 63 +++ libavfilter/buffersink.h | 15 + libavfilter/buffersrc.c | 72 libavfilter/buffersr

[FFmpeg-devel] [PATCH v13 05/14] avfilter/avfilter: Handle subtitle frames

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- libavfilter/avfilter.c | 8 +--- libavfilter/avfilter.h | 11 +++ libavfilter/avfiltergraph.c | 5 + libavfilter/formats.c | 22 ++ libavfilter/formats.h | 3 +++ libavfilter/internal.h | 18 +++

[FFmpeg-devel] [PATCH v13 04/14] avfilter/subtitles: Add subtitles.c for subtitle frame allocation

2021-10-10 Thread Soft Works
Analog to avfilter/video.c and avfilter/audio.c Signed-off-by: softworkz --- libavfilter/Makefile| 1 + libavfilter/avfilter.c | 4 +++ libavfilter/internal.h | 1 + libavfilter/subtitles.c | 63 + libavfilter/subtitles.h | 44

[FFmpeg-devel] [PATCH v13 03/14] fftools/play, probe: Adjust for subtitle changes

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- fftools/ffplay.c | 102 +- fftools/ffprobe.c | 48 ++ 2 files changed, 78 insertions(+), 72 deletions(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index ccea0e4578..e8d36485ae 100644 --- a/fftoo

[FFmpeg-devel] [PATCH v13 02/14] global: Move ass helper functions to avutil as avpriv_ and extend ass dialog parsing

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- libavcodec/Makefile | 56 +++ libavcodec/ass.h | 129 libavcodec/assdec.c | 2 +- libavcodec/assenc.c | 2 +- libavcodec/ccaption_dec.c

[FFmpeg-devel] [PATCH v13 01/14] global: Prepare AVFrame for subtitle handling

2021-10-10 Thread Soft Works
Root commit for adding subtitle filtering capabilities. In detail: - Add type (AVMediaType) field to AVFrame Replaces previous way of distinction which was based on checking width and height to determine whether a frame is audio or video - Add subtitle fields to AVFrame - Add new struct AVSubt

[FFmpeg-devel] [PATCH v13 00/14] Subtitle Filtering

2021-10-10 Thread Soft Works
v13 Update: - FEATURE-COMPLETE - Adapted patchset to upstream changes regarding AVPacket handling (v12 couldn't be applied anymore) - Some adjustments for cases where hw acceleration is involved v12 Update: - FEATURE-COMPLETE No more features or filters are needed for the introduction of

[FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-10-10 Thread Soft Works
The test /libavutil/tests/hwdevice checks that when deriving a device from a source device and then deriving back to the type of the source device, the result is matching the original source device, i.e. the derivation mechanism doesn't create a new device in this case. Previously, this test was u

Re: [FFmpeg-devel] [PATCH v2] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-10-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Thursday, August 19, 2021 9:37 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2] avutils/hwcontext: When > deriving a hwdevice, search for existing device in both directions > > On Fr

[FFmpeg-devel] [PATCH 1/1] mov: read track title

2021-10-10 Thread Dong Nguyen
this change fix issue [9438](https://trac.ffmpeg.org/ticket/9438) after commit da9cc22d5bd5f59756c2037b02966376da2cf323 ffmpeg is able to write track title metadata to mov/mp4 format file but it is not able to read back the metadata Signed-off-by: Dong Nguyen --- libavformat/mov.c | 15

Re: [FFmpeg-devel] [PATCH v3] avformat/libsrt: add snddropdelay parameter for srt

2021-10-10 Thread zhilizhao(赵志立)
> On Oct 11, 2021, at 9:26 AM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/protocols.texi | 6 ++ > libavformat/libsrt.c | 7 +++ > 2 files changed, 13 insertions(+) > LGTM. ___ ffmpeg-dev

Re: [FFmpeg-devel] [PATCH v5 00/20] clean-up QSV filters

2021-10-10 Thread Xiang, Haihao
On Sun, 2021-10-10 at 22:37 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Xiang, Haihao > > Sent: Saturday, September 18, 2021 3:27 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v5 00/20] clean-up QSV filters > > > > On

[FFmpeg-devel] [PATCH v3] avformat/libsrt: add snddropdelay parameter for srt

2021-10-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/protocols.texi | 6 ++ libavformat/libsrt.c | 7 +++ 2 files changed, 13 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 726e5f1..c100f23 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1496,6 +1

Re: [FFmpeg-devel] [PATCH v5 00/20] clean-up QSV filters

2021-10-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Saturday, September 18, 2021 3:27 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v5 00/20] clean-up QSV filters > > On Thu, 2021-09-09 at 14:56 +, Xiang, Haihao wrote: > > On Mon, 2

[FFmpeg-devel] [PATCH 2/2] avcodec/gemdec: Use ff_set_dimensions()

2021-10-10 Thread Michael Niedermayer
Fixes: OOM Fixes: 39798/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GEM_fuzzer-5611636853964800 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/gemdec.c | 8 ++-- 1 file changed, 6 i

[FFmpeg-devel] [PATCH 1/2] avcodec/utils: Ensure 8x8 alignment for ARGO in avcodec_align_dimensions2()

2021-10-10 Thread Michael Niedermayer
Fixes: out of array access Fixes: 39736/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARGO_fuzzer-4820016722214912 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/utils.c | 5 +++-- 1 file

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add codec properties field to AVCodecParameters

2021-10-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Wednesday, October 6, 2021 2:29 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add > codec properties field to AVCodecParam

[FFmpeg-devel] [PATCH v2 2/2] fftools/ffmpeg: Fix indentation after change

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- v2: Replaced tabs fftools/ffmpeg.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index e205945e63..7545b7c68e 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2216,22 +2216

[FFmpeg-devel] [PATCH v2 1/2] fftools/ffmpeg: Remove redundant loop

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- v2: Replaced tabs fftools/ffmpeg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9d4f9d7a2b..e205945e63 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2178,7 +2178,7 @@ static int ifilter_se

Re: [FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg: Fix indentation after change

2021-10-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Sunday, October 10, 2021 6:41 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg: Fix > indentation after change > > Soft Works: > > Signed-off-by: softworkz > >

Re: [FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg: Fix indentation after change

2021-10-10 Thread Andreas Rheinhardt
Soft Works: > Signed-off-by: softworkz > --- > fftools/ffmpeg.c | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c > index e205945e63..b47e596878 100644 > --- a/fftools/ffmpeg.c > +++ b/fftools/ffmpeg.c

[FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg: Fix indentation after change

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- fftools/ffmpeg.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index e205945e63..b47e596878 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2216,22 +2216,22 @@ static

[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg: Remove redundant loop

2021-10-10 Thread Soft Works
Signed-off-by: softworkz --- fftools/ffmpeg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9d4f9d7a2b..e205945e63 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2178,7 +2178,7 @@ static int ifilter_send_frame(InputFilte

Re: [FFmpeg-devel] [PATCH 3/3] librist: set logsocket config to -1

2021-10-10 Thread Marton Balint
On Tue, 28 Sep 2021, Gijs Peskens wrote: Signed-off-by: Gijs Peskens --- libavformat/librist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/librist.c b/libavformat/librist.c index 47c01a8432..987056ccd1 100644 --- a/libavformat/librist.c +++ b/libavformat/librist.c @@ -245,

Re: [FFmpeg-devel] [PATCH 1/3] librist: replace deprecated functions.

2021-10-10 Thread Marton Balint
On Tue, 28 Sep 2021, Gijs Peskens wrote: This gets rid of of rist_receiver_data_read, rist_receiver_data_block_free and rist_parse_address these functions have been deprecated since librist release v0.2.1 and are replaced with functions suffixed with 2. I added a version macro check at the

Re: [FFmpeg-devel] [PATCH v2] avformat/libsrt: add snddropdelay parameter for srt

2021-10-10 Thread lance . lmwang
On Sun, Oct 10, 2021 at 09:46:26PM +0800, "zhilizhao(赵志立)" wrote: > > > > On Oct 10, 2021, at 11:17 AM, lance.lmw...@gmail.com wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/protocols.texi | 9 + > > libavformat/libsrt.c | 7 +++ > > 2 files chan

Re: [FFmpeg-devel] [PATCH v2] avformat/libsrt: add snddropdelay parameter for srt

2021-10-10 Thread zhilizhao(赵志立)
> On Oct 10, 2021, at 11:17 AM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/protocols.texi | 9 + > libavformat/libsrt.c | 7 +++ > 2 files changed, 16 insertions(+) > > diff --git a/doc/protocols.texi b/doc/protocols.texi > index

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_idet: reduce noisyness if the filter has been auto inserted"

2021-10-10 Thread Andreas Rheinhardt
Andreas Rheinhardt: > This reverts commit 723c37d3b7bf23bfdfe3e5c3599543c06332. > Said commit was in preparation for auto-inserting the idet filter. > This has never happened; even if it did, the code is wrong, because > it segfaults if the filter instance doesn't have a name (having one > is n