From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id B999943E86 for ; Tue, 18 Oct 2022 10:41:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9ABA168BCF0; Tue, 18 Oct 2022 13:41:19 +0300 (EEST) Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 66A8068BCD1 for ; Tue, 18 Oct 2022 13:41:11 +0300 (EEST) Received: from osamu-pc.. (M106073025034.v4.enabler.ne.jp [106.73.25.34]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 29IAelHv017112; Tue, 18 Oct 2022 19:40:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 29IAelHv017112 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1666089647; bh=9cjcTxhyt/17Iq2amb8vnNe2dxBvr+JxXOLiWI+mzGE=; h=From:To:Cc:Subject:Date:From; b=hfPxUgx1Jyh5v2ME8Ggvi8c85thEvvg9Rw4xV5skSDkRRuASJUnIyptaIzaYQ9PqZ OBFGQk352yxKhnRhbcYd1JL/Gp9sYt+yFAfjtF7p3Eorsd53yr3nrFLgO8dWjNFTUD oVYOXZr/rUu2ZNRDRUksp+fQ7xr6qDDaEtv3bzsTAAlemKoteSPSrMHEaSzb4/zDu6 L5WfnYnIY5VVM2PF9F0uvKWZxtRaNVRqU4fUcNl4xCnt5ed0wzoC7fPeWbBZoSzbXI ocZQkbTo8tC4jbuoGFrK+qA3MTNEQPjnYICgqMBtSspjc0R24D/GUKlG1Ip265UZIL meuhW0vCwa5hQ== X-Nifty-SrcIP: [106.73.25.34] From: TADANO Tokumei To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Oct 2022 19:40:24 +0900 Message-Id: <20221018104028.34644-1-aimingoff@pc.nifty.jp> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v6 0/4] add ARIB caption decoder using libaribcaption X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: TADANO Tokumei Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Ping with rebased patch set. Some minor chages are added. --- This patch set add another ARIB caption decoder using libaribcaption external library: https://github.com/xqq/libaribcaption The library decodes subtitles of ISDB-based TV broadcasting. It is not only for Japanese ARIB STD-B24 caption, but also for Brazilian ABNT NBR 15606-1 and Philippines version of ISDB-T. Unlike libaribb24, it supports 3 types of subtitle outputs: * text: plain text * ass: ASS formatted text * bitmap: bitmap image Default subtitle type is ASS as same as libaribb24, but it can be changed by `-sub_type` option. You can see ARIB caption with ffplay tool: ffplay -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 japan/osaka_15.ts --- v6: reflect review results from outside of this ML - check clut table overflow - do not adjust vertical position of ruby for ASS format v5: reflect review comments from Mao Hata - reset correct variable in aribcaption_close() - add aribcaption_close() to some places in aribcaption_init() - check if av_strdup() returns NULL in set_ass_header() v4: reflect review results from outside of this ML. - resize bitmap subtitle image to display fonts with correct aspect ratio - multiple font families can be specified by '-font' option - remove 'rendering_backend' option - add document - minor bug fixes v3: combine former 1/4 and 2/4 due to 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 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 | 4 + doc/decoders.texi | 99 +++ libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_desc.c | 1 - libavcodec/libaribb24.c | 1 + libavcodec/libaribcaption.c | 1141 +++++++++++++++++++++++++++++++++++ libavformat/mpegts.c | 19 +- 8 files changed, 1265 insertions(+), 2 deletions(-) create mode 100644 libavcodec/libaribcaption.c -- 2.30.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".