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 C3000409C4 for ; Wed, 2 Feb 2022 02:29:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BCDA268B357; Wed, 2 Feb 2022 04:29:41 +0200 (EET) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7203A68B22F for ; Wed, 2 Feb 2022 04:29:35 +0200 (EET) Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id D7F1E106016F for ; Wed, 2 Feb 2022 02:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643768974; 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=+eqdssTZM260TKnrEDBs0eb+PVDa0DdnjpLNf2CpoVA=; b=T/kJ9cGrpuBuZ3AlrY6DlII7V0RgWRsV4OsuL/MuzxNhQeHsfKbMnAUXUKtwm1al 3UPkXKyqfdYW835krkwoMlougCplfs7obTbgGHO/kfWy+NRHaXBCV53VdxRHkbdjG9R vkJEA6g+UJr05TK+bxbU8lPUR2Wz19OsRJ4XYDhw2NC6YF9J1+hAU6T7qtWKD6x+KAP x83r7c05jY50UEcN5AUod3gbPIVxQq+LW7VofqeMxOqjYLzauN590SLEjSfEw6o9psK VxgOrQ7YxV+XmykIQfp0VBAKSvaGk5uTIj6gaIAxUD/t3H5omSpGPiSeDpYEoRruU7g mOKB+ol0lQ== Date: Wed, 2 Feb 2022 03:29:34 +0100 (CET) From: Lynne To: FFmpeg development discussions and patches Message-ID: In-Reply-To: <20220201215830.65635-2-markg85@gmail.com> References: <20220201215830.65635-1-markg85@gmail.com> <20220201215830.65635-2-markg85@gmail.com> MIME-Version: 1.0 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: 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... _______________________________________________ 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".