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 621F9409F7 for ; Wed, 2 Feb 2022 12:52:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 41F6868AA97; Wed, 2 Feb 2022 14:52:08 +0200 (EET) Received: from mail.acc.umu.se (mail.acc.umu.se [130.239.18.156]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 878EA68A8E7 for ; Wed, 2 Feb 2022 14:52:01 +0200 (EET) Received: from localhost (localhost.localdomain [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id E42BE44B92 for ; Wed, 2 Feb 2022 13:52:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acc.umu.se; s=mail1; t=1643806320; bh=HzwMNHlAuqQITMXb/l8pOWmFJFgAljKTh+nFqjFkxAU=; h=Subject:From:To:Date:In-Reply-To:References:From; b=ZqzdMXM3HPFpk+iPj1LCEhm12mrWNGKRfRyvxAv1rO8GObnU7+LGSSYgAtuusEfOr rHP1kvM351oJeX2wZp+vEKxURdlhsGH9oV2+B3ICZ5cjJlbbfdSy+W72IKtMeVlPy5 YhLoI+yWtCSf6BRquOJzPirRrVsNj3kNufjNy5Uuac8snmgLSrx18JPfFSYowcWUtr kmgyqrGgQZh+2HjhSw5AmudFLW2xNwJL261hRbxIW0EY/2+8hyz/PjG2qzb3LDg721 qLPN1gjFQdRSAEuBx3mf6JcYOgBcRtcwI02h9QVQ6tJEwVM1dWvD1hDaJ6Lp9hrOHa asszwuUiVv79A== Received: from debian.lan (unknown [IPv6:2a00:66c0:a::72c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tjoppen) by mail.acc.umu.se (Postfix) with ESMTPSA id 7229944B90 for ; Wed, 2 Feb 2022 13:52:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acc.umu.se; s=mail1; t=1643806320; bh=HzwMNHlAuqQITMXb/l8pOWmFJFgAljKTh+nFqjFkxAU=; h=Subject:From:To:Date:In-Reply-To:References:From; b=ZqzdMXM3HPFpk+iPj1LCEhm12mrWNGKRfRyvxAv1rO8GObnU7+LGSSYgAtuusEfOr rHP1kvM351oJeX2wZp+vEKxURdlhsGH9oV2+B3ICZ5cjJlbbfdSy+W72IKtMeVlPy5 YhLoI+yWtCSf6BRquOJzPirRrVsNj3kNufjNy5Uuac8snmgLSrx18JPfFSYowcWUtr kmgyqrGgQZh+2HjhSw5AmudFLW2xNwJL261hRbxIW0EY/2+8hyz/PjG2qzb3LDg721 qLPN1gjFQdRSAEuBx3mf6JcYOgBcRtcwI02h9QVQ6tJEwVM1dWvD1hDaJ6Lp9hrOHa asszwuUiVv79A== Message-ID: <0086e3312d7b0833277f58c912b5fffed8ae9be6.camel@acc.umu.se> From: Tomas =?ISO-8859-1?Q?H=E4rdin?= To: FFmpeg development discussions and patches Date: Wed, 02 Feb 2022 13:51:59 +0100 In-Reply-To: References: <20220131135116.14035-1-markg85@gmail.com> <658ed8dfeb4a2ebacfc2989dfb4e139131b1242d.camel@acc.umu.se> User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 0/5] Add IPFS and IPNS 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: tis 2022-02-01 klockan 22:18 +0100 skrev Mark Gaiser: > > To give you an idea of how it looks. Kodi has so called strm (stream) > files. They can contain an url that can be played. > > Without this patch an ipfs file would look like this: > > http://localhost:8080/ipfs/QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T > > With this patch it becomes possible to patch kodi to accept: > ipfs://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T > > In the former case it's gateway specific. In the latter case it's > gateway > agnostic. > > The gateway specific way has a problem. If i translate it to a > gateway then > that url i picked becomes the point to access the file. > If that url goes down, the file isn't playable. Even if the file > might > still be online just fine on the IPFS network. > Imagine you get a file from me and have ipfs running locally. I'm > guessing > you don't like to edit the file you received to fix the gateway part > of the > url, do you? I certainly don't. You translate the URLs on the fly of course, and don't store the translated URLs in the strm. I can almost guarantee you you will need to do this inside Kodi anyway. What if you want to play a playlist stored in IPFS? /Tomas _______________________________________________ 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".