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 1ADD942D1A for ; Tue, 3 May 2022 18:31:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0552468B3C3; Tue, 3 May 2022 21:31:29 +0300 (EEST) Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A348868B3B0 for ; Tue, 3 May 2022 21:31:22 +0300 (EEST) Received: by mail-qv1-f42.google.com with SMTP id a5so12844195qvx.1 for ; Tue, 03 May 2022 11:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=krQa/sCdfUF0tArTSv/qnex31ZhueLgjpf9w7RA40Mk=; b=V8tZFiXEEtSLros9qaoOT9SkVFy3H5QJR72DoUbMVOSCprTVTk+9QMQd5om9Mv+xOD lztjWIV7fU89jVOdgVuQ4C3fGAtU17NYR7JadbfnFxVwzd0LbTzr0u5ix7iAxUxqlwcs D0AUWBqttwFNLBQ+9V2DmqqtordwQwTT54tfVxbm4YAQT5OWvEjpU9R4l5PtiNcow9Xr SHkvxwkabg8g8OD5hjE0iGomQokaOCEy24knwbjzkWUCvlntOiijKtcPTQTSWiSg0nBO +3KSJh+puKA3qig5EUDUPqxcGgMb0SA0W9+jye8ZB3Q229xVMvvPWWPDc9IHR1I8gbuv 0dCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=krQa/sCdfUF0tArTSv/qnex31ZhueLgjpf9w7RA40Mk=; b=0CtZlh8nYwJhrfelIY0SGG+QONrDDtwKdSwILoBpfMlBtiiYsdzfZEdwMd+blQYAZ1 E33iOJgiCt1lnqxKDLYeuZRmSDolWYGo4nEYxbAJ9pK2mmmtMUkIvnCWENzKiTewEEKF eOiwFu0Uyto+IV5AMH1B+2v6iKs28T9i7jx0fXAYyhyztsTvr6mnyK0hAshEqPabb6ne ZBcaC6d65ZNXsuKeaicrp0daBoJrhpUXgt9K/KWOwydUlBMRLJxx6b9JNdk7XYoUVnAe M476qbEE7CpmJBdzYMG5KZWI99njyL7pDKA9IqqTKSLk+eRXvKem7pY80fSYvLtoGZRr Yljw== X-Gm-Message-State: AOAM530jimWoaZSwmmseJS12MDEU2L/agrXAYBmKquDXZM4ESeWjJx+T Li8QZcoukRL2FRoH69QGF3dADNMoSPze X-Google-Smtp-Source: ABdhPJyXnYMi9WmNaRs8he3ouLK4SBGEIDZDABCuuQfEg9UFkPirUPqSq/DDhZ82fqT/nlTJUKNF6w== X-Received: by 2002:ad4:5be2:0:b0:456:47ef:55f2 with SMTP id k2-20020ad45be2000000b0045647ef55f2mr14686859qvc.99.1651602681138; Tue, 03 May 2022 11:31:21 -0700 (PDT) Received: from thinkpad.. ([66.220.203.136]) by smtp.gmail.com with ESMTPSA id he5-20020a05622a600500b002f3b561957asm82343qtb.13.2022.05.03.11.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 11:31:20 -0700 (PDT) From: Traian Coza To: ffmpeg-devel@ffmpeg.org Date: Tue, 3 May 2022 14:31:13 -0400 Message-Id: <20220503183114.870470-1-traian.coza@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/1] Text to Bitmap conversion implemented! 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: Traian Coza 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: I've modified my previous patch to fix a number of aesthetic issues. First, I have only one commit now. Second, I have read the Contributing section and I think I respected all the conventions mentionned there. Third, I have rebased my commit to be up-to-date with the central repo. Tell me if there's anything else I need to do. Original email body: 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. Traian Coza (1): fftools: Implemented text to bitmap subtitles! fftools/Makefile | 2 + fftools/ffmpeg.c | 35 ++++- fftools/text_to_bitmap.c | 303 +++++++++++++++++++++++++++++++++++++++ fftools/text_to_bitmap.h | 37 +++++ libavcodec/avcodec.h | 9 ++ 5 files changed, 385 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".