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

2021-10-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Hendrik Leppkes > Sent: Wednesday, October 6, 2021 8:57 AM > 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 AVCodec

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

2021-10-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Wednesday, October 6, 2021 8:45 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add codec > properties field to AVCodecParameters > > This fixes incorrect display of

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

2021-10-06 Thread Soft Works
v12 Update: - FEATURE-COMPLETE No more features or filters are needed for the introduction of subtitle filtering - Adapted patchset to the changes regarding .query_formats in avfilter - Removed underscores in filter names - Expose all options from cc_dec from the splitcc filter - Added 'ren

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

2021-10-06 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 v12 02/14] global: Move ass helper functions to avutil as avpriv_ and extend ass dialog parsing

2021-10-06 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 v12 03/14] fftools/play, probe: Adjust for subtitle changes

2021-10-06 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 v12 04/14] avfilter/subtitles: Add subtitles.c for subtitle frame allocation

2021-10-06 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 v12 05/14] avfilter/avfilter: Handle subtitle frames

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

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

2021-10-06 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 v12 07/14] avfilter/overlaygraphicsubs: Add overlaygraphicsubs and graphicsub2video filters

2021-10-06 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 v12 09/14] avfilter/overlaytextsubs: Add overlaytextsubs and textsubs2video filters

2021-10-06 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 v12 10/14] avfilter/textmod: Add textmod, censor and show_speaker filters

2021-10-06 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 v12 08/14] fftools/ffmpeg: Replace sub2video with subtitle frame filtering

2021-10-06 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 v12 11/14] avfilter/stripstyles: Add stripstyles filter

2021-10-06 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 v12 12/14] avfilter/splitcc: Add splitcc filter for closed caption handling

2021-10-06 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 v12 13/14] avfilter/graphicsub2text: Add new graphicsub2text filter (OCR)

2021-10-06 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 v12 14/14] avfilter/subscale: Add filter for scaling and/or re-arranging graphical subtitles

2021-10-06 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

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

2021-10-06 Thread Andreas Rheinhardt
Soft Works: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Hendrik Leppkes >> Sent: Wednesday, October 6, 2021 8:57 AM >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add >> codec prop

[FFmpeg-devel] point releases

2021-10-06 Thread Michael Niedermayer
Hi all I do plan to make releases from 4.4, 4.2, 4.1, 4.0, 3.4, 3.2, 2.8 branches why ? they are used by maintained distributions as listed on https://trac.ffmpeg.org/wiki/Downstreams (hint, please keep this page updated so release work is targeted to where its most usefull) why 4.1 again ? bec

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

2021-10-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Wednesday, October 6, 2021 11:30 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add > codec properties field to AVCodecParameters > > Soft Works: > > >

[FFmpeg-devel] next release

2021-10-06 Thread Michael Niedermayer
Hi Should the next release be called "LTS"? Should the next release be 4.5 or 5.0 ? Should it be made in december 2021 ? (as was suggested in jbs release mail) thx -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Does the universe only have a finite lifespan? No, its

[FFmpeg-devel] [PATCH 1/8] avcodec/bitpacked: check av_buffer_ref result

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/bitpacked.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/bitpacked.c b/libavcodec/bitpacked.c index 8143151..0440df9 100644 --- a/libavcodec/bitpacked.c +++ b/libavcodec/bitpacked.c @@ -45,6 +45,10 @@ static int bit

[FFmpeg-devel] [PATCH 2/8] avformat/rtpdec_rfc4175: use av_get_bits_per_pixel()

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 4daff4d..e1e1452 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/r

[FFmpeg-devel] [PATCH 3/8] avformat/rtpdec_rfc4175: Remove redundant initialization

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index e1e1452..97939b0 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpd

[FFmpeg-devel] [PATCH 4/8] avformat/rtpdec_rfc4175: return the proper value

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 97939b0..46d30ed 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_r

[FFmpeg-devel] [PATCH 5/8] avformat/rtpdec_rfc4175: add support for exactframerate

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 46d30ed..367567d 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_r

[FFmpeg-devel] [PATCH 6/8] avformat/rtpdec_rfc4175: add support for TCS

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 367567d..db6b9b8 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtp

[FFmpeg-devel] [PATCH 7/8] avformat/rtpdec_rfc4175: add support for colorimetry

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index db6b9b8..23a3f4f 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpd

[FFmpeg-devel] [PATCH 8/8] avformat/rtpdec_rfc4175: add support for RANGE

2021-10-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 23a3f4f..86ffb38 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rfc4

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

2021-10-06 Thread Andreas Rheinhardt
Soft Works: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Andreas Rheinhardt >> Sent: Wednesday, October 6, 2021 11:30 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add >> codec properties field to AVCodecParameters >

Re: [FFmpeg-devel] next release

2021-10-06 Thread Jean-Baptiste Kempf
Hello, On Wed, 6 Oct 2021, at 11:57, Michael Niedermayer wrote: > Should the next release be called "LTS"? Yes. > Should the next release be 4.5 or 5.0 ? 5.0 seeing the major break in API. > Should it be made in december 2021 ? (as was suggested in jbs release mail) I still think so. ( :D )

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/hevcdec: set the film grain property if present

2021-10-06 Thread lance . lmwang
On Tue, Sep 28, 2021 at 09:36:38PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/hevcdec.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c > index 57a6175..b4edb3b 100644 > --- a/

[FFmpeg-devel] [PATCH] fate/image: Modify aliaspix tests to also cover the encoder

2021-10-06 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Will apply this tonight unless there are objections. tests/fate/image.mak | 9 ++--- tests/ref/fate/aliaspix-bgr | 8 tests/ref/fate/aliaspix-gray | 8 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/tests/fate/

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

2021-10-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Wednesday, October 6, 2021 12:18 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add > codec properties field to AVCodecParameters > > Soft Works: > > >

[FFmpeg-devel] [PATCH 2/2] avcodec/aliaspixenc: Remove redundant counter

2021-10-06 Thread Andreas Rheinhardt
Improves performance by 33.8% for BGR24 and by 26.4% for GRAY8. Signed-off-by: Andreas Rheinhardt --- libavcodec/aliaspixenc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/aliaspixenc.c b/libavcodec/aliaspixenc.c index 01461c984b..fa273df9c2 100

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

2021-10-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Wednesday, October 6, 2021 12:18 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/codec_par: Add > codec properties field to AVCodecParameters > > Soft Works: > > >

Re: [FFmpeg-devel] next release

2021-10-06 Thread James Almer
On 10/6/2021 6:57 AM, Michael Niedermayer wrote: Hi Should the next release be called "LTS"? Should the next release be 4.5 or 5.0 ? 5.0. The major bump removed old core API, so it needs to be reflected in more ways than just soname. Should it be made in december 2021 ? (as was suggested i

Re: [FFmpeg-devel] next release

2021-10-06 Thread Roman Arzumanyan
LTS releases would be a superb option for corporate FFMpeg users. От: ffmpeg-devel от имени Michael Niedermayer Отправлено: 6 октября 2021 г. 12:57 Кому: FFmpeg development discussions and patches Тема: [FFmpeg-devel] next release External email: Use caution o

Re: [FFmpeg-devel] [PATCH v2] DXVA2: Add ARGB format

2021-10-06 Thread Aman Karmani
On Tue, Sep 28, 2021 at 12:22 PM Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Soft Works > > Sent: Thursday, 26 August 2021 21:43 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH v2] DXV

Re: [FFmpeg-devel] [PATCH 1/3] avformat/matroskadec: Reset state also on failure in matroska_reset_status()

2021-10-06 Thread Michael Niedermayer
On Tue, Sep 14, 2021 at 06:13:43PM +0200, Michael Niedermayer wrote: > On Mon, Sep 13, 2021 at 10:57:41PM +0200, Andreas Rheinhardt wrote: > > Michael Niedermayer: > > > On Mon, Jul 19, 2021 at 11:12:11PM +0200, Andreas Rheinhardt wrote: > > >> Michael Niedermayer: > > >>> On Fri, Jul 02, 2021 at 0

Re: [FFmpeg-devel] point releases

2021-10-06 Thread Steven Liu
Michael Niedermayer 于2021年10月6日周三 下午5:35写道: > > Hi all > > I do plan to make releases from > 4.4, 4.2, 4.1, 4.0, 3.4, 3.2, 2.8 branches Why not include 4.3 or have some reason? Thanks Steven ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https: