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 E25E0409CC for ; Wed, 2 Feb 2022 02:53:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DE06468B36B; Wed, 2 Feb 2022 04:53:12 +0200 (EET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DD0D268A77A for ; Wed, 2 Feb 2022 04:53:06 +0200 (EET) Received: by mail-wr1-f54.google.com with SMTP id e8so35670901wrc.0 for ; Tue, 01 Feb 2022 18:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=69++DYzKNTyqL/6Gbz0HrpbBXdIMsLXBk/TQJkdOjwg=; b=fyaM8731Sk7Lqz8tZ/VLpvIGox1aLDgfP7aAy5xyQWaLHA0TxRUbi3ONKJUxZt2gIq bJMOLMmfmsdbddUo4RVsoO5KhFQ6xcWzfFtKT9MoCPeBS2GMpD7WjZU7CTTAZRM1Af4G rk17BRtj00XjFVuQMMasYJi6PAY490tQNOrKgb/oTOYXwkDP2gaZ00u1kkPJA0G6Ervb Y/WUW2hxC0a7HJZceoR2QVVdEO/jdSHOdx41aqKg7YOH56OWZuXOfLhLovTGo9dIICR2 yA0omavutPkHblbNGTTGivbiWtXQRXVlL7BcwkmH7vsc27CF5PfSp1D5sEHEoSVQ8yw8 OD8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=69++DYzKNTyqL/6Gbz0HrpbBXdIMsLXBk/TQJkdOjwg=; b=zKohMdErvqetRYUaiCZood98r7DyD4DdieBt/txIYJ0mxqqt1dP+EnGYsFCdivT0/N Q5yleOq9GKjobpKlM9m+HbmPCX42p0ovLLakazMB2lqnOqU9PQDHEF2ei7H19LhAcYal owrJncY3BgozQENGZW7Rx6s4ee/IaT8kXHIA1vx3JDJEbKUh+HCtUuMl2UE1VWnPzscH FykvgkDO3W/A3G1eEz3t74JyT4f7Q7VLFUaI3ttHKpcqxDey+oEk6qo0vGYHcizoeS02 M2BwjDmiVIJm2Es/g5qlc22gdWoY6RpHzbPpoSpWLGEqUwNGVp0pKIRSQyCo3ZxswDFN +opw== X-Gm-Message-State: AOAM532nwZwacCqWvKNtVWYm2Wg1OIuyfVJPrBcTIRELfvv7H3QP4Sbo K3VG5fOuaiQVux/pd8y7ioGsC1dxmTMic3I8eSh96TGgkeU= X-Google-Smtp-Source: ABdhPJx9R9mTXFhY6mPVljX88AMEFewGbny3gpQVITZKCgWRQg9ik9EzQmAvL+75rNT3z/zvQCPRWMDcuVUgE5ptGAc= X-Received: by 2002:a05:6000:384:: with SMTP id u4mr24270355wrf.202.1643770385612; Tue, 01 Feb 2022 18:53:05 -0800 (PST) MIME-Version: 1.0 References: <20220201215830.65635-1-markg85@gmail.com> <20220201215830.65635-2-markg85@gmail.com> In-Reply-To: From: Mark Gaiser Date: Wed, 2 Feb 2022 03:51:48 +0100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol 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: On Wed, Feb 2, 2022 at 3:29 AM Lynne wrote: > 1 Feb 2022, 22:58 by markg85@gmail.com: > > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gateways". > > A gateway is essentially a webserver that gives access to the > > distributed IPFS network. > > > > This protocol support (ipfs and ipns) therefore translates > > ipfs:// and ipns:// to a http:// url. This resulting url is > > then handled by the http protocol. It could also be https > > depending on the gateway provided. > > > > To use this protocol, a gateway must be provided. > > If you do nothing it will try to find it in your > > $HOME/.ipfs/gateway file. The ways to set it manually are: > > 1. Define a -gateway to the gateway. > > 2. Define $IPFS_GATEWAY with the full http link to the gateway. > > 3. Define $IPFS_PATH and point it to the IPFS data path. > > 4. Have IPFS running in your local user folder (under $HOME/.ipfs). > > > > Signed-off-by: Mark Gaiser > > --- > > configure | 2 + > > doc/protocols.texi | 30 +++++ > > libavformat/Makefile | 2 + > > libavformat/ipfsgateway.c | 267 ++++++++++++++++++++++++++++++++++++++ > > libavformat/protocols.c | 2 + > > 5 files changed, 303 insertions(+) > > create mode 100644 libavformat/ipfsgateway.c > > > > Fix all the coding style issues first... > Any hints on those? As I thought it was matching the other files (looking at crypto.c) nicely. > _______________________________________________ > 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".