Re: [FFmpeg-devel] [PATCH 3/3] ffmpeg: respect AV_CODEC_CAP_SINGLE_SUB_RECT

2023-03-01 Thread TADANO Tokumei
On 2023/02/21 9:25, rcombs wrote: Fixes ASS output when multiple rects are present. --- fftools/ffmpeg.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9884e0c6c6..23eac52438 100644 --- a/fftools/ffmp

Re: [FFmpeg-devel] [PATCH v7 0/4] add ARIB caption decoder using libaribcaption

2023-03-03 Thread TADANO Tokumei
On 2023/02/28 9:07, Ridley Combs wrote: On Feb 23, 2023, at 04:17, TADANO Tokumei wrote: Ping with rebased patch set. Some chages are added to reflect review results from outside of this ML. --- This patch set add another ARIB caption decoder using libaribcaption external library: https

Re: [FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption

2022-06-24 Thread TADANO Tokumei
3rd ping! Are there any other objections to this patch set? If not, would someone push it to the repository? A comment inline: On 2022/06/17 0:30, TADANO Tokumei wrote: On 2022/06/16 22:40, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of TADANO Tokumei Sent

Re: [FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption

2022-07-03 Thread TADANO Tokumei
e subtitles I usually watch on Japanese TV devices. I tested the feature with many personal files, no particular problem found. Mao Hata On 2022/06/24 19:06, TADANO Tokumei wrote: 3rd ping! Are there any other objections to this patch set? If not, would someone push it to the repository? A com

[FFmpeg-devel] [PATCH v5 2/4] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2022-07-03 Thread TADANO Tokumei
/libaribb24.c` uses same AV_CODEC_ID_ARIB_CAPTION and expects AV_CODEC_PROP_TEXT_SUB is defined. Thus add a line to specify text format subtitle. Signed-off-by: TADANO Tokumei --- libavcodec/codec_desc.c | 1 - libavcodec/libaribb24.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a

[FFmpeg-devel] [PATCH v5 0/4] add ARIB caption decoder using libaribcaption

2022-07-03 Thread TADANO Tokumei
ue to the patchwork shows build error. - fix help option content which incorrectly separated to 2 lines in 2/4. - amend commit message of 4/4. TADANO Tokumei (4): lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

[FFmpeg-devel] [PATCH v5 3/4] lavf/mpegts.c: set some properties for ARIB caption

2022-07-03 Thread TADANO Tokumei
gt;height Find best video stream and set frame size for ARIB_PROFILE_A type of ARIB caption. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 8a3436f2

[FFmpeg-devel] [PATCH v5 1/4] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2022-07-03 Thread TADANO Tokumei
/allcodecs.c`. Signed-off-by: TADANO Tokumei --- configure |4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libaribcaption.c | 1143 +++ 4 files changed, 1149 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH v5 4/4] doc/decoders.texi: add document of aribcaption decoder

2022-07-03 Thread TADANO Tokumei
Signed-off-by: TADANO Tokumei --- doc/decoders.texi | 99 +++ 1 file changed, 99 insertions(+) diff --git a/doc/decoders.texi b/doc/decoders.texi index e2fcbf5dc9..c9d65e7dad 100644 --- a/doc/decoders.texi +++ b/doc/decoders.texi @@ -349,6 +349,105

[FFmpeg-devel] [PATCH] libavformat/mpegts.c: fix to check end of each descriptor of SDT

2022-04-03 Thread TADANO Tokumei
Current code incorrectly check against end of section rather than end of descriptor. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index da77b50669..ecffb01562 100644

[FFmpeg-devel] [PATCH] libavformat/mpegts.c: ignore a section with next flag

2022-04-03 Thread TADANO Tokumei
'current_next_indicator' of 0 (next) on each section header indicates the service information is for immediate future one. ffmpeg doesn't need to parse it but current (1) one. ref: section 5.1.1 of DVB BlueBook A038 (EN 300 468) Signed-off-by: TADANO Tokumei --- libavform

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: set data broadcast streams as such

2022-04-04 Thread TADANO Tokumei
As I posted a patch on Apr. 3rd, you should use "desc_end" rather than "p_end" for get16() or get8() to parse each descriptor. On 2022/04/04 18:53, Jan Ekström wrote: From: Jan Ekström Additionally, they should not be probed, as this is essentially various types of binary data. Signed-off-by:

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: set data broadcast streams as such

2022-04-04 Thread TADANO Tokumei
... and, it is better to check broken packet. On 2022/04/05 1:04, TADANO Tokumei wrote: As I posted a patch on Apr. 3rd, you should use "desc_end" rather than "p_end" for get16() or get8() to parse each descriptor. On 2022/04/04 18:53, Jan Ekström wrote: From: Jan Ekström

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: set data broadcast streams as such

2022-04-04 Thread TADANO Tokumei
Ah, the variables should be int. On 2022/04/05 1:16, TADANO Tokumei wrote: ... and, it is better to check broken packet. On 2022/04/05 1:04, TADANO Tokumei wrote: As I posted a patch on Apr. 3rd, you should use "desc_end" rather than "p_end" for get16() or get8() to parse

Re: [FFmpeg-devel] [PATCH] libavformat/mpegts.c: fix to check end of each descriptor of SDT

2022-04-07 Thread TADANO Tokumei
will apply On 2022/04/03 19:07, TADANO Tokumei wrote: Current code incorrectly check against end of section rather than end of descriptor. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/mpegts.c b

Re: [FFmpeg-devel] [PATCH] libavformat/mpegts.c: ignore a section with next flag

2022-04-07 Thread TADANO Tokumei
will apply On 2022/04/03 19:23, TADANO Tokumei wrote: 'current_next_indicator' of 0 (next) on each section header indicates the service information is for immediate future one. ffmpeg doesn't need to parse it but current (1) one. ref: section 5.1.1 of DVB BlueBook A038 (EN 300 4

Re: [FFmpeg-devel] [PATCH] libavformat/mpegts.c: ignore a section with next flag

2022-04-08 Thread TADANO Tokumei
sorry, I don't have permission to push the commits. I've misunderstood the Developer Document. On 2022/04/07 18:26, TADANO Tokumei wrote: will apply On 2022/04/03 19:23, TADANO Tokumei wrote: 'current_next_indicator' of 0 (next) on each section header indicates the servic

[FFmpeg-devel] [PATCH] libavformat/mpegts.c: add: parse EIT descriptors

2022-04-09 Thread TADANO Tokumei
nizable. It is due to encoding problem of text string. It should be also resolved by future patches. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 129 ++- 1 file changed, 127 insertions(+), 2 deletions(-) diff --git a/libavformat/mpegts.

Re: [FFmpeg-devel] [PATCH] libavformat/mpegts.c: add: parse EIT descriptors

2022-04-10 Thread TADANO Tokumei
On 2022/04/10 3:34, Marton Balint wrote: On Sun, 10 Apr 2022, TADANO Tokumei wrote: This patch add to parse descriptors on EIT packets. The patch is intended to set information to current program and/or A/V stream. On Japanese ISDB, some important / useful information is provided via EIT

[FFmpeg-devel] [PATCH 0/5] add ARIB caption decoder using libaribcaption

2022-05-21 Thread TADANO Tokumei
-sub_type bitmap MPEG.TS Sample files exist under: https://streams.videolan.org/streams/ts/ARIB/ Some of them are encrypted and some don't contain ARIB caption data. Good samples for ARIB caption are: brazil/07-25_20-33-35_UCV - HD_.ts japan/channel2[137]_clear.ts TADANO Tokumei (5):

[FFmpeg-devel] [PATCH 2/5] lavc/allcodecs.c: add aribcaption_decoder

2022-05-21 Thread TADANO Tokumei
Signed-off-by: TADANO Tokumei --- libavcodec/allcodecs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index c47133aa18..acd83fe762 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -737,6 +737,7 @@ extern const FFCodec

[FFmpeg-devel] [PATCH 5/5] lavf/mpegts.c: set some properties for ARIB caption

2022-05-21 Thread TADANO Tokumei
gt;height Find best video stream and set frame size for ARIB_PROFILE_A type of ARIB caption. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 6

[FFmpeg-devel] [PATCH 4/5] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2022-05-21 Thread TADANO Tokumei
/libaribb24.c` uses same AV_CODEC_ID_ARIB_CAPTION and expects AV_CODEC_PROP_TEXT_SUB is defined. Thus add a line to specify text format subtitle. Signed-off-by: TADANO Tokumei --- libavcodec/codec_desc.c | 1 - libavcodec/libaribb24.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a

[FFmpeg-devel] [PATCH 3/5] configure + lavc/Makefile: define build infrastructure for libaribcaption

2022-05-21 Thread TADANO Tokumei
precedes as order listed in `libavcodec/allcodecs.c`. Signed-off-by: TADANO Tokumei --- configure | 5 + libavcodec/Makefile | 1 + 2 files changed, 6 insertions(+) diff --git a/configure b/configure index f115b21064..d7222f724b 100755 --- a/configure +++ b/configure @@ -218,6 +218,8

[FFmpeg-devel] [PATCH 1/5] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2022-05-21 Thread TADANO Tokumei
e. It causes some texts may not be displayed at expected position as described in ARIB STD-B24. If a player can handle multi-rectangle ASS subtitle and you prefer more suitable positioning, set `-ass_workaround false` option or define `ASS_WORKAROUND=0` at compilation. Signed-off-by: TADANO To

Re: [FFmpeg-devel] [PATCH 5/5] lavf/mpegts.c: set some properties for ARIB caption

2022-05-21 Thread TADANO Tokumei
Sorry, a commit message is wrong. On 2022/05/21 19:37, TADANO Tokumei wrote: * need_parsing = 0 ARIB caption doesn't require any decoder. ARIB caption doesn't require any parser. This avoids "parser not found&q

[FFmpeg-devel] [PATCH v2 4/4] lavf/mpegts.c: set some properties for ARIB caption

2022-05-21 Thread TADANO Tokumei
gt;height Find best video stream and set frame size for ARIB_PROFILE_A type of ARIB caption. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 6e761c07

[FFmpeg-devel] [PATCH v2 3/4] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2022-05-21 Thread TADANO Tokumei
/libaribb24.c` uses same AV_CODEC_ID_ARIB_CAPTION and expects AV_CODEC_PROP_TEXT_SUB is defined. Thus add a line to specify text format subtitle. Signed-off-by: TADANO Tokumei --- libavcodec/codec_desc.c | 1 - libavcodec/libaribb24.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a

[FFmpeg-devel] [PATCH v2 0/4] add ARIB caption decoder using libaribcaption

2022-05-21 Thread TADANO Tokumei
encrypted and some don't contain ARIB caption data. Good samples for ARIB caption are: brazil/07-25_20-33-35_UCV - HD_.ts japan/channel2[137]_clear.ts TADANO Tokumei (4): lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption configure + lavc/Makefile: define build infrastru

[FFmpeg-devel] [PATCH v2 2/4] configure + lavc/Makefile: define build infrastructure for libaribcaption

2022-05-21 Thread TADANO Tokumei
precedes as order listed in `libavcodec/allcodecs.c`. Signed-off-by: TADANO Tokumei --- configure | 4 libavcodec/Makefile | 1 + 2 files changed, 5 insertions(+) diff --git a/configure b/configure index f115b21064..37ce16e932 100755 --- a/configure +++ b/configure @@ -218,6 +218,7

[FFmpeg-devel] [PATCH v2 1/4] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2022-05-21 Thread TADANO Tokumei
, set `-ass_workaround false` option or define `ASS_WORKAROUND=0` at compilation. Signed-off-by: TADANO Tokumei --- libavcodec/allcodecs.c |1 + libavcodec/libaribcaption.c | 1097 +++ 2 files changed, 1098 insertions(+) create mode 100644 libav

[FFmpeg-devel] [PATCH v3 2/3] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2022-05-21 Thread TADANO Tokumei
/libaribb24.c` uses same AV_CODEC_ID_ARIB_CAPTION and expects AV_CODEC_PROP_TEXT_SUB is defined. Thus add a line to specify text format subtitle. Signed-off-by: TADANO Tokumei --- libavcodec/codec_desc.c | 1 - libavcodec/libaribb24.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a

[FFmpeg-devel] [PATCH v3 0/3] add ARIB caption decoder using libaribcaption

2022-05-21 Thread TADANO Tokumei
: https://streams.videolan.org/streams/ts/ARIB/ Some of them are encrypted and some don't contain ARIB caption data. Good samples for ARIB caption are: brazil/07-25_20-33-35_UCV - HD_.ts japan/channel2[137]_clear.ts TADANO Tokumei (3): lavc/libaribcaption.c: add ARIB caption decoder

[FFmpeg-devel] [PATCH v3 3/3] lavf/mpegts.c: set some properties for ARIB caption

2022-05-21 Thread TADANO Tokumei
gt;height Find best video stream and set frame size for ARIB_PROFILE_A type of ARIB caption. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 6e761c07

[FFmpeg-devel] [PATCH v3 1/3] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2022-05-21 Thread TADANO Tokumei
nable-libaribcaption` options are not exclusive. If both enabled, libaribcaption precedes as order listed in `libavcodec/allcodecs.c`. Signed-off-by: TADANO Tokumei --- configure |4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libav

[FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption

2022-05-30 Thread TADANO Tokumei
the patchwork shows build error. v2: combine former 1/5 and 2/5 due to the patchwork shows build error. - fix help option content which incorrectly separated to 2 lines in 2/4. - amend commit message of 4/4. TADANO Tokumei (4): lavc/libaribcaption.c: add ARIB caption decoder using libaribca

[FFmpeg-devel] [PATCH v4 2/4] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2022-05-30 Thread TADANO Tokumei
/libaribb24.c` uses same AV_CODEC_ID_ARIB_CAPTION and expects AV_CODEC_PROP_TEXT_SUB is defined. Thus add a line to specify text format subtitle. Signed-off-by: TADANO Tokumei --- libavcodec/codec_desc.c | 1 - libavcodec/libaribb24.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a

[FFmpeg-devel] [PATCH v4 4/4] doc/decoders.texi: add document of aribcaption decoder

2022-05-30 Thread TADANO Tokumei
Signed-off-by: TADANO Tokumei --- doc/decoders.texi | 99 +++ 1 file changed, 99 insertions(+) diff --git a/doc/decoders.texi b/doc/decoders.texi index de2429abba..eb82b4df48 100644 --- a/doc/decoders.texi +++ b/doc/decoders.texi @@ -334,6 +334,105

[FFmpeg-devel] [PATCH v4 3/4] lavf/mpegts.c: set some properties for ARIB caption

2022-05-30 Thread TADANO Tokumei
gt;height Find best video stream and set frame size for ARIB_PROFILE_A type of ARIB caption. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 6e761c07

[FFmpeg-devel] [PATCH v4 1/4] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2022-05-30 Thread TADANO Tokumei
/allcodecs.c`. Signed-off-by: TADANO Tokumei --- configure |4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libaribcaption.c | 1137 +++ 4 files changed, 1143 insertions(+) create mode 100644

Re: [FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption

2022-06-08 Thread TADANO Tokumei
` option is specified at configuration. The patch set provide better subtitle feature for ISDB users than libaribb24 if enabled. On 2022/05/30 23:55, TADANO Tokumei wrote: This patch set add another ARIB caption decoder using libaribcaption external library: https://github.com/xqq/libaribcaption The

Re: [FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption

2022-06-16 Thread TADANO Tokumei
ping again! Are there any objections to this patch set? If not, would someone push it to the repository? On 2022/06/08 18:48, TADANO Tokumei wrote: ping The patch set has been well tested by Japanese ISDB-related developers and works fine. I think it already has good quality to merge. It

Re: [FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption

2022-06-16 Thread TADANO Tokumei
On 2022/06/16 22:40, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of TADANO Tokumei Sent: Thursday, June 16, 2022 3:23 PM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v4 0/4] add ARIB caption decoder using libaribcaption ping again! Are

[FFmpeg-devel] [PATCH v7 0/4] add ARIB caption decoder using libaribcaption

2023-02-23 Thread TADANO Tokumei
end commit message of 4/4. TADANO Tokumei (4): lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property lavf/mpegts.c: set some properties for ARIB caption doc/decoders.texi: add document of aribcaption decoder configure

[FFmpeg-devel] [PATCH v7 1/4] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2023-02-23 Thread TADANO Tokumei
const FFCodec ff_libaribb24_decoder; extern const FFCodec ff_libcelt_decoder; extern const FFCodec ff_libcodec2_encoder; diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c new file mode 100644 index 00..1c6e65b562 --- /dev/null +++ b/libavcodec/libaribcaption.c @@ -0,0

[FFmpeg-devel] [PATCH v7 2/4] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2023-02-23 Thread TADANO Tokumei
To support bitmap type of subtitles, remove AV_CODEC_PROP_TEXT_SUB property from codec descriptor for AV_CODEC_ID_ARIB_CAPTION. It is similar way to `libavcodec/libzvbi-teletextdec.c` (AV_CODEC_ID_DVB_TELETEXT). Instead, each subtitle decoder has to specify subtitile format. `libavcodec/libaribb24

[FFmpeg-devel] [PATCH v7 4/4] doc/decoders.texi: add document of aribcaption decoder

2023-02-23 Thread TADANO Tokumei
--- doc/decoders.texi | 150 ++ 1 file changed, 150 insertions(+) diff --git a/doc/decoders.texi b/doc/decoders.texi index 5ba85cf9b1..4888735016 100644 --- a/doc/decoders.texi +++ b/doc/decoders.texi @@ -353,6 +353,156 @@ Enabled by default. @end ta

[FFmpeg-devel] [PATCH v7 3/4] lavf/mpegts.c: set some properties for ARIB caption

2023-02-23 Thread TADANO Tokumei
Some additional properties are set for ARIB caption. * need_parsing = 0 ARIB caption doesn't require any parser. This avoids "parser not found" warning message. * need_context_update = 1 When any profiles are changed, set this flag to notify. --- libavformat/mpegts.c | 6 +- 1 file chang

[FFmpeg-devel] [PATCH] lavc/libaribcaption.c: add -replace_fullwidth_japanese option

2023-09-08 Thread TADANO Tokumei
This patch add `-replace_fullwidth_japanese` option introduced in latest (1.0.1) libaribcaption. --- doc/decoders.texi | 6 ++ libavcodec/libaribcaption.c | 11 +++ 2 files changed, 17 insertions(+) diff --git a/doc/decoders.texi b/doc/decoders.texi index 09b8314dd2..ee4cc6

[FFmpeg-devel] [PATCH v2] lavc/libaribcaption.c: add MSZ characters related options

2023-09-22 Thread TADANO Tokumei
This patch add MSZ (Middle Size; half width) characters related options. * add `-replace_msz_japanese` option introduced in version 1.0.1 of libaribcaption. * add `-replace_msz_glyph` option introduced in version 1.1.0 of libaribcaption. * rename `-replace_fullwidth_ascii` option to `-replace_

Re: [FFmpeg-devel] [PATCH v2] lavc/libaribcaption.c: add MSZ characters related options

2023-09-22 Thread TADANO Tokumei
z_japanese false` option for bitmap sub_type. This patch also fix a bug in libaribcaption.c. I prefer to apply this ASAP. On 2023/09/23 11:00, TADANO Tokumei wrote: This patch add MSZ (Middle Size; half width) characters related options. * add `-replace_msz_japanese` option introduced in ver

Re: [FFmpeg-devel] [PATCH v2] lavc/libaribcaption.c: add MSZ characters related options

2023-09-29 Thread TADANO Tokumei
On 2023/09/23 11:15, TADANO Tokumei wrote: This is updated patch to "[PATCH] lavc/libaribcaption.c: add -replace_fullwidth_japanese option" (Message-Id: <20230908130050.85688-1-aiming...@pc.nifty.jp>). If specified fonts contain half-width glyphs, it make bette

Re: [FFmpeg-devel] [PATCH v2] lavc/libaribcaption.c: add MSZ characters related options

2023-10-10 Thread TADANO Tokumei
ping! On 2023/09/29 19:31, TADANO Tokumei wrote: On 2023/09/23 11:15, TADANO Tokumei wrote: This is updated patch to "[PATCH] lavc/libaribcaption.c: add -replace_fullwidth_japanese option" (Message-Id: <20230908130050.85688-1-aiming...@pc.nifty.jp>). If specified fonts co

[FFmpeg-devel] [PATCH v3 0/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
This patch add MSZ (Middle Size; half width) characters related options and some fixes. As Jan suggested to PATCH v2, I split it into 3 patches, drop `#if`s, and bump required libaribcaption version to 1.1.1 (author preferred version). TADANO Tokumei (3): lavc/libaribcaption.c: FIX: change all

[FFmpeg-devel] [PATCH v3 1/3] lavc/libaribcaption.c: FIX: change all `boot` option var to `int`

2023-10-17 Thread TADANO Tokumei
`ARIBCaptionContext` to `int`. Signed-off-by: TADANO Tokumei --- libavcodec/libaribcaption.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c index 8a8c8f8cfd..be3328c5c9 100644 --- a/libavcodec/libaribcaption.c

[FFmpeg-devel] [PATCH v3 2/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
., BIZ UDGothic), it make better rendering with `-replace_msz_ascii false` and `-replace_msz_japanese false` option for bitmap sub_type. Signed-off-by: TADANO Tokumei --- configure | 2 +- doc/decoders.texi | 16 libavcodec/libaribcaption.c | 10

[FFmpeg-devel] [PATCH v3 3/3] lavc/libaribcaption.c: rename `-replace_fullwidth_ascii` option

2023-10-17 Thread TADANO Tokumei
This patch renames `-replace_fullwidth_ascii` option to `-replace_msz_ascii` to clarify option meaning. Signed-off-by: TADANO Tokumei --- doc/decoders.texi | 12 ++-- libavcodec/libaribcaption.c | 8 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a

[FFmpeg-devel] [PATCH v4 0/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
(author preferred version). TADANO Tokumei (3): lavc/libaribcaption.c: FIX: change all `boot` option var to `int` lavc/libaribcaption.c: add MSZ characters related options lavc/libaribcaption.c: rename `-replace_fullwidth_ascii` option configure | 2 +- doc/decoders.texi

[FFmpeg-devel] [PATCH v4 1/3] lavc/libaribcaption.c: FIX: change all `boot` option var to `int`

2023-10-17 Thread TADANO Tokumei
`ARIBCaptionContext` to `int`. Signed-off-by: TADANO Tokumei --- libavcodec/libaribcaption.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c index 8a8c8f8cfd..be3328c5c9 100644 --- a/libavcodec/libaribcaption.c

[FFmpeg-devel] [PATCH v4 2/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
., BIZ UDGothic), it make better rendering with `-replace_msz_ascii false` and `-replace_msz_japanese false` option for bitmap sub_type. Signed-off-by: TADANO Tokumei --- configure | 2 +- doc/decoders.texi | 16 libavcodec/libaribcaption.c | 10

[FFmpeg-devel] [PATCH v4 3/3] lavc/libaribcaption.c: rename `-replace_fullwidth_ascii` option

2023-10-17 Thread TADANO Tokumei
This patch renames `-replace_fullwidth_ascii` option to `-replace_msz_ascii` to clarify option meaning. Signed-off-by: TADANO Tokumei --- doc/decoders.texi | 12 ++-- libavcodec/libaribcaption.c | 8 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a

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

2024-07-04 Thread TADANO Tokumei
On 2024/06/25 22:27, Paul B Mahol wrote: On Tue, Jun 25, 2024 at 3:17 PM Dennis Mungai wrote: On Tue, 25 Jun 2024 at 16:07, Paul B Mahol wrote: On Tue, Jun 25, 2024 at 2:47 PM Dennis Mungai wrote: On Sun, 28 Jun 2020 at 16:59, James Almer wrote: On 6/27/2020 7:54 AM, Paul B Mahol wr

[FFmpeg-devel] [PATCH v2 0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-26 Thread TADANO Tokumei
x 32 pixels shorter than standard EAC format after blending overlapped area. This filter brends overlapped area, stretches the width of the cube, and combine two streams into single stream with standard format. TADANO Tokumei (1): lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter doc

[FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-26 Thread TADANO Tokumei
644 index 00..64d2afe31c --- /dev/null +++ b/libavfilter/opencl/gopromax.cl @@ -0,0 +1,280 @@ +/* + * Copyright (c) 2021 Ronan LE MEILLAT + * Copyright (c) 2024 TADANO Tokumei + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-27 Thread TADANO Tokumei
On 2024/07/27 13:30, TADANO Tokumei wrote: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular or youtube equiangular cubemap (eac) projection. The .360 file contains separated two video streams. This filter combine two streams into single stream with

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-28 Thread TADANO Tokumei
On 2024/07/28 18:26, Michael Niedermayer wrote: On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: On 2024/07/27 13:30, TADANO Tokumei wrote: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular or youtube equiangular cubemap (eac

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-28 Thread TADANO Tokumei
On 2024/07/29 1:30, TADANO Tokumei wrote: On 2024/07/28 18:26, Michael Niedermayer wrote: On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: On 2024/07/27 13:30, TADANO Tokumei wrote: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular or

[FFmpeg-devel] [PATCH v3 0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-29 Thread TADANO Tokumei
x 32 pixels shorter than standard EAC format after blending overlapped area. This filter blends overlapped area, stretches the width of the cube, and combine two streams into single stream with standard format. v3 modifies `configure` file to add dependency on opencl. TADANO Tokumei (1): lavfi

[FFmpeg-devel] [PATCH v3 1/1] lavfi/vf_gopromax_opencl: add GoPro Max 360 video filter

2024-07-29 Thread TADANO Tokumei
encl; extern const AVFilter ff_vf_gradfun; extern const AVFilter ff_vf_graphmonitor; extern const AVFilter ff_vf_grayworld; diff --git a/libavfilter/opencl/gopromax.cl b/libavfilter/opencl/gopromax.cl new file mode 100644 index 00..64d2afe31c --- /dev/null +++ b/libavfilter/opencl/gopromax.cl

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-31 Thread TADANO Tokumei
On 2024/07/31 5:44, Michael Niedermayer wrote: On Mon, Jul 29, 2024 at 01:30:34AM +0900, TADANO Tokumei wrote: On 2024/07/28 18:26, Michael Niedermayer wrote: On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: On 2024/07/27 13:30, TADANO Tokumei wrote: Add an OpenCL filter for

[FFmpeg-devel] [PATCH v4 0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-08-02 Thread TADANO Tokumei
from v360 filter in xyz_to_eac() TADANO Tokumei (1): lavfi/vf_gopromax_opencl: add GoPro Max 360 video filter configure| 1 + doc/filters.texi | 78 +++ libavfilter/Makefile | 2 + libavfilter/allfilters.c | 1 + libavfilter

[FFmpeg-devel] [PATCH v4 1/1] lavfi/vf_gopromax_opencl: add GoPro Max 360 video filter

2024-08-02 Thread TADANO Tokumei
ution_cl; extern const char *ff_source_deshake_cl; +extern const char *ff_source_gopromax_cl; extern const char *ff_source_neighbor_cl; extern const char *ff_source_nlmeans_cl; extern const char *ff_source_overlay_cl; diff --git a/libavfilter/vf_gopromax_opencl.c b/libavfilter/vf_gopromax_opencl.c new

Re: [FFmpeg-devel] [PATCH v4 0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-08-15 Thread TADANO Tokumei
ping On 2024/08/03 9:56, TADANO Tokumei wrote: This is updated patch of: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=3943 I contacted to Ronan LE MEILLAT and agreed with him to submit new patch. Abstruct of GoPro Max .360 video file format is described in: https://gopro.com/news

Re: [FFmpeg-devel] [PATCH v4 0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-08-31 Thread TADANO Tokumei
ping again On 2024/08/15 17:10, TADANO Tokumei wrote: ping On 2024/08/03 9:56, TADANO Tokumei wrote: This is updated patch of: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=3943 I contacted to Ronan LE MEILLAT and agreed with him to submit new patch. Abstruct of GoPro Max .360

[FFmpeg-devel] [PATCH v6 0/4] add ARIB caption decoder using libaribcaption

2022-10-18 Thread TADANO Tokumei
2 lines in 2/4. - amend commit message of 4/4. TADANO Tokumei (4): lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property lavf/mpegts.c: set some properties for ARIB caption doc/decoders.texi: add document of aribca

[FFmpeg-devel] [PATCH v6 3/4] lavf/mpegts.c: set some properties for ARIB caption

2022-10-18 Thread TADANO Tokumei
Some additional properties are set for ARIB caption. * need_parsing = 0 ARIB caption doesn't require any parser. This avoids "parser not found" warning message. * need_context_update = 1 When any profiles are changed, set this flag to notify. * codecpar->width / codecpar->height Find best v

[FFmpeg-devel] [PATCH v6 2/4] lavc/codec_desc.c: remove AV_CODEC_PROP_TEXT_SUB property

2022-10-18 Thread TADANO Tokumei
To support bitmap type of subtitles, remove AV_CODEC_PROP_TEXT_SUB property from codec descriptor for AV_CODEC_ID_ARIB_CAPTION. It is similar way to `libavcodec/libzvbi-teletextdec.c` (AV_CODEC_ID_DVB_TELETEXT). Instead, each subtitle decoder has to specify subtitile format. `libavcodec/libaribb24

[FFmpeg-devel] [PATCH v6 4/4] doc/decoders.texi: add document of aribcaption decoder

2022-10-18 Thread TADANO Tokumei
--- doc/decoders.texi | 99 +++ 1 file changed, 99 insertions(+) diff --git a/doc/decoders.texi b/doc/decoders.texi index 5ba85cf9b1..32cdf5eae3 100644 --- a/doc/decoders.texi +++ b/doc/decoders.texi @@ -353,6 +353,105 @@ Enabled by default. @end tab

[FFmpeg-devel] [PATCH v6 1/4] lavc/libaribcaption.c: add ARIB caption decoder using libaribcaption

2022-10-18 Thread TADANO Tokumei
er; extern FFCodec ff_libaom_av1_encoder; +extern const FFCodec ff_aribcaption_decoder; extern const FFCodec ff_libaribb24_decoder; extern const FFCodec ff_libcelt_decoder; extern const FFCodec ff_libcodec2_encoder; diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c new file m