From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway Date: Thu, 18 Aug 2022 16:31:54 +0200 Message-ID: <20220818143154.GF2088045@pb2> (raw) In-Reply-To: <a7580fac4138ed51aacb4326446cde1ec30c3528.camel@acc.umu.se> [-- Attachment #1.1: Type: text/plain, Size: 2754 bytes --] On Wed, Aug 17, 2022 at 05:03:56PM +0200, Tomas Härdin wrote: > tor 2022-08-11 klockan 19:35 +0200 skrev Timo Rothenpieler: > > On 11.08.2022 19:21, Mark Gaiser wrote: > > > > > > Here's the conversation requesting this very feature: > > > https://ffmpeg.org/pipermail/ffmpeg-devel/2022-March/293835.html > > > > I generally agree with the points brought up there. > > But my conclusion very much is not "just put a somewhat random > > default > > into the code". > > Even a list of defaults is not Okay. > > We can't hardcode "magic servers". > > > > If it's not possible to make the protocol work without them, it > > likely > > shouldn't have been merged in the first place. > > Why can't it access the files directly, but only via some magic http > > gateway? > > Why does it need special code in ffmpeg in the first place, if you > > can > > just access it via that http proxy-gateway anyway? > > I raised this very point several times when IPFS support was first > suggested, and raised that ipfsgateway.c amounts to business logic that > does not belong in lavf. I see now hat others in this thread, like > Derek, agree with me on this, which is nice. IIRC I even suggested that > users should solve this in bash, a suggestion that was shouted down as > being "insecure". you cannot do it in bash filter="ipfs://..." on the command line is translated or not ? if its drawtext showing the user on screen a URL it must not be OTOH if the filter reads from the URL it has to be this just isnt going to work at the bash command line level besides bash is not even a dependancy of FFmpeg not to mention that a ipfs:// link from one container to another container would never show up on the command line > > I also suggested we should actually implement ipfs or link to a library > that implements it rather than shoving more string mangling crap into for reference, mark replied in that thread: A "proper" implementation is unfeasible for ffmpeg purposes because a proper implementation would act as an IPFS node. That means it would: - spin up - do it's bootstrapping - connect to nodes and find new nodes to connect to - find the CID on the network - etc... This all adds a lot of startup time making it very unfriendly to users. In this scenario it could take up to minutes before your video starts playing if it doesn't time out. > lavf. A default gateway didn't exist when I last looked at the > patchset. Seems I wasn't vigilant enough. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The greatest way to live with honor in this world is to be what we pretend to be. -- Socrates [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 251 bytes --] _______________________________________________ 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".
next prev parent reply other threads:[~2022-08-18 14:32 UTC|newest] Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-10 22:27 Derek Buitenhuis 2022-08-11 12:08 ` Timo Rothenpieler 2022-08-11 16:26 ` Mark Gaiser 2022-08-11 16:49 ` Timo Rothenpieler 2022-08-11 17:21 ` Mark Gaiser 2022-08-11 17:35 ` Timo Rothenpieler 2022-08-11 17:56 ` Mark Gaiser 2022-08-11 19:18 ` Derek Buitenhuis 2022-08-11 20:18 ` Michael Niedermayer 2022-08-11 22:03 ` Timo Rothenpieler 2022-08-11 22:51 ` Derek Buitenhuis 2022-08-12 13:43 ` Mark Gaiser 2022-08-12 14:22 ` Vittorio Giovara 2022-08-12 14:30 ` Kieran Kunhya 2022-08-12 14:34 ` Mark Gaiser 2022-08-12 14:45 ` Kieran Kunhya 2022-08-12 14:48 ` Derek Buitenhuis 2022-08-12 14:50 ` Kieran Kunhya 2022-08-12 14:55 ` Nicolas George 2022-08-12 15:05 ` Michael Niedermayer 2022-08-12 17:01 ` Nicolas George 2022-08-12 17:18 ` Michael Niedermayer 2022-08-12 17:21 ` Timo Rothenpieler 2022-08-13 16:29 ` Michael Niedermayer 2022-08-13 19:06 ` Timo Rothenpieler 2022-08-14 18:00 ` Michael Niedermayer 2022-08-15 14:09 ` Nicolas George 2022-08-15 14:27 ` Jean-Baptiste Kempf 2022-08-17 15:03 ` Tomas Härdin 2022-08-18 14:31 ` Michael Niedermayer [this message] 2022-08-19 9:15 ` Tomas Härdin 2022-08-19 12:52 ` Mark Gaiser 2022-08-22 9:12 ` Tomas Härdin 2022-08-22 12:52 ` Nicolas George 2022-08-23 12:53 ` Ronald S. Bultje 2022-08-23 12:55 ` Nicolas George 2022-08-24 16:35 ` Tomas Härdin 2022-08-24 20:54 ` Michael Niedermayer 2022-08-27 7:05 ` Tomas Härdin 2022-08-28 14:14 ` Michael Niedermayer 2022-08-24 21:03 ` Michael Niedermayer 2022-08-24 21:18 ` Kieran Kunhya 2022-08-25 13:57 ` Michael Niedermayer 2022-08-25 14:41 ` Kieran Kunhya 2022-08-27 7:29 ` Tomas Härdin 2022-08-27 7:53 ` Paul B Mahol 2022-08-27 11:30 ` Tomas Härdin 2022-08-27 17:34 ` Baptiste Coudurier 2022-08-28 11:49 ` Tomas Härdin 2022-08-15 17:53 ` Michael Niedermayer 2022-08-15 19:35 ` Derek Buitenhuis 2022-08-15 19:37 ` James Almer 2022-08-15 21:47 ` Michael Niedermayer 2022-08-15 21:57 ` Nicolas George 2022-08-15 23:53 ` Mark Gaiser 2022-08-16 14:46 ` Michael Niedermayer 2022-08-14 13:24 thelostone123
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220818143154.GF2088045@pb2 \ --to=michael@niedermayer.cc \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git