From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 98CCB4E798 for ; Sat, 31 Jan 2026 00:49:38 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'7YfT2udfkmlor6lsiCFnLRGe0LRgdIw4vBpa29Ytw20=', expected b'06dCRbP0/wSPPRn8IegXVwibqpUm1njFTBjMyXU7HBo=')) header.d=proxyid.net header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1769820566; h=mime-version : references : in-reply-to : date : message-id : to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=7YfT2udfkmlor6lsiCFnLRGe0LRgdIw4vBpa29Ytw20=; b=h3PFlgfJloOVnNOnn1KywsqmmbJhDJNJAvJjEcHd0wcBchU44Y/8mA6SdkLmIkuYMOIdy 4Y5PgGeRnz27TkldcDFdqk/0psi6BtTu/DGpkAPkvXux57EIVav65sWppL5F/7QLP4Deq7O X2XPRG447CfKhg/31vl4PYKlQVC8DSsIaQGt9CC1laQvLVQPT/B4ytDGir7u5cv5AjfrW2O PjM0alX7lJgVGHRk7gNUzrWmaqG0dzMRNfxrwRtsD5KwjH0ocLLilHfxtejn1u18ohZhS/X MOC62JG2TKK61/9xegkCyyCNrcaNpKeHkUPeh1N9fxhYRWirpkJj7OBVT+Dg== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 528BF690FEA; Sat, 31 Jan 2026 02:49:26 +0200 (EET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1769820550; b=YDC0czC/lG5ZPFwVgweOj0im0C0Tosv3JyW0yHd7as3koBC3A+7L6dvfB56sNVIum/bJO FNd6aHNyoeHZnUaHgMHGZqcY60Vk7kfowe0ZgbV6h9f2cdx0b0hTv0gVujuTRrvSrxQWpOj NdmArCo+66q8NnK45pZOkR7zYwJ63rEypd5xTM41rfDUVZCUYnOdgY5LRmwMavHoswqCM/K yxwsUky8R/uEkHvg/dYMR3++/st3/ESYyNUex1f+2Qw8x1XY/eBTCzNzh/PQ7KCqMiOO83x 8B4G6gZhIxUeDcFbQg9QLHROzdU+4j1LZQSzc8Xw4ButJDs9WaB1rdRdUvnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1769820550; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=7YfT2udfkmlor6lsiCFnLRGe0LRgdIw4vBpa29Ytw20=; b=OKRLzdQRoRyG0G8w+ZVjP/Go8AEHBEFi8UL+nQvxMy5UMzGFusMiY9VBc5hH6J2pgdovY 8Tp8M/bvQQZIIw8xKjIlE2jp0ZZxsSDHusWFGBAkoEHKe2afg0Z/mVec2nUgkPguAMZ4fAB RX0irO2uwyWsNImzNXlqWOHAydHLueQ0c21TVH54duq8VjATKWz9zbFSndqshFFQivMPkGx FjTOgUYgkl3LoUjXLB6MNxhIoVLwKc014dpNS707w5BDiYOSL4iE2Iyaq+5E2TKQ4LH1L+b l6akcrW6CgeQ3Cz64Ump6lubP3dFMt+ekdefwAVnt/t5SfIy2FxA0KhhhE8Q== ARC-Authentication-Results: i=2; ffmpeg.org; dkim=fail header.d=proxyid.net; arc=pass; dmarc=none Authentication-Results: ffmpeg.org; dkim=fail header.d=proxyid.net; arc=pass; dmarc=none Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id B18F7690F52 for ; Sat, 31 Jan 2026 02:48:55 +0200 (EET) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-7d1739b6cc5so361457a34.2 for ; Fri, 30 Jan 2026 16:48:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769820534; cv=none; d=google.com; s=arc-20240605; b=RB9/5nwcH5QG8GFP/MfLoOdG90/qGwYHO3kJobVN6U5XSnSryDh1ch5vdqJ773PASG nSoYERvR0kiRSd9DtMd6cQEbTcbC2peqp5Glhtq66ACNsAjTlab3WsqzKWck1k3nDrWZ 6wKa6MtuwCCl+hkEX0ow2ovG6spKxATeBAGojZXbyKjkjPk85JH3S1vlfEOE1JHP3X5U AblQUScM+GpHdy5eb2CNUyH64IzeOijTbytdU4c0VHEFXdrcrgSczZmjp8nHo9Pf1sqq k0CvA+RDiXEtM/lB0uz4JlgTUdlX9yV3UmtM70BEnxphlsnUmXDoSyj7yGF60agkpVvP fo8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=06dCRbP0/wSPPRn8IegXVwibqpUm1njFTBjMyXU7HBo=; fh=RpgoxFLbcVXYImoNgzt9NA1R+jKT/d+FP0x4zajDFrg=; b=O50of8QsSgDhCmbHL9498z4gUnWMz1Ct9dE3UwyC1LD4n6tsLXhX6jm63VUy4ZL0MM JXQzbkoMY/19nGeJM45ZOTdWvMNWDu0ho4E+Ix7xNLjx8CPwUUBKAzrKsFj9rNSaj8W1 KtnoyQCtt7N8Kwxiz53cXRFQN+WM+gsw5HvsucY0Wi/NX2neYL1LNw+6X8PPBCeqXbk/ pxxOCMGfS4ItcE4pDgYV/j8BRsnUE14mG+U/5gQsge/0LJcwIlR0Ij23mKRfaqgTHtzK dQheomHd4hAchPLdaUBARfWn+ZHdIF6KGJMYkC2bY26VTt41ATLkT01d/ijI8igG9hye /T3w==; darn=ffmpeg.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1769820534; x=1770425334; darn=ffmpeg.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=06dCRbP0/wSPPRn8IegXVwibqpUm1njFTBjMyXU7HBo=; b=KgTYySEUMUGXX9DL3rQMjb9j+jFUf9yQ/jo/V21nFNXbuNAtoQJiBRDhFT1b68z5VD QpAEjTLeQj8xEQs8upwNa4f1QbfV0SPaBJpwEluoolypR5kTurhm+INH9E3tj7Yx11vE 5nEkVSqLcp4hXCGa4hp+Nq/SV2SjiL/lA8tKwmV9FN2I3amHW6EEUgqNrTEOs+zE2j3b vP18KJmd/Ac0ktEY2nHSFTCQ00wNCZcWwZsdvhIng93KjREbqsPdtUCwvXTp7TCciihQ HSfEzawZynQdzrns4E2YwK/oAKms8sV+ZhLOHCsRj1f/wOQJ/f/Hf6yCx4wXNCzi8FB/ rEVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769820534; x=1770425334; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=06dCRbP0/wSPPRn8IegXVwibqpUm1njFTBjMyXU7HBo=; b=MZ2tQR7YAR8PnAWE6FOtPXwRWBi6fZK4khQkZUuvC9v4R9B0ovxVmTb8eROCp4MmAb iqIKgteprESwB5UfNVQcSecso2oDQFeqW28I+CS0bd3OpVbQgMIpBEVDYbAPrmmaqKan TMuemChI6BA2KmBlnsqXhg1IIJAW7K3N6TujZU8f0qhq7EGTC8DeJAL6JCe6lqdKY0U9 bjSQgeci9qXylFDH2WPs3Zif5dU1e7k50D04Uqqnjdj4uNNcQh7YfttZJAV33PCU8NsT 8fWed9s9qzic1Ku91SBZJaD4BLnVX6h6DZkavhNE6RJW6p2lGzhmw4r5Q46SoQ46NHHq Z1Fw== X-Gm-Message-State: AOJu0YwNGA5Q/LvVy+ZZxzrED2kRCZiGg8OI3L9n7ueMmMbxSVrwj4q2 gcPGtArC6oKxXUxu8P9MZTCn5ckVfAmPOpAXlABpSq8eKjSCyVz14COXuYTM0x+QLFruXLFIRHC 1F1jOX/VQc4uYpv3IBuJf/xpFOThR7WRwLmN4fMk59xSmKGHgPBdB17QnkQ== X-Gm-Gg: AZuq6aJ+VviY2J/cER6wFptE17LLcdDY93P+kDItY0Q465L5HG4wltslOfx4q8ZDYdG Frw9dPr7MYPnVfeZhHtlifPtRNoajHNP5z6MF1fbiywhDRBYO9HytZVF6IObv+kB9FdJ3nM8A5t MECOG1fpyeCnfpc0qnvZ8vW0rfShP/m1HVze5BwTVW1dAVMnUiXeNEzcIgEUaqlPw17XWq60B3M T1Cz8YIdTytUM99HQhWyQ1+/iky+6VEi6kOEJqcF2ONp/ubYNtVfgB9AytWW9UBZzlnjicPxMx+ q5A9KoJHAAMPWd14bxIFTdva1Hk= X-Received: by 2002:a05:690c:10d:b0:794:2fca:81a with SMTP id 00721157ae682-7949e08682bmr35703307b3.8.1769820086902; Fri, 30 Jan 2026 16:41:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 30 Jan 2026 18:40:51 -0600 X-Gm-Features: AZwV_Qi-klt9mwKYGRd7Gi3ZyZA6Z5OjJexFVFOqRLO3nwOxq0GZK7BYQayLTF0 Message-ID: To: Devin Heitmueller Message-ID-Hash: Z35P3DMZHI2PYVRGAEGROFWIAS7X2ZKV X-Message-ID-Hash: Z35P3DMZHI2PYVRGAEGROFWIAS7X2ZKV X-MailFrom: SRS0=7HNd=AE=proxyid.net=marth64@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] =?utf-8?q?Re=3A_=5BGSoC_2026=5D_Qualification_Task_=E2=80=93_?= =?utf-8?q?SubViewer_Decoder_Patch?= List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Yalda via ffmpeg-devel Cc: FFmpeg development discussions and patches , Yalda Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: Thank you, Devin. Here is my current unprioritized laundry list (This is a very rough version, I will move it to a document and try to articulate it better and also I probably missed some things) Refactoring: - Migrate the MPEG-2 user data DVD/DISH/SCTE/etc to A53 translator code, and any similar conversion if it exists to CodedBitstream (CBS) API. Outcome: Processing of bitstream wrapping is no longer crammed in MPEG-2 encoder, and with CBS API possibility of encoding the wrapping in the future is more clear. Limit: Do not alter algorithms in such a way that causes difference in input/output especially output to A/53 part 4 (the current intermediate in ffmpeg). Benefit: In this way, this parsing logic is made independent (the formats are respected as actual coding formats) and we can test it independently as well as open the door to cross-translation between formats. - Identify common functions if any (parity checks, etc.) and move to shared utility file Outcome: Inventory common functions especially those that are stateless and centralize them Benefit: Remove redundancies API cleanup: - Create AV_CODEC_ID_CEA_708 and AV_CODEC_ID_WRAPPED_CC , and update current AV_CODEC_ID_EIA_608 references to AV_CODEC_ID_WRAPPED_CC Justification: Right now, all CC bitstream in FFmpeg is classified as EIA-608 but this is not really what is being passed around. Also it does not consider CEA-708. 1, CEA-708 is its own codec and if we ever support it we should treat it as one. 2, Within FFmpeg, we carry CC bitstream that can contain both but are wrapped in A53 format and can contain 608 or 708. So we should identify that accurately as "wrapped CC". ccaption_dec fixes: - Fix odd naming inconsistency and name it for what it actually is: an EIA-608 decoder (eia608dec). Justification: File is "ccaption_dec", class is "cc_dec", description suggests CEA-708 support (not true, this data is skipped). Complement with the API polish fix above, and the decoder will now actually be honest and clear about what it does - Add an option to trim whitespace Justification: Besides archivists, it is generally undesirable to have whitespace which is rampant in CC due to positioning methods which can be "tricks" While the decoder produces decent ASS, many people want simplicity such as SRT This IMO a massive output usability improvement, though long term belongs in subtitle filtering facilities (we do not have it now) - Fix ASS resolution to be NTSC based, not PAL Justification: Right now, decoder uses ASS_DEFAULT_PLAYRESX and ASS_DEFAULT_PLAYRESY as the ASS resolution base This would make it 384x288 (PAL multiple) respectively, but I think it should be 360x240 (NTSC multiple) 360x240 scales cleanly to 720x480 IIRC this can cause inaccurate alignment in 16:9 outputs (where positioning is retained in ASS) but I have to go back and check why I flagged this - Make cropping text off screen width an option Justification: Right now, decoder always cuts off columns that it thinks are past the screen width I am not sure this is correct behavior to enforce, I have seen samples where the CC are authored oddly (squished from 16:9 to 4:3), or just slightly off to push limits - Recently reported issues https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/21332 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org