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 535A7465F8 for ; Thu, 22 Jun 2023 15:10:18 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 58F4068C1CE; Thu, 22 Jun 2023 18:10:17 +0300 (EEST) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 55D6C68BF68 for ; Thu, 22 Jun 2023 18:10:10 +0300 (EEST) Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-39e86b3da59so5439088b6e.3 for ; Thu, 22 Jun 2023 08:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687446608; x=1690038608; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Q/YUDaTON6tmA+rEyfi3aX5y79hSFhDPbVFFyEq94w0=; b=nH5KxRFaOlM23WaGC6xGYKD+dtPHUUwzkIOVB7c6jvBw4S4ENaOgihT8xDw3HLq2RZ ptr3icD/y3kJO/PJL8MQSoakv3gVMtBmRzEYzyjUBJvA2yAL2WRXDTWj2Ta20S3mSjj0 fvc6Rnny+0tuc2qm27usgVnBSNgr8kKm5bHvxq5mqE4ltcIrwBTeKbACYdSsKziLRJ8N UE5blnSSwf1PLbu1pX6Z/OSiOf22k1sCgu7OWlzGRCesmQuC7OXmv13BLFwB3j020+gB hpYQMw3UyKuwFMlYuU12lefRd1ZfVyfirhhDi9ExmUExGmEcOcNgqNtC/+NLhfig7D2o VJqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687446608; x=1690038608; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q/YUDaTON6tmA+rEyfi3aX5y79hSFhDPbVFFyEq94w0=; b=f+hwjbgLIhyX8jwv9RQp4q1h7kIJXSYyLLLnmX9Otu1Dq4/Cgn0JZKBve9mpHk9U68 Sd2NMgvm9jVnTzuf23Oi22EaUpwR373ALMJGwUpqvJ0g09Q1mMW0zpohnzQRqNwz2DRe M1xMkb7k/uTShaxhNbxs/uBMOnrct+1glxKycUOQI3B8lj8/sc3nMM97Ye7/wU+Bewhc m4GtqOZ50dWcAEb4yNjtQ8AJdm1Iyrn3VOYAQdaVu+pkUDwH4AQscyi3S+KaT28X7k1r efktmf3tE5AKqROioVezJMNswwUbujXVqnwP110nOEv82i3R21yaqYjqK21oGgAFZ6Q0 Qsfg== X-Gm-Message-State: AC+VfDyihg1QCPlql+ibICqKufrQGJkapCQr51dezaNHE8UFlPdnZiyV dozyWm2e3yThGbLJrRcyI01d0LdsgJI= X-Google-Smtp-Source: ACHHUZ6D3Qb2e/nMFl4l4LvoiclKinKpsl0BBITEs0C1TEVJfwPFDH9z0rMZjTA0AQl+ISJwBzP6cA== X-Received: by 2002:a05:6808:108:b0:39e:b0f7:e7c with SMTP id b8-20020a056808010800b0039eb0f70e7cmr10428831oie.41.1687446608578; Thu, 22 Jun 2023 08:10:08 -0700 (PDT) Received: from [192.168.0.12] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id r10-20020a056808210a00b0038ee0c3b38esm3215994oiw.44.2023.06.22.08.10.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Jun 2023 08:10:08 -0700 (PDT) Message-ID: <8e1965cc-9479-5fd1-0b0b-dbbe6a26cf36@gmail.com> Date: Thu, 22 Jun 2023 12:10:06 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230618222805.4054410-1-michael@niedermayer.cc> <20230622134328.GA3250409@pb2> <6f1c5b3a-99cb-c2e2-41fd-da0a1273b9fe@gmail.com> <20230622150527.GC3250409@pb2> From: James Almer In-Reply-To: <20230622150527.GC3250409@pb2> Subject: Re: [FFmpeg-devel] [PATCH v2] avformat: add Software Defined Radio support 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 6/22/2023 12:05 PM, Michael Niedermayer wrote: > On Thu, Jun 22, 2023 at 10:55:44AM -0300, James Almer wrote: >> On 6/22/2023 10:43 AM, Michael Niedermayer wrote: >>> On Mon, Jun 19, 2023 at 12:28:05AM +0200, Michael Niedermayer wrote: >>>> Signed-off-by: Michael Niedermayer >>>> --- >>>> configure | 4 + >>>> doc/demuxers.texi | 71 ++ >>>> libavformat/Makefile | 2 + >>>> libavformat/allformats.c | 2 + >>>> libavformat/sdrdemux.c | 1739 ++++++++++++++++++++++++++++++++++++++ >>>> 5 files changed, 1818 insertions(+) >>>> create mode 100644 libavformat/sdrdemux.c >>> >>> Ill post a v3 later today or tomorrow that makes this work with the RTL-SDR Blog V3 >> >> Shouldn't the SDR "demuxer" be in libavdevice? Being AVFMT_NOFILE and pretty >> much a capture device, it seems to me that's the proper place. >> I guess the problem arises with the sdrfile demuxer, which shares code with >> the other one. > > I have no oppinon on this. I can move it to libavdevice if people prefer. > do people prefer libavdevice for this ? I do. It's a capture device and depends on an external library to interface with hardware. And like i said, you can keep the file demuxer in lavf, where it does fit. > > > personally i think libavdevice should be merged with libavformat. It's been suggested plenty of times. Anton attempted to at least kickstart it once, but his plan was shot down. No one has tried anything ever since. > Their APIs and ABIs are the same, they are not truly seperate libs > One could say libavdevice is a plugin for libavformat. And with that view > having each device from libavdevice a plugin would be "better" than all > together as a plugin > > thx > > [...] > > > _______________________________________________ > 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".