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 ESMTPS id 791714BE53 for ; Tue, 4 Feb 2025 03:00:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3B7FB68B407; Tue, 4 Feb 2025 05:00:38 +0200 (EET) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0D2D1689A1C for ; Tue, 4 Feb 2025 05:00:32 +0200 (EET) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-53e3c3e38d0so803695e87.3 for ; Mon, 03 Feb 2025 19:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1738638031; x=1739242831; 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=mFWmKh7t0siucQ+yAGtg1T2gYhWFGjUxBqy63W0uwRU=; b=X4oPvQ0jDBhT8qauc8+yNILKt69ncjWaPfAoRIoImlajTMjjFm82V/itSq6umiXKwf 6Ybrg9lKEt/AE7FSV0126aaNAwAlFBONltvNkDwVqcKi7X4LVTOWbI0vM4i0aouufrR1 SRHJdFN8tbjJw8S6x9+g5VYZm3DRny8k8JZmgp1K4i3y4mYzgEGO6o7a9vrw8vO/IpJR oudswppalszr2ZVdsjIBidNnmghFX8VA5bNti3rklLb4pEr/RSrtgHpoM/rld3N87SwM hvoqoIA4vNrTOTr8zkltKfJvC7pKX82lbQmkNdsCP4hG4trQZfdfte0QkzzI0dA+JhLf OgUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738638031; x=1739242831; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mFWmKh7t0siucQ+yAGtg1T2gYhWFGjUxBqy63W0uwRU=; b=FKqq4nJIy85LRqQj+Jcap4fnuG49+O+iM3jprGaezEtlgYX12akCvrhggPMsHVYM6Y vKzaSxSu1mgICs+mInEzZp7OzywKedHT6u0pyVVWfoZlXrHRHaBXxtK3+IH7gaKv/8FQ fYn2QYqA0nm0C5oDFCw3mi9dF6lVf/LGHm9E/AUB5U24C7y43jxDRBrFouBBsFbBVkUJ BIw2O02yi7PLv/iDvd6l+em55CfR3AM6tQi1MBxD0Urpj8mkmZ5GWxc6WhnDN0FssloP XaYbHD6QALJIik+jezFi9/H/aJMPsVSrihzwdTixVFxzFCpjaz0GK6wzrDLBFyqV9yGR E5gA== X-Gm-Message-State: AOJu0Yzf6fQF3zkLxKdXrZAcNsvQTgET/oxc8Ts/LroUggEFDPl1zjT6 ORdg5Oa37WGaM+xhZDHfLmYaCzVv/XT2T+AOPGMiQu0JzN/j75pJvU/XJ8qS73gSm9Kj2FQwIpU FEGWj/hjuTLAUQ4NP2uSSnJzC7eIHyBIouDGNkA== X-Gm-Gg: ASbGncv+0zMyJv7waRe90feK8ikGRNQi+454aa9Kw75vUYyTgudl1H+Zd52UARR94pX hqPQ9GQ6eA1TiXeriBux9lUJCsKi1L8WPb1sESP2urV0Du529kBVO8fVyZcIewKJKiJ+E4weH X-Google-Smtp-Source: AGHT+IFCJfWVpcvVO2Ex+vC/F7cTd3dokn7C2wXZheqf0nNLFL/TO4Ik51dITi9PQJjky4XVCtRPs0LVSWN3IF3iMgg= X-Received: by 2002:a2e:a9a4:0:b0:300:33b1:f0df with SMTP id 38308e7fff4ca-307c5ea21bdmr2178271fa.4.1738638030101; Mon, 03 Feb 2025 19:00:30 -0800 (PST) MIME-Version: 1.0 References: <20241214041158.439133-1-scott.the.elm@gmail.com> In-Reply-To: From: Marth64 Date: Mon, 3 Feb 2025 20:59:53 -0600 X-Gm-Features: AWEUYZk1VLfx0i87MmdUuSqTBqfYLsDdezg2NPZH07a2UTW2SmbBdQVO9B4T7qY Message-ID: To: scott.the.elm@gmail.com Subject: Re: [FFmpeg-devel] [PATCH 1/2] libavcodec: add AV_CODEC_ID_IVTV_VBI 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: FFmpeg development discussions and patches 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: Hi Scott, LGTM. I will push soon and fix the APIchanges on the way. Apologies for the delay on this simple patch. Had a lot of issues getting the machine up and running. I was able to capture a sample finally and test this out. I wanted to test it to get an idea of how EIA-608 travels through this stream. The patch works and detects the discrete ivtv sliced VBI stream correctly. Based on the V4L2 docs and controls the coded VBI stream can contain EIA-608, Teletext, WSS (PAL widescreen signaling), or VPS (PAL VCR signaling). Even though there is no decoder/further demuxer yet to unwrap this, I am good with AVMEDIA_TYPE_SUBTITLE since this is effectively like AV_CODEC_ID_EIA_608 (where EIA608/DTVCC/XDS are clumped together similarly). I'm working on a prototype/idea to improve handling of these wrapped caption formats and will take this one into consideration. For anyone who wants to try, ``` v4l2-ctl -b cc -d /dev/vbi0 # set device to capture CC in sliced VBI v4l2-ctl -B -d /dev/vbi0 # validate above v4l2-ctl -d /dev/video0 -c stream_vbi_format=1 # tell V4L2 to inject the sliced VBI as IVTV format v4l2-ctl -d /dev/video0 -l # validate the above ``` _______________________________________________ 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".