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 BAF134A0D7 for ; Wed, 20 Mar 2024 14:12:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5329968D472; Wed, 20 Mar 2024 16:12:06 +0200 (EET) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7AF1A68D382 for ; Wed, 20 Mar 2024 16:11:59 +0200 (EET) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-34175878e3cso1905796f8f.0 for ; Wed, 20 Mar 2024 07:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710943918; x=1711548718; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=EU5j5LU/O8YNc7P9IjJ6Zc1j4CHNOQBfLgOP5J6JcYQ=; b=RzGSwPOPcs1QZGjXAwk8rZgvkoFUrS0CPJEjInIPAIhCM86Z/HA3OvWIuOFzMute87 zwoQ9OR6va+Bc/l7BXNhpE20hmPvYC4/BftKztYwckkZKnHrJP10/90FZBgyJ9sfo7iV 6hWTeRBtKWIYTy5S9kZPVLY71Pzu/v3SWidFWbahY0g3iggm22MkFg4Je8vOBMOlzXg6 Ato/geqy9Y90utESmN0nnot5+JfDONZdC7NFSwlUikin6VGzLn5OtITMOqXUdZX4dIHJ bgyl3d5gUq73DQakk1sjgKJYtQYzZLjdlIPwp5cHwhvkr4DSfECn1IYAIdlvwC3XA/7R JaiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710943918; x=1711548718; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EU5j5LU/O8YNc7P9IjJ6Zc1j4CHNOQBfLgOP5J6JcYQ=; b=Vzpzr8STj70J7zMHpO5PAVzWlf7TRQ7sTj/T/AzVd572XLGOfxfKgjOVxEdDqUpQVy mdSQgOM2MFAUxJMQp9AgtA3AOGrmvGrK6HSj3o7ePYA1WF6c3k4xxgoB0IMjrhTDg5gO uEc5vDjed9DT8aXB/64MmQomzX7gbUqx64nEOX0YR4IFjh2JQbftG2nC/E6ekEtu17R0 feBqOCDr8Q/ZBAr4NH1WcCuBFa7BulRqNCxLGpmrIS3rM0c4zjwOWOqWFjxTnFpxiKcO NjnXrjmZWM7SfbzIsBQmAILBLonSQJhm2/XtPj2Vn73n3/FwKTTXjF8AaPn02FOqxJx8 btFg== X-Gm-Message-State: AOJu0YwKfv97PL31TZpH0t+fVESOsp0KQJRwifFh2i564HhvGQCdt8Hm uUsnP04E+JRLYBaYh7MR0f7WFyerXyVTgEuuYjLdOBcFtTSSn81Zz309CcRK X-Google-Smtp-Source: AGHT+IHlTRgJNuuP17LiwtNAyo2hlHY0npqwMj9hWNxw5ySyzlUXKn0XbKBOWLRXjYUDx4Bdg9NXng== X-Received: by 2002:adf:ca0b:0:b0:33e:d15c:3575 with SMTP id o11-20020adfca0b000000b0033ed15c3575mr1506198wrh.33.1710943917715; Wed, 20 Mar 2024 07:11:57 -0700 (PDT) Received: from mariano ([188.210.239.0]) by smtp.gmail.com with ESMTPSA id p7-20020adfcc87000000b0033e25c39ac3sm14908921wrj.80.2024.03.20.07.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:11:57 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 1469BBFCDC; Wed, 20 Mar 2024 15:11:56 +0100 (CET) Date: Wed, 20 Mar 2024 15:11:56 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches , Marth64 References: <20240319173913.2754690-1-marth64@proxyid.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240319173913.2754690-1-marth64@proxyid.net> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH v5 1/4] avformat/rcwtdec: add RCWT Closed Captions demuxer 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: Marth64 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: On date Tuesday 2024-03-19 12:39:10 -0500, Marth64 wrote: > Signed-off-by: Marth64 > --- > Changelog | 2 +- > doc/demuxers.texi | 29 ++++++++ > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/rcwtdec.c | 148 +++++++++++++++++++++++++++++++++++++++ > 5 files changed, 180 insertions(+), 1 deletion(-) > create mode 100644 libavformat/rcwtdec.c > > diff --git a/Changelog b/Changelog > index e3ca52430c..be871f75cd 100644 > --- a/Changelog > +++ b/Changelog > @@ -19,7 +19,7 @@ version : > - lavu/eval: introduce randomi() function in expressions > - VVC decoder > - fsync filter > -- Raw Captions with Time (RCWT) closed caption muxer > +- Raw Captions with Time (RCWT) closed caption muxer and demuxer > - ffmpeg CLI -bsf option may now be used for input as well as output > - ffmpeg CLI options may now be used as -/opt , which is equivalent > to -opt > > diff --git a/doc/demuxers.texi b/doc/demuxers.texi > index b70f3a38d7..26d4ba18a1 100644 > --- a/doc/demuxers.texi > +++ b/doc/demuxers.texi > @@ -1038,6 +1038,35 @@ the command: > ffplay -f rawvideo -pixel_format rgb24 -video_size 320x240 -framerate 10 input.raw > @end example > > +@anchor{rcwtdec} > +@section rcwt > + > +RCWT (Raw Captions With Time) is a format native to ccextractor, a commonly > +used open source tool for processing 608/708 Closed Captions (CC) sources. > +It can be used to archive the original, raw CC bitstream and to produce > +a source file for later CC processing or conversion. This demuxer can process > +RCWT sources created by ccextractor or FFmpeg. For more information on the format, > +see @ref{rcwtenc,,,ffmpeg-formats}. > + > +This demuxer implements the specification as of March 2024, which has > +been stable and unchanged since April 2014. > + > +@subsection Examples > + > +@itemize > +@item > +Render Closed Captions to ASSA (using FFmpeg's CC decoder): ASS ?? > +@example > +ffmpeg -i CC.rcwt.bin CC.ass > +@end example > + > +@item > +Convert an RCWT backup to SCC: for the sake of exclicitness, I'd avoid more acronyms, I'd guess this is source Closed Caption? [...] Looks good to me otherwise, thanks. _______________________________________________ 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".