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 75EF146FBB for ; Mon, 24 Jul 2023 15:57:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6F43668C77B; Mon, 24 Jul 2023 18:57:37 +0300 (EEST) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 36EAB68C5B8 for ; Mon, 24 Jul 2023 18:57:31 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 94ED82000D for ; Mon, 24 Jul 2023 15:57:30 +0000 (UTC) Date: Mon, 24 Jul 2023 17:57:29 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230724155729.GP7802@pb2> References: <20230722192957.703-1-michael@niedermayer.cc> <20230722192957.703-5-michael@niedermayer.cc> <20230723152304.GJ7802@pb2> <1eba1389c52dead477fa1fd445d5ae918be25951.camel@haerdin.se> <72ef7953-2723-7ffa-eab9-021a84d0e481@gmail.com> <20230723225639.GN7802@pb2> MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 5/6] fftools: avradio 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: multipart/mixed; boundary="===============5389963652917966104==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5389963652917966104== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Bd2KlmcTHfsQFEJ+" Content-Disposition: inline --Bd2KlmcTHfsQFEJ+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Mon, Jul 24, 2023 at 10:19:08AM +0200, Nicolas George wrote: > Michael Niedermayer (12023-07-24): > > There are other pathes forward but thats the current plan _IF_ this > > isnt killed off by the community and _IF_ others join and enjoy > > working on this. Also nothing is cast in stone, this plan is intended > > to be adapted as needed on the way. >=20 > I would love to play with this, but apart from the lack of time, I > suspect using these patches requires some hardware I do not have. Can > you tell a little about it? sure, you can test it without hw, for example this: https://samples.ffmpeg.org/sdr/klassik.sdr.bz2 bunzip and =2E/ffplay klassik.sdr -rtlsdr_fixes 1 -video_size 1024x400 should play the sample with hw, the cheapest i know of are the RTL-SDR DONGLES, you can get these with an atenna and free shipping for less than 45$. official page is this: (there are links to places to buy and pictures of genuine and clones) https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/ (theres also a list of "RECOMMENDED ALTERNATIVE SDRS" at the bottom of that= page) I also have a sdrplay rsp1a but this requires closed source drivers and for me required to mess with build options in libsoapy interface to it (disabling isochronous mode which didnt work reliably with my notebook) Once you have the hw and libsoapy, antenna (or random wire) you can try it with some random established software like cubicSDR, SDR++, sdrangel or anything tomas mentioned. or just the libavradio repository (ATM i do recommand to also apply all pending patches to it as these often include bugfixes) then a simple =2E/ffplay -sdr_freq 89M -f sdr x -video_size 1024x300 should open a vissualization of the radio spectrum at 89Mhz with any detect= ed vissible radio stations with their metadata and frequencies displayed left and right arrow keys should allow moving to the next and previous stations. -dumpurl somefile.sdr allows dumping the vissible radio spectrum to a file (big) and replaying it later (this is very usefull for testing and debuging) another important option is -gain because if gain is too low theres nothing and if its too high all kinds of cliping overflow and artifacts will cause problems. there are 2 automatic gain control modes (one from hw and one in sw) and you can just set the gain by hand. ATM our code is able to detect some kinds of artifacts and seperate them =66rom real radio stations by the way they move in relation to the choosen frequency. Also the antenna should ideally be far away from any interference causing electronics. >=20 > Also, is it only for receiving? It is there, at least as a potential, > the possibility of sending, maybe in the Citizen Band? ATM its receiving only. hw like the rtl-sdr or sdrplay rsp1a only support receiving. There are SDRs that support transmitting though transmitting support would be cool but thats for others to add. Preferably someone who lives in a country with liberal laws about it and who has already experience and all needed technical and legal things in pla= ce. thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf --Bd2KlmcTHfsQFEJ+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZL6fZQAKCRBhHseHBAsP q8trAJ9dMpQBseUZUCVKdfi3W3kBSw/+hQCfQEkBI+MXbmAFAy5yWKVmb+KhCzI= =2aKx -----END PGP SIGNATURE----- --Bd2KlmcTHfsQFEJ+-- --===============5389963652917966104== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============5389963652917966104==--