[FFmpeg-devel] Would a crypto file be acceptable?

2022-12-21 Thread Mark Gaiser
or a confirmation if the above concept would be allowed as a patch for ffmpeg? And if not, how can I achieve the same results in a way that would be acceptable? [3] Best regards, Mark Gaiser [1] https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/crypto.c [2] there are plugins to make it p

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-21 Thread Mark Gaiser
On Wed, Dec 21, 2022 at 4:44 PM Mark Gaiser wrote: > Hi, > > The ffmpeg crypto protocol handler [1] allows one to play encrypted media. > > The great thing here is that it allows playback of any media format that > ffmpeg supports! > Have a container format like mkv as

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-22 Thread Mark Gaiser
On Thu, Dec 22, 2022 at 11:40 AM Nicolas George wrote: > Mark Gaiser (12022-12-21): > > While this works just fine, it's limited in use because the cryptography > > details have to be passed on the command line. Applications that might > well > > support much of ffmp

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-22 Thread Mark Gaiser
On Thu, Dec 22, 2022 at 8:15 PM Gregor Riepl wrote: > > The result should be no need to provide "crypto://". The ffmpeg file > format > > detection should detect that ".crypto" should be handled by the crypto > > plugin. > > Instead of a custom descriptor file format that is only used for this >

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-23 Thread Mark Gaiser
On Fri, Dec 23, 2022 at 12:05 PM Tomas Härdin wrote: > ons 2022-12-21 klockan 16:44 +0100 skrev Mark Gaiser: > > Hi, > > > > The ffmpeg crypto protocol handler [1] allows one to play encrypted > > media. > > > > The great thing here is that it allow

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-23 Thread Mark Gaiser
On Fri, Dec 23, 2022 at 5:34 PM Nicolas George wrote: > Mark Gaiser (12022-12-23): > > Then M3U as a format is business logic too. > > HLS and MPD are business logic too. > > At least, based on your comment, they would fall into that same category. > > > > The

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-27 Thread Mark Gaiser
On Mon, Dec 26, 2022 at 12:18 PM Tomas Härdin wrote: > mån 2022-12-26 klockan 12:00 +0100 skrev Nicolas George: > > Tomas Härdin (12022-12-26): > > > That we want to avoid having keys in the command line is not > > > unreasonable. A -keyfile argument for crypto: might be appropriate. > > > > You

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-27 Thread Mark Gaiser
On Tue, Dec 27, 2022 at 10:40 PM Michael Niedermayer wrote: > On Wed, Dec 21, 2022 at 04:44:59PM +0100, Mark Gaiser wrote: > > Hi, > > > > The ffmpeg crypto protocol handler [1] allows one to play encrypted > media. > > > > The great thing here is that it allo

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-28 Thread Mark Gaiser
On Wed, Dec 28, 2022 at 3:27 PM Ronald S. Bultje wrote: > Hi Mark, > > On Tue, Dec 27, 2022 at 5:47 PM Mark Gaiser wrote: > > > The tricky part here is for anyone using this scheme to play this file. > > Right now i'm doing this with a command line like: >

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-28 Thread Mark Gaiser
On Wed, Dec 28, 2022 at 5:22 PM Nicolas George wrote: > Mark Gaiser (12022-12-28): > > There's definitely multiple things going on but it's not what you > summarize. > > You forgot the bit where “MU” told you your proposal was mostly > redundant, too limited and

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-28 Thread Mark Gaiser
On Wed, Dec 28, 2022 at 5:30 PM Nicolas George wrote: > Mark Gaiser (12022-12-28): > > > Ok, that made me laugh :) > > I did not write that. And that feels rude. > > > Please correct me as I'm probably wrong. > > But where did anyone say that there was

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-29 Thread Mark Gaiser
On Wed, Dec 28, 2022 at 10:02 PM Michael Niedermayer wrote: > Hi > > On Tue, Dec 27, 2022 at 11:46:38PM +0100, Mark Gaiser wrote: > > On Tue, Dec 27, 2022 at 10:40 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Wed, Dec 21

[FFmpeg-devel] [PATCH 0/5] Add IPFS and IPNS protocol support

2022-01-31 Thread Mark Gaiser
accepted, I'll work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (5): Early version of I

[FFmpeg-devel] [PATCH 1/5] Early version of IPFS protocol support.

2022-01-31 Thread Mark Gaiser
Signed-off-by: Mark Gaiser --- configure | 1 + doc/protocols.texi | 30 ++ libavformat/Makefile| 1 + libavformat/ipfs.c | 202 libavformat/protocols.c | 2 + 5 files changed, 236 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH 2/5] Fix up IPNS support.

2022-01-31 Thread Mark Gaiser
Signed-off-by: Mark Gaiser --- configure| 1 + libavformat/Makefile | 1 + libavformat/ipfs.c | 12 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configure b/configure index e466f924a3..6ff09e7974 100755 --- a/configure +++ b/configure @@ -3586,6

[FFmpeg-devel] [PATCH 3/5] Merge IPNS and IPFS handling.

2022-01-31 Thread Mark Gaiser
Only the open function needs to detect which one is used. Signed-off-by: Mark Gaiser --- libavformat/ipfs.c | 99 +++--- 1 file changed, 22 insertions(+), 77 deletions(-) diff --git a/libavformat/ipfs.c b/libavformat/ipfs.c index 8daf032dd2..22487c6cc8

[FFmpeg-devel] [PATCH 4/5] Implement logic to determine the IPFS gateway.

2022-01-31 Thread Mark Gaiser
Inform the user about how to set a gateway if none could be found. Signed-off-by: Mark Gaiser --- libavformat/ipfs.c | 159 + 1 file changed, 147 insertions(+), 12 deletions(-) diff --git a/libavformat/ipfs.c b/libavformat/ipfs.c index 22487c6cc8

[FFmpeg-devel] [PATCH 5/5] Fix review feedback

2022-01-31 Thread Mark Gaiser
Little bit of consistency in punctuations. Signed-off-by: Mark Gaiser --- libavformat/ipfs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/ipfs.c b/libavformat/ipfs.c index 8f6f91d85d..1644c74eac 100644 --- a/libavformat/ipfs.c +++ b/libavformat

Re: [FFmpeg-devel] [PATCH 0/5] Add IPFS and IPNS protocol support

2022-01-31 Thread Mark Gaiser
On Mon, Jan 31, 2022 at 4:52 PM Tomas Härdin wrote: > mån 2022-01-31 klockan 14:51 +0100 skrev Mark Gaiser: > > > > There are multiple ways to access files on the IPFS network. This > > patch series > > uses the gateway driven way. An IPFS node - by default - exposes a

Re: [FFmpeg-devel] [PATCH 5/5] Fix review feedback

2022-01-31 Thread Mark Gaiser
On Mon, Jan 31, 2022 at 4:46 PM Michael Niedermayer wrote: > On Mon, Jan 31, 2022 at 02:51:16PM +0100, Mark Gaiser wrote: > > Little bit of consistency in punctuations. > > > > Signed-off-by: Mark Gaiser > > --- > > libavformat/ipfs.c | 12 ++-- > &

Re: [FFmpeg-devel] [PATCH 1/5] Early version of IPFS protocol support.

2022-01-31 Thread Mark Gaiser
On Mon, Jan 31, 2022 at 5:06 PM James Almer wrote: > > > On 1/31/2022 10:51 AM, Mark Gaiser wrote: > > Signed-off-by: Mark Gaiser > > --- > > configure | 1 + > > doc/protocols.texi | 30 ++ > > libavformat/Makefile|

Re: [FFmpeg-devel] [PATCH 0/5] Add IPFS and IPNS protocol support

2022-01-31 Thread Mark Gaiser
On Mon, Jan 31, 2022 at 9:23 PM Tomas Härdin wrote: > mån 2022-01-31 klockan 17:31 +0100 skrev Mark Gaiser: > > On Mon, Jan 31, 2022 at 4:52 PM Tomas Härdin > > wrote: > > > > > mån 2022-01-31 klockan 14:51 +0100 skrev Mark Gaiser: > > > > > > &g

Re: [FFmpeg-devel] [PATCH 1/5] Early version of IPFS protocol support.

2022-01-31 Thread Mark Gaiser
On Mon, Jan 31, 2022 at 9:26 PM Lynne wrote: > Jan 31, 2022, 14:51 by mark...@gmail.com: > > > Signed-off-by: Mark Gaiser > > --- > > configure | 1 + > > doc/protocols.texi | 30 ++ > > libavformat/Makefile| 1

Re: [FFmpeg-devel] [PATCH 0/5] Add IPFS and IPNS protocol support

2022-02-01 Thread Mark Gaiser
On Tue, Feb 1, 2022 at 5:40 PM Tomas Härdin wrote: > mån 2022-01-31 klockan 23:00 +0100 skrev Mark Gaiser: > > On Mon, Jan 31, 2022 at 9:23 PM Tomas Härdin > > wrote: > > > > > mån 2022-01-31 klockan 17:31 +0100 skrev Mark Gaiser: > > > > On

[FFmpeg-devel] [PATCH v2 0/1] Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
https gateways which can be used just as well. After this patch is accepted, I'll work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] http

[FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 1:27 AM Timo Rothenpieler wrote: > On 01.02.2022 22:58, Mark Gaiser wrote: > > +static int translate_ipfs_to_http(URLContext *h, const char *uri, int > flags, AVDictionary **options) > > +{ > > +const char *ipfs_cid; > > +const char

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 1:33 AM Mark Gaiser wrote: > On Wed, Feb 2, 2022 at 1:27 AM Timo Rothenpieler > wrote: > >> On 01.02.2022 22:58, Mark Gaiser wrote: >> > +static int translate_ipfs_to_http(URLContext *h, const char *uri, int >> flags, AVDictionary **options

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 1:49 AM Timo Rothenpieler wrote: > On 02.02.2022 01:44, Andreas Rheinhardt wrote: > > Timo Rothenpieler: > >> On 02.02.2022 01:33, Mark Gaiser wrote: > >>> On Wed, Feb 2, 2022 at 1:27 AM Timo Rothenpieler < > t...@rothenpieler.org>

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 1:54 AM Timo Rothenpieler wrote: > On 02.02.2022 01:50, Mark Gaiser wrote: > >> Ah, yeah. That's a very confusing side effect there. > >> I guess it's fine, but I can't say I like using it like that. > >> Since there's a

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-01 Thread Mark Gaiser
> 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 > > --- >

Re: [FFmpeg-devel] [PATCH 0/5] Add IPFS and IPNS protocol support

2022-02-02 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 1:52 PM Tomas Härdin wrote: > 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 p

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-02 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 2:21 PM Tomas Härdin wrote: > tis 2022-02-01 klockan 22:58 +0100 skrev Mark Gaiser: > > > > > +typedef struct Context { > > +AVClass *class; > > +URLContext *inner; > > +char *gateway; > > Is there not a maximum length

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-02 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 2:29 PM Michael Niedermayer wrote: > On Tue, Feb 01, 2022 at 10:58:30PM +0100, Mark Gaiser wrote: > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gat

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-02 Thread Mark Gaiser
On Wed, Feb 2, 2022 at 3:24 PM Timo Rothenpieler wrote: > On 02.02.2022 14:56, Mark Gaiser wrote: > > On Wed, Feb 2, 2022 at 2:21 PM Tomas Härdin wrote: > > > >> tis 2022-02-01 klockan 22:58 +0100 skrev Mark Gaiser: > >> > >>> > >>

[FFmpeg-devel] [PATCH v2 0/1] Add IPFS protocol support.

2022-02-03 Thread Mark Gaiser
es this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support. configure | 2 + doc/protocols.

[FFmpeg-devel] [PATCH v3 1/1] avformat: Add IPFS protocol support.

2022-02-03 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v2 0/1] Add IPFS protocol support.

2022-02-03 Thread Mark Gaiser
Ignore this one, the title went wrong. On Thu, Feb 3, 2022 at 6:26 PM Mark Gaiser wrote: > Hi, > > This patch series adds support for IPFS. > V3: > - A lot of style changes > - Made url checks a lot more strict > - av_asprintf leak fixes > - So many changes that a

Re: [FFmpeg-devel] [PATCH v3 1/1] avformat: Add IPFS protocol support.

2022-02-03 Thread Mark Gaiser
Ignore this one, the title went wrong. On Thu, Feb 3, 2022 at 6:26 PM Mark Gaiser wrote: > 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

[FFmpeg-devel] [PATCH v4 0/1] Add IPFS protocol support.

2022-02-03 Thread Mark Gaiser
supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support. configure

[FFmpeg-devel] [PATCH v4 1/1] avformat: Add IPFS protocol support.

2022-02-03 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v4 1/1] avformat: Add IPFS protocol support.

2022-02-04 Thread Mark Gaiser
On Fri, Feb 4, 2022 at 12:10 PM Tomas Härdin wrote: > tor 2022-02-03 klockan 18:29 +0100 skrev Mark Gaiser: > > > > +typedef struct IPFSGatewayContext { > > +AVClass *class; > > +URLContext *inner; > > +char *gateway; > > Consider two separate

Re: [FFmpeg-devel] [PATCH v2 1/1] avformat: Add IPFS protocol support.

2022-02-04 Thread Mark Gaiser
On Fri, Feb 4, 2022 at 11:29 AM Tomas Härdin wrote: > ons 2022-02-02 klockan 14:56 +0100 skrev Mark Gaiser: > > On Wed, Feb 2, 2022 at 2:21 PM Tomas Härdin > > wrote: > > > > > tis 2022-02-01 klockan 22:58 +0100 skrev Mark Gaiser: > > >

Re: [FFmpeg-devel] [PATCH v4 1/1] avformat: Add IPFS protocol support.

2022-02-09 Thread Mark Gaiser
On Mon, Feb 7, 2022 at 4:09 PM Tomas Härdin wrote: > fre 2022-02-04 klockan 15:12 +0100 skrev Mark Gaiser: > > On Fri, Feb 4, 2022 at 12:10 PM Tomas Härdin > > wrote: > > > > > tor 2022-02-03 klockan 18:29 +0100 skrev Mark Gaiser: > > > >

[FFmpeg-devel] [PATCH v5 0/1] Add IPFS protocol support.

2022-02-09 Thread Mark Gaiser
work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support. c

[FFmpeg-devel] [PATCH v5 1/1] avformat: Add IPFS protocol support.

2022-02-09 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v4 1/1] avformat: Add IPFS protocol support.

2022-02-09 Thread Mark Gaiser
On Wed, Feb 9, 2022 at 6:36 PM Mark Gaiser wrote: > On Mon, Feb 7, 2022 at 4:09 PM Tomas Härdin wrote: > >> fre 2022-02-04 klockan 15:12 +0100 skrev Mark Gaiser: >> > On Fri, Feb 4, 2022 at 12:10 PM Tomas Härdin >> > wrote: >> > >> > > t

Re: [FFmpeg-devel] [PATCH v5 1/1] avformat: Add IPFS protocol support.

2022-02-09 Thread Mark Gaiser
On Thu, Feb 10, 2022 at 2:15 AM Mark Gaiser wrote: > 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

Re: [FFmpeg-devel] [PATCH v5 1/1] avformat: Add IPFS protocol support.

2022-02-12 Thread Mark Gaiser
On Sat, Feb 12, 2022 at 1:19 PM Tomas Härdin wrote: > tor 2022-02-10 klockan 02:13 +0100 skrev Mark Gaiser: > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gateways". &g

Re: [FFmpeg-devel] [PATCH v5 1/1] avformat: Add IPFS protocol support.

2022-02-12 Thread Mark Gaiser
On Sat, Feb 12, 2022 at 6:57 PM Mark Gaiser wrote: > > > On Sat, Feb 12, 2022 at 1:19 PM Tomas Härdin wrote: > >> tor 2022-02-10 klockan 02:13 +0100 skrev Mark Gaiser: >> > This patch adds support for: >> > - ffplay ipfs:// >> > - ffplay ipns:// >

[FFmpeg-devel] [PATCH v6 0/1] Add IPFS protocol support.

2022-02-13 Thread Mark Gaiser
tch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support. configure | 2 + doc/protocols.texi| 30 libavformat/Mak

[FFmpeg-devel] [PATCH v6 1/1] avformat: Add IPFS protocol support.

2022-02-13 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v6 1/1] avformat: Add IPFS protocol support.

2022-02-16 Thread Mark Gaiser
On Wed, Feb 16, 2022 at 10:40 AM Tomas Härdin wrote: > > > +// Test $IPFS_GATEWAY. > > +if (getenv("IPFS_GATEWAY") != NULL) { > > +snprintf(c->gateway_buffer, sizeof(c->gateway_buffer), "%s", > > + getenv("IPFS_GATEWAY")); > > might want to error check this one > >

[FFmpeg-devel] [PATCH v7 0/1] Add IPFS protocol support.

2022-02-16 Thread Mark Gaiser
as well. After this patch is accepted, I'll work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark G

[FFmpeg-devel] [PATCH v7 1/1] avformat: Add IPFS protocol support.

2022-02-16 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v7 1/1] avformat: Add IPFS protocol support.

2022-02-17 Thread Mark Gaiser
On Thu, Feb 17, 2022 at 2:57 PM Tomas Härdin wrote: > > +IPFSGatewayContext *c = h->priv_data; > > +char ipfs_full_data_folder[PATH_MAX]; > > +char ipfs_gateway_file[PATH_MAX]; > > +struct stat st; > > +int stat_ret = 0; > > +int ret = AVERROR(EINVAL); > > +FILE *gatew

[FFmpeg-devel] [PATCH v8 0/1] Add IPFS protocol support.

2022-02-17 Thread Mark Gaiser
IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support. configure

[FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-02-17 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-02-17 Thread Mark Gaiser
On Thu, Feb 17, 2022 at 3:50 PM Mark Gaiser wrote: > 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

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-02-21 Thread Mark Gaiser
On Thu, Feb 17, 2022 at 3:57 PM Mark Gaiser wrote: > On Thu, Feb 17, 2022 at 3:50 PM Mark Gaiser wrote: > >> This patch adds support for: >> - ffplay ipfs:// >> - ffplay ipns:// >> >> IPFS data can be played from so called "ipfs gateways". >

Re: [FFmpeg-devel] Too many project ideas in GSOC 2022 FFmpeg

2022-02-23 Thread Mark Gaiser
On Wed, Feb 23, 2022 at 5:22 PM Michael Niedermayer wrote: > On Mon, Feb 21, 2022 at 07:24:15PM +0100, Michael Niedermayer wrote: > > On Mon, Feb 21, 2022 at 08:59:16AM -0800, Pierre-Anthony Lemieux wrote: > > > Hi Michael, > > > > > > What is the typical size of a successful GSOC project? Any go

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-02-27 Thread Mark Gaiser
Mark Gaiser wrote: > On Thu, Feb 17, 2022 at 3:57 PM Mark Gaiser wrote: > >> On Thu, Feb 17, 2022 at 3:50 PM Mark Gaiser wrote: >> >>> This patch adds support for: >>> - ffplay ipfs:// >>> - ffplay ipns:// >>> >>> IPFS data can be p

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-03-03 Thread Mark Gaiser
On Tue, Mar 1, 2022 at 11:01 PM Michael Niedermayer wrote: > On Mon, Feb 28, 2022 at 02:09:15PM +0100, Tomas Härdin wrote: > > sön 2022-02-27 klockan 15:29 +0100 skrev Mark Gaiser: > > > Ping 2 > > > > > > I'd really like to get this merged!

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-03-08 Thread Mark Gaiser
On Fri, Mar 4, 2022 at 7:09 PM Michael Niedermayer wrote: > On Thu, Mar 03, 2022 at 03:58:53PM +0100, Mark Gaiser wrote: > > On Tue, Mar 1, 2022 at 11:01 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Mon, Feb 28, 2022

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-03-08 Thread Mark Gaiser
On Wed, Mar 9, 2022 at 12:45 AM Michael Niedermayer wrote: > On Tue, Mar 08, 2022 at 01:49:22PM +0100, Mark Gaiser wrote: > > On Fri, Mar 4, 2022 at 7:09 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Thu, Mar 03, 2022

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-03-11 Thread Mark Gaiser
On Wed, Mar 9, 2022 at 10:36 AM Michael Niedermayer wrote: > On Wed, Mar 09, 2022 at 01:30:30AM +0100, Mark Gaiser wrote: > > On Wed, Mar 9, 2022 at 12:45 AM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Tue, Mar 08, 2022

[FFmpeg-devel] [PATCH v9 0/1] Add IPFS protocol support.

2022-03-18 Thread Mark Gaiser
so be https. There's enough flexibility in the implementation to allow the user to provide a gateway. There are also public https gateways which can be used just as well. After this patch is accepted, I'll work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefer

[FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-18 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-18 Thread Mark Gaiser
On Fri, Mar 18, 2022 at 3:50 PM Mark Gaiser wrote: > 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

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-23 Thread Mark Gaiser
On Fri, Mar 18, 2022 at 3:59 PM Mark Gaiser wrote: > On Fri, Mar 18, 2022 at 3:50 PM Mark Gaiser wrote: > >> This patch adds support for: >> - ffplay ipfs:// >> - ffplay ipns:// >> >> IPFS data can be played from so called "ipfs gateways". >

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-27 Thread Mark Gaiser
On Wed, Mar 23, 2022 at 12:24 PM Mark Gaiser wrote: > On Fri, Mar 18, 2022 at 3:59 PM Mark Gaiser wrote: > >> On Fri, Mar 18, 2022 at 3:50 PM Mark Gaiser wrote: >> >>> This patch adds support for: >>> - ffplay ipfs:// >>> - ffplay ipns:// >>

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-28 Thread Mark Gaiser
On Mon, Mar 28, 2022 at 6:19 PM Michael Niedermayer wrote: > On Fri, Mar 18, 2022 at 03:50:05PM +0100, Mark Gaiser wrote: > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gat

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-28 Thread Mark Gaiser
On Mon, Mar 28, 2022 at 6:44 PM Michael Niedermayer wrote: > On Mon, Mar 28, 2022 at 06:34:33PM +0200, Mark Gaiser wrote: > > On Mon, Mar 28, 2022 at 6:19 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Fri, Mar 18, 2022

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-30 Thread Mark Gaiser
On Mon, Mar 28, 2022 at 7:00 PM Mark Gaiser wrote: > On Mon, Mar 28, 2022 at 6:44 PM Michael Niedermayer < > mich...@niedermayer.cc> wrote: > >> On Mon, Mar 28, 2022 at 06:34:33PM +0200, Mark Gaiser wrote: >> > On Mon, Mar 28, 2022 at 6:19 PM Michael Niedermay

[FFmpeg-devel] [PATCH v10 0/1] Add IPFS protocol support.

2022-03-30 Thread Mark Gaiser
ing IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support. configure

[FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-30 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-30 Thread Mark Gaiser
On Wed, Mar 30, 2022 at 2:21 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Mark Gaiser: > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gateways". &g

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-11 Thread Mark Gaiser
Niedermayer in this context. Best regards, Mark Gaiser [1] https://docs.ipfs.tech/reference/http/gateway/#trusted-vs-trustless [2] https://github.com/curl/curl/pull/8805#issuecomment-1199427911 On Thu, Aug 11, 2022 at 2:08 PM Timo Rothenpieler wrote: > On 11/08/2022 00:27, Derek Buitenhuis w

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-11 Thread Mark Gaiser
On Thu, Aug 11, 2022 at 6:49 PM Timo Rothenpieler wrote: > On 11.08.2022 18:26, Mark Gaiser wrote: > > Hi all, > > > > On the IPFS side we do have a solution for that with CAR files, you can > > read more about that here [1]. > > Within the scope of this ipfs gat

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-11 Thread Mark Gaiser
On Thu, Aug 11, 2022 at 7:35 PM Timo Rothenpieler wrote: > On 11.08.2022 19:21, Mark Gaiser wrote: > > On Thu, Aug 11, 2022 at 6:49 PM Timo Rothenpieler > > > wrote: > > > >> On 11.08.2022 18:26, Mark Gaiser wrote: > >>> Hi all, > >>> &

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-12 Thread Mark Gaiser
On Fri, Aug 12, 2022 at 12:51 AM Derek Buitenhuis < derek.buitenh...@gmail.com> wrote: > On 8/11/2022 11:03 PM, Timo Rothenpieler wrote: > > Any kind of built in hardcoded server is not acceptable imo. > > Even with it pointing to our own infrastructure, we can't really > > guarantee its availabil

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-12 Thread Mark Gaiser
On Fri, Aug 12, 2022 at 4:30 PM Kieran Kunhya wrote: > On Fri, 12 Aug 2022 at 15:22, Vittorio Giovara > > wrote: > > > On Fri, Aug 12, 2022 at 12:51 AM Derek Buitenhuis < > > derek.buitenh...@gmail.com> wrote: > > > > > As it exists right now though, I don't really see why lavf needs what > > >

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-15 Thread Mark Gaiser
On Mon, Aug 15, 2022 at 11:57 PM Nicolas George wrote: > Michael Niedermayer (12022-08-15): > > It says this now: > >"IPFS does not appear to be running.\n\n" > >"Installing IPFS locally is recommended to " > >"improve performance and re

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-19 Thread Mark Gaiser
On Fri, Aug 19, 2022 at 11:15 AM Tomas Härdin wrote: > tor 2022-08-18 klockan 16:31 +0200 skrev Michael Niedermayer: > > 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

Re: [FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-30 Thread Mark Gaiser
On Wed, Mar 30, 2022 at 3:57 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Mark Gaiser: > > On Wed, Mar 30, 2022 at 2:21 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Mark Gaiser: > >>

Re: [FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
On Wed, Mar 30, 2022 at 5:16 PM Mark Gaiser wrote: > > > On Wed, Mar 30, 2022 at 3:57 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Mark Gaiser: >> > On Wed, Mar 30, 2022 at 2:21 PM Andreas Rheinhardt < >> > andreas.rhein

Re: [FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
On Thu, Mar 31, 2022 at 11:44 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Mark Gaiser: > > On Wed, Mar 30, 2022 at 3:57 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Mark Gaiser: > >>&

Re: [FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
On Fri, Apr 1, 2022 at 12:17 AM Mark Gaiser wrote: > On Thu, Mar 31, 2022 at 11:44 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Mark Gaiser: >> > On Wed, Mar 30, 2022 at 3:57 PM Andreas Rheinhardt < >> > andreas.rheinha...@

Re: [FFmpeg-devel] [PATCH v10 1/1] avformat: Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
On Fri, Apr 1, 2022 at 1:01 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Mark Gaiser: > > On Thu, Mar 31, 2022 at 11:44 PM Andreas Rheinhardt < > > andreas.rheinha...@outlook.com> wrote: > > > >> Mark Gaiser: > >>&

[FFmpeg-devel] [PATCH v11 0/1] Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
ll work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work without this patch) - kodi (requires this ffmpeg patch) Best regards, Mark Gaiser [1] https://docs.ipfs.io/concepts/ Mark Gaiser (1): avformat: Add IPFS protocol support.

[FFmpeg-devel] [PATCH v11 1/1] avformat: Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v11 1/1] avformat: Add IPFS protocol support.

2022-03-31 Thread Mark Gaiser
On Fri, Apr 1, 2022 at 2:09 AM Mark Gaiser wrote: > 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 net

Re: [FFmpeg-devel] [PATCH v11 1/1] avformat: Add IPFS protocol support.

2022-04-03 Thread Mark Gaiser
On Fri, Apr 1, 2022 at 5:39 PM Michael Niedermayer wrote: > On Fri, Apr 01, 2022 at 02:23:23AM +0200, Mark Gaiser wrote: > > On Fri, Apr 1, 2022 at 2:09 AM Mark Gaiser wrote: > > > > > This patch adds support for: > > > - ffplay ipfs:// > > > - ffplay i

Re: [FFmpeg-devel] [PATCH v11 1/1] avformat: Add IPFS protocol support.

2022-04-03 Thread Mark Gaiser
On Sun, Apr 3, 2022 at 7:54 PM Mark Gaiser wrote: > On Fri, Apr 1, 2022 at 5:39 PM Michael Niedermayer > wrote: > >> On Fri, Apr 01, 2022 at 02:23:23AM +0200, Mark Gaiser wrote: >> > On Fri, Apr 1, 2022 at 2:09 AM Mark Gaiser wrote: >> > >> > > This

Re: [FFmpeg-devel] [PATCH v11 1/1] avformat: Add IPFS protocol support.

2022-04-03 Thread Mark Gaiser
On Sun, Apr 3, 2022 at 8:00 PM Mark Gaiser wrote: > > On Sun, Apr 3, 2022 at 7:54 PM Mark Gaiser wrote: > >> On Fri, Apr 1, 2022 at 5:39 PM Michael Niedermayer < >> mich...@niedermayer.cc> wrote: >> >>> On Fri, Apr 01, 2022 at 02:23:23AM +0200, Mark Ga

[FFmpeg-devel] [PATCH v12 0/1] Add IPFS protocol support.

2022-04-03 Thread Mark Gaiser
the implementation to allow the user to provide a gateway. There are also public https gateways which can be used just as well. After this patch is accepted, I'll work on getting IPFS supported in: - mpv (requires this ffmpeg patch) - vlc (prefers this patch but can be made to work withou

[FFmpeg-devel] [PATCH v12 1/1] avformat: Add IPFS protocol support.

2022-04-03 Thread Mark Gaiser
. 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/prot

Re: [FFmpeg-devel] [PATCH v12 1/1] avformat: Add IPFS protocol support.

2022-04-05 Thread Mark Gaiser
On Mon, Apr 4, 2022 at 12:39 AM Mark Gaiser wrote: > 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

Re: [FFmpeg-devel] [PATCH v12 1/1] avformat: Add IPFS protocol support.

2022-04-05 Thread Mark Gaiser
On Tue, Apr 5, 2022 at 11:01 PM Michael Niedermayer wrote: > On Mon, Apr 04, 2022 at 12:38:25AM +0200, Mark Gaiser wrote: > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gat

Re: [FFmpeg-devel] [PATCH v12 1/1] avformat: Add IPFS protocol support.

2022-04-05 Thread Mark Gaiser
On Tue, Apr 5, 2022 at 11:27 PM Mark Gaiser wrote: > > > On Tue, Apr 5, 2022 at 11:01 PM Michael Niedermayer < > mich...@niedermayer.cc> wrote: > >> On Mon, Apr 04, 2022 at 12:38:25AM +0200, Mark Gaiser wrote: >> > This patch adds support for: >

  1   2   >