Re: [FFmpeg-devel] [PATCH] avcodec/libaomdec: fix pix_fmt w/AVCOL_SPC_RGB

2022-10-25 Thread James Zern
On Tue, Oct 25, 2022 at 11:28 AM James Zern wrote: > > Signed-off-by: James Zern > --- > libavcodec/libaomdec.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > I was reminded that there was an earlier patch [1], which I had an open comment on. I think it's better to be consist

[FFmpeg-devel] [PATCH v3] lavc/hevc_ps: fix process failed when SPS before VPS in hvcC

2022-10-25 Thread 1035567130
From: Wang Yaqiang In some videos, SPS will be stored before VPS in hvcC box, parse SPS does not depend on VPS, so the video is expected to be processed normally. Added "parsed_vps" parameter to indicate whether VPS have been parsed. Only VPS have been parsed can be verified during SPS parsing.

[FFmpeg-devel] [PATCH 7/7] avcodec/mpegvideo: Remove incorrect comment

2022-10-25 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 99b2d8f6de..9a58d68524 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -786,7 +786,6 @@ void ff_mpv_free_contex

[FFmpeg-devel] [PATCH 6/7] avcodec/mpegvideo: Remove always-false check

2022-10-25 Thread Andreas Rheinhardt
This basically reverts cc0380222add8df8ff9b3bd95eaf2b9d8c4c0d11. At the time of said commit, cleanup on init failure was very buggy. For codecs with the INIT_CLEANUP cap, the close function could be called on error even before the private data has been allocated; and when using frame threading the

[FFmpeg-devel] [PATCH 5/7] avcodec/msmpeg4dec: Move setting decode_mb for WMV2 to wmv2dec.c

2022-10-25 Thread Andreas Rheinhardt
It avoids checks and allows to make ff_wmv2_decode_mb() static; furthermore, it allows to avoid a config_components.h inclusion. Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4dec.c | 6 +- libavcodec/wmv2dec.c| 4 +++- libavcodec/wmv2dec.h| 1 - 3 files changed, 4 insertion

[FFmpeg-devel] [PATCH 4/7] avcodec/mpegvideo: Allocate map and score_map buffers jointly

2022-10-25 Thread Andreas Rheinhardt
Reduces the amounts of allocs, frees and allocation checks. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.c | 7 --- libavcodec/snow.c | 1 - libavcodec/snowenc.c | 6 +++--- libavcodec/svq1enc.c | 8 +++- 4 files changed, 10 insertions(+), 12 deletions(-) diff --g

[FFmpeg-devel] [PATCH 3/7] avcodec/mpegvideo: Don't overallocate buffer

2022-10-25 Thread Andreas Rheinhardt
Only encoders need two sets of int16_t [12][64] (one to save the current best state and one for the current working state); decoders need only one. This saves 1.5KiB per slice context for a decoder. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegvideo.c | 2 +- 1 file changed, 1 insertion(

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Support HDR10+ metadata in Matroska.

2022-10-25 Thread Andreas Rheinhardt
Mohammad Izadi: > The fate test file can be found here: > https://drive.google.com/file/d/1jGW3f94rglLfr5WGmMQe3SEnp1YkbMRy/view?usp=drivesdk > The video file needs to be copied to fate-suite/mkv/ This does not describe the patch at all and should therefore not be part of the commit message. > -

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Support HDR10+ metadata in Matroska.

2022-10-25 Thread Mohammad Izadi
Michael, I appreciate it if you can take a look and give me your feedback. Thanks, Mohammad On Thu, Sep 8, 2022 at 10:03 AM Mohammad Izadi wrote: > Michael, I appreciate it if you can take a look and give me your feedback. > > > On Thu, Sep 8, 2022 at 9:31 AM Michael Niedermayer > wrote: > >>

Re: [FFmpeg-devel] [PATCH 01/17] avcodec/mpeg12dec: Remove redundant function call

2022-10-25 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Redundant since dcb29d37d4ffedc84e44df99f8d22ecf27e0f2cd. > > Signed-off-by: Andreas Rheinhardt > --- > It is of course only redundant if avctx->codec_tag is not allowed > to change after avcodec_open2(); the corresponding option is not > marked with the AV_OPT_FLAG_RUNTIME_

Re: [FFmpeg-devel] [PATCH] avcodec/libaomdec: fix pix_fmt w/AVCOL_SPC_RGB

2022-10-25 Thread Vignesh Venkatasubramanian
On Tue, Oct 25, 2022 at 11:28 AM James Zern wrote: > > Signed-off-by: James Zern > --- > libavcodec/libaomdec.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c > index 378d638a89..53982559d9 100644 > --- a/libavcode

Re: [FFmpeg-devel] FFV1 slicecrc: "hashxx" instead of "CRC" for speed?

2022-10-25 Thread Andreas Rheinhardt
Peter B.: > Hi everyone :) > > This is merely a question of interest. Not a request, complaint or > trolling of any kind :) > I'm happy about any answer. I'm curious. > > Would it possibly have a significant impact on coding speed of FFV1's > slicecrc option (Where a CRC is calculated for each fr

[FFmpeg-devel] FFV1 slicecrc: "hashxx" instead of "CRC" for speed?

2022-10-25 Thread Peter B.
Hi everyone :) This is merely a question of interest. Not a request, complaint or trolling of any kind :) I'm happy about any answer. I'm curious. Would it possibly have a significant impact on coding speed of FFV1's slicecrc option (Where a CRC is calculated for each frame slice), to use a

[FFmpeg-devel] [PATCH] avcodec/libaomdec: fix pix_fmt w/AVCOL_SPC_RGB

2022-10-25 Thread James Zern
Signed-off-by: James Zern --- libavcodec/libaomdec.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c index 378d638a89..53982559d9 100644 --- a/libavcodec/libaomdec.c +++ b/libavcodec/libaomdec.c @@ -113,15 +113,19 @@ stat

Re: [FFmpeg-devel] [PATCH v2 2/2] ffmpeg: fix implementation of updated input start time

2022-10-25 Thread Gyan Doshi
Ping. On 2022-10-21 10:01 pm, Gyan Doshi wrote: The current adjustment of input start times just adjusts the tsoffset. And it does so, by resetting the tsoffset to nullify the new start time. This leads to breakage of -copyts, ignoring of input_ts_offset, breaking of -isync as well as breaking w

Re: [FFmpeg-devel] [avcodec/amfenc: 10 bit support v2 1/3] amf: Update the min version to 1.4.23.0 for AMF SDK.

2022-10-25 Thread Dmitrii Ovchinnikov
Hi! These patches have already been tested and accepted into the HandBrake (https://github.com/HandBrake/HandBrake/pull/4538 ). Could you take a look? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH V2] lavc/libvpx: increase thread limit to 64

2022-10-25 Thread Dmitrii Ovchinnikov
>> Why do you still impose an upper limit unconditionally even if the >>user has set his preferred number of threads? Libvpx-vp9 does not support number of threads greater than 64, so we impose an upper limit of 64. E.g. if we set it any higher we get the following execution error: [libvpx-vp9 @ 0x

Re: [FFmpeg-devel] [PATCH v2] lavc/hevc_ps: fix process failed when SPS before VPS in hvcC

2022-10-25 Thread wangyaqiang
> 2022年10月15日 07:00,Michael Niedermayer 写道: > > On Fri, Oct 14, 2022 at 06:13:14PM +0800, wangyaqiang wrote: >> >> >>> 2022年9月27日 04:21,Michael Niedermayer 写道: >>> >>> On Mon, Sep 26, 2022 at 05:38:14PM +0800, 1035567...@qq.com wrote: From: Wang Yaqiang In some videos, SPS

Re: [FFmpeg-devel] [PATCH v3] lavc/aarch64: add hevc horizontal qpel/uni/bi

2022-10-25 Thread J. Dekker
On 24 Oct 2022, at 14:01, Martin Storsjö wrote: > On Tue, 11 Oct 2022, J. Dekker wrote: > >> [...] >> diff --git a/libavcodec/aarch64/hevcdsp_init_aarch64.c >> b/libavcodec/aarch64/hevcdsp_init_aarch64.c >> index 644cc17715..44399b05d8 100644 >> --- a/libavcodec/aarch64/hevcdsp_init_aarch64.c >

Re: [FFmpeg-devel] [PATCH] avcodec/svq1enc: Workaround GCC bug 102513

2022-10-25 Thread J. Dekker
On 25 Oct 2022, at 14:48, Andreas Rheinhardt wrote: > GCC 11 has a bug: When it creates clones of recursive functions > (to inline some parameters), it clones a recursive function > eight times by default, even when this exceeds the recursion > depth. This happens with encode_block() in libavcodec

[FFmpeg-devel] [PATCH] avcodec/svq1enc: Workaround GCC bug 102513

2022-10-25 Thread Andreas Rheinhardt
GCC 11 has a bug: When it creates clones of recursive functions (to inline some parameters), it clones a recursive function eight times by default, even when this exceeds the recursion depth. This happens with encode_block() in libavcodec/svq1enc.c where a parameter level is always in the range 0..

Re: [FFmpeg-devel] [PATCH v14 9/9] avcodec/evc: Changes in Changelog and MAINTAINERS files

2022-10-25 Thread Lynne
Oct 24, 2022, 18:29 by jamr...@gmail.com: > On 10/24/2022 12:56 PM, Lynne wrote: > >> Oct 24, 2022, 09:42 by d.kozin...@samsung.com: >> >>> - Changelog update >>> - MAINTAINERS update >>> >>> Signed-off-by: Dawid Kozinski >>> --- >>> Changelog | 3 ++- >>> MAINTAINERS | 5 + >>> 2 file

[FFmpeg-devel] ffmpeg-rtpdec-4175-gray

2022-10-25 Thread Evgeny
Support of grayscale video (from IR-camera as example) --- libavformat/rtpdec_rfc4175.c +++ libavformat/rtpdec_rfc4175.c @@ -96,6 +96,16 @@ static int rfc4175_parse_format(AVStream *stream, PayloadContext *data) } else { return AVERROR_INVALIDDATA; } + } else if (!strncmp(data->sampling,

[FFmpeg-devel] [PATCH] fate/microsoft: add mss2 region test case

2022-10-25 Thread Peter Ross
--- please copy https://trac.ffmpeg.org/raw-attachment/ticket/4043/fail.wmv to $FATE_SAMPLES/mss2 tests/fate/microsoft.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak index ee1a062425..edd42df8b3 100644 --- a/tests

[FFmpeg-devel] [PATCH] swscale: aarch64: Fix yuv2rgb with negative strides

2022-10-25 Thread Martin Storsjö
Treat the 32 bit stride registers as signed. Alternatively, we could make the stride arguments ptrdiff_t instead of int, and changing all of the assembly to operate on these registers with their full 64 bit width, but that's a much larger and more intrusive change (and risks missing some operation

Re: [FFmpeg-devel] [PATCH v9 02/25] avutil/frame: Prepare AVFrame for subtitle handling

2022-10-25 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Hendrik Leppkes > Sent: Tuesday, October 25, 2022 11:38 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v9 02/25] avutil/frame: Prepare > AVFrame for subtitle handling >

Re: [FFmpeg-devel] [PATCH v2 2/5] avutil/dict: Use av_dict_iterate in av_dict_get

2022-10-25 Thread Anton Khirnov
Quoting Marvin Scholz (2022-09-24 16:36:56) > --- > libavutil/dict.c | 16 ++-- > 1 file changed, 6 insertions(+), 10 deletions(-) > > diff --git a/libavutil/dict.c b/libavutil/dict.c > index ee059d712c..ea03590d0f 100644 > --- a/libavutil/dict.c > +++ b/libavutil/dict.c > @@ -60,18 +

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil/dict: Add av_dict_iterate

2022-10-25 Thread Anton Khirnov
Quoting Marvin Scholz (2022-09-24 16:36:55) > diff --git a/libavutil/dict.h b/libavutil/dict.h > index 0d1afc6c64..344afb452b 100644 > --- a/libavutil/dict.h > +++ b/libavutil/dict.h > @@ -32,6 +32,8 @@ > > #include > > +#include "attributes.h" This seems unnecessary now. Will push with thi

Re: [FFmpeg-devel] [PATCH v9 02/25] avutil/frame: Prepare AVFrame for subtitle handling

2022-10-25 Thread Hendrik Leppkes
On Tue, Oct 25, 2022 at 11:14 AM softworkz wrote: > > @@ -712,6 +712,53 @@ typedef struct AVFrame { > * Duration of the frame, in the same units as pts. 0 if unknown. > */ > int64_t duration; > + > +/** > + * Media type of the frame (audio, video, subtitles..) > + * >

[FFmpeg-devel] [PATCHv3 4/4] avcodec/svq1dec: detect buggy FFmpeg encoder and apply correction to interframe mean symbols

2022-10-25 Thread Peter Ross
--- libavcodec/svq1dec.c | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 828b38b93d..c7269456e2 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -73,6 +73,8 @@ typedef struct SVQ1

[FFmpeg-devel] [PATCHv3 3/4] avcodec/svq1: fix interframe mean VLC symbols

2022-10-25 Thread Peter Ross
Fixes ticket #128. The SVQ1 interframe mean VLC symbols -128 and 128 are incorrectly swapped in our SVQ1 implementation, resulting in visible artifacts for some videos. This patch unswaps the order of these two symbols. The most noticable example of the artiacts caused by this error can be observ

[FFmpeg-devel] [PATCHv3 2/4] avcodec/svq1enc: output ident string in extradata field

2022-10-25 Thread Peter Ross
This will enable the acurate identification of FFmpeg produced SVQ1 streams, should there be new bugs found in the encoder. --- libavcodec/svq1enc.c | 16 +++- tests/ref/vsynth/vsynth1-svq1 | 4 ++-- tests/ref/vsynth/vsynth2-svq1 | 4 ++-- tests/ref/vsynth/vsynth

[FFmpeg-devel] [PATCHv3 1/4] avcodec/svq1enc: do not use ambiguous interframe mean symbols

2022-10-25 Thread Peter Ross
Don't emit interframe mean symbols -128 and 128. --- v3 patch set changes: - reordered patchset - add stds fields around extradata codec ident - use Lavc codec ident when operating in bitexact mode libavcodec/svq1enc.c | 5 + tests/ref/seek/vsynth_lena-svq1 | 28 +

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

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- configure | 1 + doc/filters.texi | 164 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_subscale.c | 884 ++ 5 files changed, 1051 insertions

[FFmpeg-devel] [PATCH v9 25/25] avcodec/dvbsubdec: Fix conditions for fallback to default resolution

2022-10-25 Thread softworkz
From: softworkz The previous code expected a segment of type CLUT definition to exist in order to accept a set of segments to be complete. This was an incorrect assumption as the presence of a CLUT segment is not mandatory. (version 1.6.1 of the spec is probably a bit more clear about this than e

[FFmpeg-devel] [PATCH v9 23/25] avcodec/subtitles: Migrate subtitle encoders to frame-based API

2022-10-25 Thread softworkz
From: softworkz and provide a compatibility shim for the legacy api Signed-off-by: softworkz --- libavcodec/assenc.c | 189 ++-- libavcodec/avcodec.h| 5 +- libavcodec/codec_internal.h | 12 --- libavcodec/dvbsubenc.c | 96 ++

[FFmpeg-devel] [PATCH v9 22/25] avfilter/snull, strim: Add snull and strim filters

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- configure| 2 +- libavfilter/Makefile | 2 ++ libavfilter/allfilters.c | 2 ++ libavfilter/sf_snull.c | 61 libavfilter/trim.c | 60 ++- 5 fil

[FFmpeg-devel] [PATCH v9 21/25] avfilter/text2graphicsub: Added text2graphicsub subtitle filter

2022-10-25 Thread softworkz
From: softworkz Added a text2graphicsub subtitle filter which converts text-based subtitle tracks to bitmap-based subtitle tracks. The filter uses libass to render the subtitles. It takes as parameters an output height and width, as well as a number of colors in the output palette as well as sour

[FFmpeg-devel] [PATCH v9 20/25] avfilter/subfeed: add subtitle feed filter

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_subfeed.c | 412 +++ 3 files changed, 414 insertions(+) create mode 100644 libavfilter/sf_subfeed.c diff --git a/libavfilter/Make

[FFmpeg-devel] [PATCH v9 18/25] avfilter/graphicsub2text: Add new graphicsub2text filter (OCR)

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- configure|1 + doc/filters.texi | 55 ++ libavfilter/Makefile |1 + libavfilter/allfilters.c |1 + libavfilter/sf_graphicsub2text.c | 1137 ++ 5 fil

[FFmpeg-devel] [PATCH v9 08/25] fftools/play, probe: Adjust for subtitle changes

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffplay.c | 102 +- fftools/ffprobe.c | 47 + 2 files changed, 77 insertions(+), 72 deletions(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index bcc00afe31..4ec186a0b3 1

[FFmpeg-devel] [PATCH v9 16/25] avfilter/stripstyles: Add stripstyles filter

2022-10-25 Thread softworkz
From: softworkz - stripstyles {S -> S) Remove all inline styles from subtitle events Signed-off-by: softworkz --- doc/filters.texi | 37 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_stripstyles.c | 237

[FFmpeg-devel] [PATCH v9 17/25] avfilter/splitcc: Add splitcc filter for closed caption handling

2022-10-25 Thread softworkz
From: softworkz - 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_

[FFmpeg-devel] [PATCH v9 15/25] avfilter/textmod: Add textmod, censor and show_speaker filters

2022-10-25 Thread softworkz
From: softworkz - 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 | 206 ++

[FFmpeg-devel] [PATCH v9 14/25] avfilter/overlaytextsubs: Add overlaytextsubs and textsubs2video filters

2022-10-25 Thread softworkz
From: softworkz - 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/Makefi

[FFmpeg-devel] [PATCH v9 13/25] avfilter/overlaygraphicsubs: Add overlaygraphicsubs and graphicsub2video filters

2022-10-25 Thread softworkz
From: softworkz - 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

[FFmpeg-devel] [PATCH v9 12/25] avfilter/sbuffer: Add sbuffersrc and sbuffersink filters

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- configure| 2 +- libavfilter/allfilters.c | 2 ++ libavfilter/buffersink.c | 54 ++ libavfilter/buffersink.h | 7 libavfilter/buffersrc.c | 72 libavfilter/

[FFmpeg-devel] [PATCH v9 06/25] avcodec, avutil: Move ass helper functions to avutil as avpriv_ and extend ass dialog parsing

2022-10-25 Thread softworkz
From: softworkz Also add - hard_space callback (for upcoming fix) - extensible callback (for future extension) - new API which allows tag filtering Signed-off-by: softworkz --- libavcodec/Makefile | 56 +++--- libavcodec/ass.h | 151 +-- lib

[FFmpeg-devel] [PATCH v9 11/25] avfilter/avfilter: Fix hardcoded input index

2022-10-25 Thread softworkz
From: softworkz This fix targets (rare) cases where multiple input pads have a .filter_frame function. ff_request_frame_to_filter needs to call ff_request_frame with the correct input pad instead of the hardcoded first one. Signed-off-by: softworkz --- libavfilter/avfilter.c | 18 +

[FFmpeg-devel] [PATCH v9 07/25] avcodec/subtitles: Replace deprecated enum values

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavcodec/ass.h | 2 +- libavcodec/assdec.c| 2 +- libavcodec/dvbsubdec.c | 2 +- libavcodec/dvdsubdec.c | 2 +- libavcodec/dvdsubenc.c | 2 +- libavcodec/pgssubdec.c | 2 +- libavcodec/xsubdec.c | 2 +- 7 files changed, 7 insertions(+),

[FFmpeg-devel] [PATCH v9 10/25] avfilter/avfilter: Handle subtitle frames

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/avfilter.c | 20 +--- libavfilter/avfilter.h | 11 +++ libavfilter/avfiltergraph.c | 5 + libavfilter/formats.c | 16 libavfilter/formats.h | 3 +++ libavfilter/internal

[FFmpeg-devel] [PATCH v9 09/25] avfilter/subtitles: Add subtitles.c for subtitle frame allocation

2022-10-25 Thread softworkz
From: softworkz 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 v9 05/25] avfilter/subtitles: Update vf_subtitles to use new decoding api

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_subtitles.c | 67 ++ 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index 82e140e986..0ae156ad07 100644 --- a/libavfilter/vf_s

[FFmpeg-devel] [PATCH v9 04/25] avcodec/libzvbi: set subtitle type

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavcodec/libzvbi-teletextdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/libzvbi-teletextdec.c b/libavcodec/libzvbi-teletextdec.c index 45e30eb01c..486aa1724e 100644 --- a/libavcodec/libzvbi-teletextdec.c +++ b/libavcodec/li

[FFmpeg-devel] [PATCH v9 03/25] avcodec/subtitles: Introduce new frame-based subtitle decoding API

2022-10-25 Thread softworkz
From: softworkz - Modify avcodec_send_packet() to support subtitles via the regular frame based decoding API - Add decode_subtitle_shim() which takes subtitle frames, and serves as a compatibility shim to the legacy subtitle decoding API until all subtitle decoders are migrated to the frame

[FFmpeg-devel] [PATCH v9 02/25] avutil/frame: Prepare AVFrame for subtitle handling

2022-10-25 Thread softworkz
From: softworkz 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

[FFmpeg-devel] [PATCH v9 01/25] avcodec, avutil: Move enum AVSubtitleType to avutil, add new and deprecate old values

2022-10-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavcodec/avcodec.h | 19 + libavutil/Makefile | 1 + libavutil/subfmt.h | 68 libavutil/version.h | 5 ++-- 4 files changed, 73 insertions(+), 20 deletions(-) create mode 100644 libav

[FFmpeg-devel] [PATCH v9 00/25] Subtitle Filtering 2022

2022-10-25 Thread ffmpegagent
Subtitle Filtering 2022 === This is a substantial update to the earlier subtitle filtering patch series. A primary goal has been to address others' concerns as much as possible on one side and to provide more clarity and control over the way things are working. Clarity is is s

Re: [FFmpeg-devel] [PATCH] avcodec/mss2: calculate draw region and revise split position

2022-10-25 Thread Anton Khirnov
Quoting Peter Ross (2022-10-20 10:59:25) > for videos with wmv9 rectangles, the region drawn by ff_mss12_decode_rect > may be less than the entire video area. the wmv9 rectangles are used to > calculate the ff_mss12_decode_rect draw region. > > Fixes tickets #3255 and #4043 Would be nice to have

Re: [FFmpeg-devel] [PATCH v5] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI

2022-10-25 Thread Wang, Bin
-Original Message- From: Wang, Bin Sent: Tuesday, September 20, 2022 6:33 PM To: ffmpeg-devel@ffmpeg.org Cc: Wang, Bin Subject: [FFmpeg-devel] [PATCH v5] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI From: bwang30 This commit enable

Re: [FFmpeg-devel] [PATCH 4/4] sw_scale: Add specializations for hscale 16 to 19

2022-10-25 Thread Hubert Mazur
Thanks for the review. I will fix the failing checkasm first and then take care of the minor issues. I will try to to resend fixed versions this week. Regards, Hubert On Mon, Oct 24, 2022 at 3:19 PM Martin Storsjö wrote: > On Mon, 17 Oct 2022, Hubert Mazur wrote: > > > Provide arm64 neon optimi