From: Paul B Mahol <onemda@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Traian Coza <traian.coza@gmail.com>
Subject: Re: [FFmpeg-devel] [PATCH 00/12] I added text to bitmap subtitle conversion functionality!
Date: Tue, 3 May 2022 18:20:01 +0200
Message-ID: <CAPYw7P6op_2FhuSnsD+nAOa5vb6rPDbe3z0H+dZjxTB07oJUxQ@mail.gmail.com> (raw)
In-Reply-To: <20220503161328.842587-1-traian.coza@gmail.com>
On Tue, May 3, 2022 at 6:13 PM Traian Coza <traian.coza@gmail.com> wrote:
> I added the possibility of converting text-based subtitle tracks (such as
> subrip or ass) to bitmap-based subtitle tracks (such as dvd_subtitle).
>
> I accomplished this by using libass, and basically using the code from
> vf_subtitles.c to render text subtitles and store the images in the
> AVSubtitle structure.
>
> Of course, this functionality will only work when ffmpeg is configured
> with --enable-libass.
>
>
Sorry but i think this needs to be in libavfilter instead of libavcodec.
And for libavfilter one needs to add proper, not hacky, subtitle support to
library.
> Traian Coza (12):
> Implemented text to bitmap subtitles!
> Render only when necessary
> Retreive width and height from video stream!
> Initialize ass library only once!
> Cleaned up
> Wrote proper headers
> Close libass after using
> Added standard headers
> Rearranged files, all tests are passing!
> Rearranged files, all tests are passing!
> Added logging
> Added more logging
>
> fftools/Makefile | 2 +
> fftools/ffmpeg.c | 35 ++++-
> fftools/text_to_bitmap.c | 300 +++++++++++++++++++++++++++++++++++++++
> fftools/text_to_bitmap.h | 37 +++++
> libavcodec/avcodec.h | 9 ++
> 5 files changed, 382 insertions(+), 1 deletion(-)
> create mode 100644 fftools/text_to_bitmap.c
> create mode 100644 fftools/text_to_bitmap.h
>
> --
> 2.34.1
>
> _______________________________________________
> 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".
>
_______________________________________________
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".
next prev parent reply other threads:[~2022-05-03 16:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 16:13 Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 01/12] Implemented text to bitmap subtitles! Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 02/12] Render only when necessary Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 03/12] Retreive width and height from video stream! Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 04/12] Initialize ass library only once! Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 05/12] Cleaned up Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 06/12] Wrote proper headers Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 07/12] Close libass after using Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 08/12] Added standard headers Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 09/12] Rearranged files, all tests are passing! Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 10/12] " Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 11/12] Added logging Traian Coza
2022-05-03 16:13 ` [FFmpeg-devel] [PATCH 12/12] Added more logging Traian Coza
2022-05-03 16:20 ` Paul B Mahol [this message]
2022-05-03 16:51 ` [FFmpeg-devel] [PATCH 00/12] I added text to bitmap subtitle conversion functionality! Nicolas George
2022-05-03 17:01 ` Traian Coza
2022-05-03 17:05 ` Leo Izen
2022-05-03 17:09 ` Traian Coza
2022-05-03 16:27 ` Soft Works
2022-05-04 0:16 ` Soft Works
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPYw7P6op_2FhuSnsD+nAOa5vb6rPDbe3z0H+dZjxTB07oJUxQ@mail.gmail.com \
--to=onemda@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=traian.coza@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git