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 D9D82467D1 for ; Sun, 18 Jun 2023 12:59:46 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D0CC068BF45; Sun, 18 Jun 2023 15:59:43 +0300 (EEST) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B6AAD68B121 for ; Sun, 18 Jun 2023 15:59:37 +0300 (EEST) Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id ABDC81060136 for ; Sun, 18 Jun 2023 12:59:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1687093177; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=/ZRL55SDdt0zDJB5E2tzHTDNXObSGhEqIKWOKU0+s1U=; b=pOHxTmuJ5EKaVP8fZc7q6+MaZvW/fJAMedWF9J09bBoJksf3yJXTjBRWoN+TuNwy iozvFKhe3no08xFQ3/XaVjvme9QSTHvAbqaDwSW747dMqDDI9lKhLoseCTStlRibQxQ iNDWMD+KUHQ11ZP5OB+7r0yoN+81DyjXy+HJ7pNLLYfr3DI0rRAkUL+CvnfQFMlDx8L vgCgDyiyPlqJr1maUwar7yW+d4naUi7fSbaQRZgAxucO6AaKGeYZa71A3uQhBm23mDu t/8YV+9KOLWy/0aeTmU1nnicf5vx5idPFEqSUHBnKE+xHzoQCvw0/TJVYcn4TqtWL2B S1cpf1JQCQ== Date: Sun, 18 Jun 2023 14:59:37 +0200 (CEST) From: Lynne To: FFmpeg development discussions and patches Message-ID: In-Reply-To: <20230617183723.GP1391451@pb2> References: <20230616222048.6562-1-michael@niedermayer.cc> <20230616222048.6562-6-michael@niedermayer.cc> <20230617084627.GM1391451@pb2> <20230617124842.GN1391451@pb2> <20230617183723.GP1391451@pb2> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 5/5] avformat: add sdr 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-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: Jun 17, 2023, 20:37 by michael@niedermayer.cc: > On Sat, Jun 17, 2023 at 08:08:11PM +0200, Paul B Mahol wrote: > [...] > >> Which library handles compressed stuff? >> > > For digital stuff like DAB/DVB/... > > sdrdemux in libavformat will demodulate, do error correction then return AVPacket > with H.264 / Mpeg2 video or AAC or wahetever > That then will get passed to libavcodec, same as with any other demuxer. > > This code is not written yet. There is just analog AM demodulation. I posted > this patch as soon as the first usecase worked > > usecase was "listen to random AM radio stations in ffplay" :) > and it can also grab all AM stations in a 10Mhz window and demodulate all > (that 10mhz is what my hw and usb bandwidth can do max) > > I intend to add FM demodulation, because it seems a fun thing to try to do. > > someone will need to add DAB/DVB support, I would be happy if someone else > comes forth to do that. If noone does ill think about if i want to do it > or not once FM is done and once this is in git. > > The initial reaction from some was a bit spicy, so i need to think > how much fun this is in FFmpeg. > But one thing i can say for sure, is, if i cannot use this in ffplay > then it makes no sense for me to put more time into it > > We could implement seeking to next/previous stations differently but > it seems a bit like creating extra work for everyone. > I mean a new API in sdrdemux then ffplay needs to support that and then > other players would need to support it and so on. While really the > seeking on a realtime input has no other use > I like the new functionality, but I too think that libavformat should just source the data from a device, and that libavfilter should demodulate. There are applications for which you'd like to store the raw Mhz/Ghz audio data as well as the decoded data. Additionally, filters can receive commands, while demuxers can't, so switching stations would be simpler. _______________________________________________ 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".