Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-01 Thread Lukasz Marek
On 28.11.2016 19:53, Lou Logan wrote: On Mon, Nov 28, 2016, at 09:15 AM, Nicolas George wrote: ffserver has users I don't know of any. Do you have an estimation of how many users there may be? How much feedback has there been from these alleged users regarding the removal plans? I don't hav

Re: [FFmpeg-devel] [PATCH] Remove the ffserver program and the ffm muxer/demuxer

2016-10-30 Thread Lukasz Marek
On 27.10.2016 20:26, Michael Niedermayer wrote: On Thu, Oct 27, 2016 at 11:03:07AM -0700, Reynaldo H. Verdejo Pinochet wrote: I agree with moving the apps to a seperate repo hosted within the same infra and keeping ffserver. I will help with ffserver as my time & todo list permits I don't follo

Re: [FFmpeg-devel] [PATCH 0/5] Add SDL2 support & drop SDL1 support

2016-09-24 Thread Lukasz Marek
been reviewed before, so there >> shouldn't be too much (or anything to change). >> >> Josh de Kock (3): >> lavd: Add SDL2 output device >> MAINTAINERS: update my entries >> lavd: drop SDL1 device & drop SDL1 support in general >> >>

Re: [FFmpeg-devel] Dropping SDL1 support [VOTE]

2016-09-19 Thread Lukasz Marek
On Sep 18, 2016 04:57, "Ronald S. Bultje" wrote: > > Hi, > > On Sat, Sep 17, 2016 at 4:26 PM, Marton Balint wrote: > > > I think we should wait until Lukasz does the port of the opengl device to > > SDL2, and do the switch after that. > > > When do we think that'll be finished? I missed this, I

Re: [FFmpeg-devel] [PATCH 1/4] lavd: Add SDL2 output device

2016-09-18 Thread Lukasz Marek
On 15.09.2016 00:27, Josh de Kock wrote: Acked-by: Michael Niedermayer Signed-off-by: Josh de Kock --- configure| 28 +++- libavdevice/Makefile | 1 + libavdevice/alldevices.c | 1 + libavdevice/sdl2.c | 377 +++ 4 files

Re: [FFmpeg-devel] [PATCH] lavd/opengl: use SDL2

2016-09-18 Thread Lukasz Marek
On 18.09.2016 10:04, Josh de Kock wrote: On 18/09/2016 05:51, Lukasz Marek wrote: W dniu niedziela, 18 września 2016 Lou Logan > napisał(a): On Sat, Sep 17, 2016, at 05:21 PM, Lukasz Marek wrote: On 18 September 2016 at 00:30, Josh de Kock wrote: [...] Would like some feedback where

Re: [FFmpeg-devel] [PATCH] lavd/opengl: use SDL2

2016-09-18 Thread Lukasz Marek
On 18.09.2016 10:04, Josh de Kock wrote: On 18/09/2016 05:51, Lukasz Marek wrote: W dniu niedziela, 18 września 2016 Lou Logan > napisał(a): On Sat, Sep 17, 2016, at 05:21 PM, Lukasz Marek wrote: On 18 September 2016 at 00:30, Josh de Kock wrote: [...] Would like some feedback where

[FFmpeg-devel] [PATCH] lavd/opengl: use SDL2

2016-09-17 Thread Lukasz Marek
W dniu niedziela, 18 września 2016 Lou Logan > napisał(a): > On Sat, Sep 17, 2016, at 05:21 PM, Lukasz Marek wrote: > > On 18 September 2016 at 00:30, Josh de Kock wrote: > [...] > >> Would like some feedback where it doesnt work etc > [...] > > I said I will

Re: [FFmpeg-devel] [PATCH] lavd/opengl: use SDL2

2016-09-17 Thread Lukasz Marek
On 18 September 2016 at 00:30, Josh de Kock wrote: > I did this in about 5 minutes, and only tested it with one sample (on > OSX using the cocoa opengl renderer). Seems to work, but probably > won't for all cases. Would like some feedback where it doesnt work etc > > Signed-off-by: Josh de Kock

Re: [FFmpeg-devel] Resurrection of ffserver

2016-09-17 Thread Lukasz Marek
On 17.09.2016 23:10, Rostislav Pehlivanov wrote: On 17 September 2016 at 22:04, Lukasz Marek wrote: Yeah, no. You can hardly say ffserver is a perfect program right now, so really moving it to another repo is hardly much of a change in terms of functionality. Bisection won't matter if hal

Re: [FFmpeg-devel] Resurrection of ffserver

2016-09-17 Thread Lukasz Marek
On 17.09.2016 22:27, Rostislav Pehlivanov wrote: On 17 September 2016 at 20:58, Michael Fritscher < michael.fritsc...@telematik-zentrum.de> wrote: Good day, I read the sad news about ffservers a few days ago and have already written some mails to ffmpeg-user. I would like to step in to make f

Re: [FFmpeg-devel] Dropping SDL1 support [VOTE]

2016-09-15 Thread Lukasz Marek
On 15.09.2016 23:36, Josh de Kock wrote: On 15/09/2016 22:28, Lukasz Marek wrote: On 15.09.2016 23:19, Moritz Barsnick wrote: On Thu, Sep 15, 2016 at 14:36:32 -0300, James Almer wrote: * SDL1 is old and effectively unmaintained. I understand this verbatim, but what is it supposed to mean

Re: [FFmpeg-devel] Dropping SDL1 support [VOTE]

2016-09-15 Thread Lukasz Marek
On 15.09.2016 23:19, Moritz Barsnick wrote: On Thu, Sep 15, 2016 at 14:36:32 -0300, James Almer wrote: * SDL1 is old and effectively unmaintained. I understand this verbatim, but what is it supposed to mean? Has SDL1 gotten rotten? Or more precisely: - Has technology evolved, and the library

Re: [FFmpeg-devel] [PATCH v3 3/3] lavd: deprecate opengl outdev

2016-09-15 Thread Lukasz Marek
On 14.09.2016 19:53, Nicolas George wrote: Le sextidi 26 fructidor, an CCXXIV, Josh de Kock a écrit : This device depends on SDL which is deprecated. Signed-off-by: Josh de Kock If I understand correctly, SDL is only used in this device to set up a window and a context in a cross-platform wa

Re: [FFmpeg-devel] [PATCH] FTP graceful close data connection to avoid server abort

2016-06-13 Thread Lukasz Marek
On 02.06.2016 14:29, Camille Gonnet wrote: When writing files to FTP, if the data connection is closed before the control connection, the server may handle it as an aborted file transfer and create and leave the file empty. --- libavformat/ftp.c | 14 ++ 1 file changed, 10 inserti

Re: [FFmpeg-devel] [PATCH] FTP graceful close data connection to avoid server abort

2016-06-08 Thread Lukasz Marek
On 09.06.2016 00:25, Michael Niedermayer wrote: > On Thu, Jun 02, 2016 at 02:29:47PM +0200, Camille Gonnet wrote: >> When writing files to FTP, if the data connection is closed before the >> control connection, the server may handle it as an aborted file transfer >> and create and leave the file em

Re: [FFmpeg-devel] Remove Derek Buitenhuis from MAINTAINERS

2016-05-19 Thread Lukasz Marek
On 19 May 2016 at 15:18, Derek Buitenhuis wrote: > On 5/19/2016 2:12 PM, Michael Niedermayer wrote: > > if derek still wants to leave in 2 weeks then so be it, its his choice > > but i really hope things can be resolved in a way that everyone > > stays and works together and is happy > > I will w

Re: [FFmpeg-devel] [PATCH] ffplay: fix silence insertion on error or pause

2016-04-04 Thread Lukasz Marek
On 03.04.2016 21:37, Marton Balint wrote: > Insertion of silence was a bit broken since > df34b700981de606ca4847e1ed0bfdf9ac3e9104 because the info whether or not the > source buffer supposed to be silence must be kept between callbacks. Failing > to > do so causes rogue samples from the last buff

Re: [FFmpeg-devel] GSoC again

2016-03-23 Thread Lukasz Marek
On 23.03.2016 17:09, Gerion Entrup wrote: > 3. Implement adaptive switching. > > A note to the 3rd point. I'm absolutely not sure, what amount of work this is > (maybe you could comment it) and what the best place would be to implement > this (including whether this whole feature is meaningful).

Re: [FFmpeg-devel] [PATCH] ffplay: remove redundant silence buffer

2016-03-21 Thread Lukasz Marek
On 19.03.2016 19:16, Marton Balint wrote: > > On Thu, 17 Mar 2016, Lukasz Marek wrote: > >> Signed-off-by: Lukasz Marek >> --- >> ffplay.c | 13 ++--- >> 1 file changed, 6 insertions(+), 7 deletions(-) &g

[FFmpeg-devel] [PATCH] ffplay: remove redundant silence buffer

2016-03-20 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- ffplay.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ffplay.c b/ffplay.c index 2cfdf26..731ae25 100644 --- a/ffplay.c +++ b/ffplay.c @@ -243,7 +243,6 @@ typedef struct VideoState { AVStream *audio_st; PacketQueue

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Lukasz Marek
On 09.04.2015 13:50, Kieran Kunhya wrote: On 9 April 2015 at 12:17, Rodger Combs wrote: Agreed, this belongs in a higher layer. I think it'd be reasonable for FFmpeg to have a higher-layer library handling things like playlists and this, but that's another conversation. +1 So instead of c

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Lukasz Marek
> Easy. Just merge webkit into ffmpeg. It's for the greater good! Any specific reason for webkit in ffmpeg? You said something about not being trolling. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Lukasz Marek
W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix < gilles.chanteperd...@xenomai.org> And forgot to add my apologies for these bad patches and the noise > that followed. > No need for that. Your demuxer seems to use public API only so you can try to move this implementation to your project and

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Lukasz Marek
On 8 April 2015 at 18:07, Michael Niedermayer wrote: > On Wed, Apr 08, 2015 at 06:02:16PM +0200, wm4 wrote: > > On Wed, 8 Apr 2015 17:52:18 +0200 > > Michael Niedermayer wrote: > > > > > On Wed, Apr 08, 2015 at 05:40:17PM +0200, Gilles Chanteperdrix wrote: > > > > On Wed, Apr 08, 2015 at 05:29:1

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Lukasz Marek
On 8 April 2015 at 15:37, Gilles Chanteperdrix < gilles.chanteperd...@xenomai.org> wrote: > On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: > > On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: > > > Hi, > > > > > > I just triend libquvi, and get a segmenta

[FFmpeg-devel] [PATCH 2/3] ffplay: add basic credentials handler

2015-04-07 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- ffplay.c | 63 ++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index 8fa8566..692773e 100644 --- a/ffplay.c +++ b/ffplay.c @@ -29,6 +29,9 @@ #include #include

[FFmpeg-devel] [PATCH 1/3] [RFC]lavf/avio: add custom authentication API

2015-04-07 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- libavformat/avio.c | 46 ++ libavformat/avio.h | 28 libavformat/url.h | 12 3 files changed, 86 insertions(+) diff --git a/libavformat/avio.c b/libavformat/avio.c index

[FFmpeg-devel] [PATCH 3/3] lavf/ftp: support credentials callback

2015-04-07 Thread Lukasz Marek
--- libavformat/ftp.c | 96 +++ 1 file changed, 83 insertions(+), 13 deletions(-) diff --git a/libavformat/ftp.c b/libavformat/ftp.c index 27a172e..1133e02 100644 --- a/libavformat/ftp.c +++ b/libavformat/ftp.c @@ -74,6 +74,36 @@ static const AV

[FFmpeg-devel] [PATCH 0/3] Authentication callbacks

2015-04-07 Thread Lukasz Marek
and cache these credentials as they open many urls to store sequential data (images/chunks). Patchset available at https://github.com/lukaszmluki/ffmpeg branch: auth Lukasz Marek (3): [RFC]lavf/avio: add custom authentication API ffplay: add basic credentials handler lavf/ftp: support c

Re: [FFmpeg-devel] [PATCH] libavformat/http.c: Make http-listen work as an input stream.

2015-04-06 Thread Lukasz Marek
On 06.04.2015 20:29, Stephan Holljes wrote: Signed-off-by: Stephan Holljes --- doc/protocols.texi | 4 +++- libavformat/http.c | 7 +-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index 5b7b6cf..5e9173f 100644 --- a/doc/protocols.

Re: [FFmpeg-devel] [PATCH] examples/avio_list_dir: init/deinit network

2015-04-06 Thread Lukasz Marek
On 05.04.2015 15:42, Michael Niedermayer wrote: On Fri, Apr 03, 2015 at 11:56:03PM +0200, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- doc/examples/avio_list_dir.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) LGTM pushed

Re: [FFmpeg-devel] [PATCH] libavformat/http.c: Make http-listen work as an input stream.

2015-04-06 Thread Lukasz Marek
On Apr 5, 2015 6:02 PM, "Stephan Holljes" wrote: > > With this patch http can be used to listen for POST data to be used as an input stream. > > Signed-off-by: Stephan Holljes > --- > libavformat/http.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) This should be documented I g

Re: [FFmpeg-devel] [PATCH 1/3] lavf/avio: Add new types to AVIODirEntryType, bump minor version

2015-04-03 Thread Lukasz Marek
On 03.04.2015 16:19, Michael Niedermayer wrote: On Fri, Apr 03, 2015 at 03:22:29PM +0200, Nicolas George wrote: Le quartidi 14 germinal, an CCXXIII, Mariusz Szczepańczyk a écrit : diff --git a/libavformat/avio.h b/libavformat/avio.h index f61a8f8..51913e3 100644 --- a/libavformat/avio.h +++ b/l

[FFmpeg-devel] [PATCH] examples/avio_list_dir: init/deinit network

2015-04-03 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- doc/examples/avio_list_dir.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/examples/avio_list_dir.c b/doc/examples/avio_list_dir.c index 281b5af..4060ba6 100644 --- a/doc/examples/avio_list_dir.c +++ b/doc/examples

Re: [FFmpeg-devel] [PATCH 3/3] lavf/libsmbclient: implement directory listing callbacks

2015-04-03 Thread Lukasz Marek
On 3 April 2015 at 03:54, Mariusz Szczepańczyk wrote: > --- > libavformat/libsmbclient.c | 108 > + > 1 file changed, 108 insertions(+) > LGTM, I don't push yet as there is some discussion on other thread. I will be unavailable during following few da

Re: [FFmpeg-devel] [PATCH 1/3] lavf/avio: Add new types to AVIODirEntryType, bump minor version

2015-04-03 Thread Lukasz Marek
On 3 April 2015 at 16:05, Lukasz Marek wrote: > On 3 April 2015 at 15:22, Nicolas George wrote: > >> Le quartidi 14 germinal, an CCXXIII, Mariusz Szczepańczyk a écrit : >> > diff --git a/libavformat/avio.h b/libavformat/avio.h >> > index f61a8f8..51913e3 100644

Re: [FFmpeg-devel] [PATCH 1/3] lavf/avio: Add new types to AVIODirEntryType, bump minor version

2015-04-03 Thread Lukasz Marek
On 3 April 2015 at 15:22, Nicolas George wrote: > Le quartidi 14 germinal, an CCXXIII, Mariusz Szczepańczyk a écrit : > > diff --git a/libavformat/avio.h b/libavformat/avio.h > > index f61a8f8..51913e3 100644 > > --- a/libavformat/avio.h > > +++ b/libavformat/avio.h > > @@ -63,7 +63,10 @@ enum AV

[FFmpeg-devel] [PATCH] doc/protocols: explain FTP truncuation problem

2015-04-02 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- doc/protocols.texi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index 2a19b41..73c511c 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -183,7 +183,11 @@ to be seekable. Default value

Re: [FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-04-02 Thread Lukasz Marek
On 02.04.2015 01:09, Michael Niedermayer wrote: On Thu, Apr 02, 2015 at 12:37:34AM +0200, Lukasz Marek wrote: On 01.04.2015 04:33, Michael Niedermayer wrote: On Wed, Apr 01, 2015 at 03:25:23AM +0200, Lukasz Marek wrote: Fixes following scenario: av_dict_set(&d, "key&q

Re: [FFmpeg-devel] [PATCH 2/2] fate: add AVDictionary tests

2015-04-02 Thread Lukasz Marek
On 02.04.2015 01:43, Michael Niedermayer wrote: On Thu, Apr 02, 2015 at 12:38:20AM +0200, Lukasz Marek wrote: On 01.04.2015 03:25, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26 ++ I added more

Re: [FFmpeg-devel] [PATCH 2/2] fate: add AVDictionary tests

2015-04-01 Thread Lukasz Marek
On 01.04.2015 03:25, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26 ++ I added more tests, so please see 2 attached instead >From a3cca0b8533877f14ae31f2a1ecfb1e25633e536 Mon Sep 17 00:00

Re: [FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-04-01 Thread Lukasz Marek
On 01.04.2015 04:33, Michael Niedermayer wrote: On Wed, Apr 01, 2015 at 03:25:23AM +0200, Lukasz Marek wrote: Fixes following scenario: av_dict_set(&d, "key", "old", 0); AVDictionaryEentry *e = av_dict_get(d, "key", NULL, 0); av_dict_set(&d, e->key

[FFmpeg-devel] [PATCH] lavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int

2015-04-01 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- libavutil/dict.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/dict.c b/libavutil/dict.c index 1dfcb68..e30988d 100644 --- a/libavutil/dict.c +++ b/libavutil/dict.c @@ -145,6 +145,7 @@ int av_dict_set_int(AVDictionary **pm, const char *key

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-04-01 Thread Lukasz Marek
On 01.04.2015 21:22, Alexander Strasser wrote: On 2015-03-28 23:30 +0100, Lukasz Marek wrote: W dniu sobota, 28 marca 2015 Peter Ross napisał(a): What about the following? ffplay zip://dir/a.zip/m.mkv # open dir/a.zip, read file m.mkv inside ffplay -file m.mkv zip://dir/a.zip

[FFmpeg-devel] [PATCH 2/2] fate: add AVDictionary tests

2015-03-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26 ++ 2 files changed, 30 insertions(+) create mode 100644 tests/ref/fate/dict diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak index 58307ae..ff052e0 100644

[FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-03-31 Thread Lukasz Marek
Fixes following scenario: av_dict_set(&d, "key", "old", 0); AVDictionaryEentry *e = av_dict_get(d, "key", NULL, 0); av_dict_set(&d, e->key, "new", 0); Signed-off-by: Lukasz Marek --- libavutil/dict.c | 18 -- 1 file chan

Re: [FFmpeg-devel] [PATCH] lavf: Add support for WebM Live Muxing

2015-03-30 Thread Lukasz Marek
When are we going to get a DASH demuxer? Why don't you implement it? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/4] lavf: add directory listing API

2015-03-30 Thread Lukasz Marek
On 30.03.2015 03:01, Michael Niedermayer wrote: On Mon, Mar 30, 2015 at 12:36:34AM +0200, Lukasz Marek wrote: On 29.03.2015 01:14, Mariusz Szczepańczyk wrote: diff --git a/doc/APIchanges b/doc/APIchanges index 3f153e9..814f752 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,15

Re: [FFmpeg-devel] [PATCH 1/4] lavf: add directory listing API

2015-03-29 Thread Lukasz Marek
On 29.03.2015 01:14, Mariusz Szczepańczyk wrote: diff --git a/doc/APIchanges b/doc/APIchanges index 3f153e9..814f752 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,15 @@ libavutil: 2014-08-09 API changes, most recent first: +2015-03-27 - 184084c - lavf 56.27.100 - avio.h ur

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-03-28 Thread Lukasz Marek
W dniu sobota, 28 marca 2015 Peter Ross napisał(a): > On Sat, Mar 28, 2015 at 08:38:40PM +0100, Lukasz Marek wrote: > > I assumed it is local file (no other option so far). So I stat full path > > (/tmp/outer.zip/tmp/inner.zip/tmp/data.bin) for being a file, if so then > I &g

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-03-28 Thread Lukasz Marek
On 28.03.2015 20:13, Nicolas George wrote: L'octidi 8 germinal, an CCXXIII, Lukasz Marek a écrit : I will try to use this libarchive first and do some tests. Your approach may collapse in case compression libraries doesn't support parallel compression/decompression (I mean that yo

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-03-28 Thread Lukasz Marek
On 28.03.2015 11:53, Nicolas George wrote: Le septidi 7 germinal, an CCXXIII, Lukasz Marek a écrit : But, this time I dont understand you comments, could you elaborate it? What's wrong, what can I do? What I am saying is that there are a lot of different cases where we want to read arc

Re: [FFmpeg-devel] [PATCH 4/4] lavf/libsmbclient: implement directory listing callbacks

2015-03-27 Thread Lukasz Marek
On 26.03.2015 01:25, Mariusz Szczepańczyk wrote: --- libavformat/libsmbclient.c | 93 ++ 1 file changed, 93 insertions(+) [...] +switch (dirent->smbc_type) { +case SMBC_DIR: +entry->type = AVIO_ENTRY_DIRECTORY; +break; +

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-03-27 Thread Lukasz Marek
On 27.03.2015 15:49, Nicolas George wrote: Le septidi 7 germinal, an CCXXIII, Lukasz Marek a écrit : TODO: add doc, update doc/APIChanges, bump minor This is interesting, but the use case must be considered very carefully, there are tons of things that can be done with a zip file, even

Re: [FFmpeg-devel] [PATCH/TOY] zip files

2015-03-27 Thread Lukasz Marek
On 27.03.2015 14:16, Michael Niedermayer wrote: On Fri, Mar 27, 2015 at 01:51:08PM +0100, Lukasz Marek wrote: On 27.03.2015 13:07, Peter Ross wrote: --- this was created to test the idea proposed in https://trac.ffmpeg.org/ticket/4374 as result, i think a zip:// protocol has some problems

[FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-03-27 Thread Lukasz Marek
P, udp); REGISTER_PROTOCOL(UDPLITE, udplite); REGISTER_PROTOCOL(UNIX, unix); +REGISTER_PROTOCOL(ZIP, zip); /* external libraries */ REGISTER_DEMUXER (LIBGME, libgme); diff --git a/libavformat/zip.c b/libavformat/zip.c new file mode 1

Re: [FFmpeg-devel] [PATCH/TOY] zip files

2015-03-27 Thread Lukasz Marek
On 27.03.2015 13:07, Peter Ross wrote: --- this was created to test the idea proposed in https://trac.ffmpeg.org/ticket/4374 as result, i think a zip:// protocol has some problems - strict uri syntax can only open files in current directory - user shouldn't have to specify the archive format. t

Re: [FFmpeg-devel] GSoC project proposal + qualification task

2015-03-21 Thread Lukasz Marek
ete methods also could be nice. I reached out to Lukasz Marek, who is listed as backup mentor and he pointed me to his last year's patches that add directory listing api and implement some of the protocols. In a couple of minutes I'll send these patches rebased against current master p

Re: [FFmpeg-devel] GSoC project proposal + qualification task

2015-03-20 Thread Lukasz Marek
ageIO, however I'm new to FFmpeg. I'd like to work on the "Browsing content on the server" task as described on wiki extended by samba and possibly local zip archives if it gets a good reception. And maybe having rename and delete methods also could be nice. I reached out to Lu

Re: [FFmpeg-devel] [PATCH 1/7] [GSoC] lavf: add directory listing API

2015-03-20 Thread Lukasz Marek
On 20.03.2015 14:55, Michael Niedermayer wrote: On Fri, Mar 20, 2015 at 03:01:56AM +0100, Mariusz Szczepańczyk wrote: From: Lukasz Marek /** + * Open directory for reading. + * + * @param s directory read context. Pointer to a NULL pointer must be passed. + * @param url directory

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-11 Thread Lukasz Marek
On 11.03.2015 11:15, Nicolas George wrote: Le primidi 21 ventôse, an CCXXIII, Florian Jacob a écrit : Do we have a way to apply ffmpeg-specific options? We can force to use no compression in the code, by adding this line: ssh_options_set(libssh->session, SSH_OPTIONS_COMPRESSION, "no"); after

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Lukasz Marek
On 11.03.2015 01:51, Timothy Gu wrote: On Tue, Mar 10, 2015 at 5:47 PM Lukasz Marek wrote: On 11.03.2015 01:13, Florian Jacob wrote: libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Lukasz Marek
On 11.03.2015 01:13, Florian Jacob wrote: libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set i

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Lukasz Marek
On 11.03.2015 00:22, Florian Jacob wrote: libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set i

Re: [FFmpeg-devel] [PATCH] avcodec/options_table: remove extradata_size from the AVOptions table

2015-03-09 Thread Lukasz Marek
On 9 March 2015 at 14:28, Michael Niedermayer wrote: > On Mon, Mar 09, 2015 at 01:27:58PM +0100, Lukasz Marek wrote: > > On 9 March 2015 at 12:19, Andreas Cadhalpun < > > andreas.cadhal...@googlemail.com> wrote: > > > > > On 09.03.2015 03:42, Michael Nied

Re: [FFmpeg-devel] [PATCH] avcodec/options_table: remove extradata_size from the AVOptions table

2015-03-09 Thread Lukasz Marek
On 9 March 2015 at 12:19, Andreas Cadhalpun < andreas.cadhal...@googlemail.com> wrote: > On 09.03.2015 03:42, Michael Niedermayer wrote: > >> allowing access to the size but not the extradata itself is not useful >> and could lead to potential problems if writing happens through this field >> >> S

Re: [FFmpeg-devel] [PATCH 1/8] ffmdec: initialize f_cprv, f_stvi and f_stau

2015-03-09 Thread Lukasz Marek
On 9 March 2015 at 12:41, Andreas Cadhalpun < andreas.cadhal...@googlemail.com> wrote: > On 09.03.2015 10:53, Lukasz Marek wrote: > >> In fact this is a bit wrong. COMM is guaranteed unless malformed file is >> parsed. These variables are dedicated to detect doubled sectio

Re: [FFmpeg-devel] [PATCH 1/8] ffmdec: initialize f_cprv, f_stvi and f_stau

2015-03-09 Thread Lukasz Marek
On 09.03.2015 02:45, Michael Niedermayer wrote: On Mon, Mar 09, 2015 at 12:02:55AM +0100, Andreas Cadhalpun wrote: Hi, attached patch fixes 'Conditional jump or move depends on uninitialized variables' valgrind warnings. Best regards, Andreas ffmdec.c |2 +- 1 file changed, 1 inserti

Re: [FFmpeg-devel] [PATCH] avformat/http: support auto reconnect

2015-03-06 Thread Lukasz Marek
On 6 March 2015 at 11:19, Zhang Rui wrote: > if (!s->hd) > return AVERROR_EOF; > @@ -945,7 +949,19 @@ static int http_read_stream(URLContext *h, uint8_t > *buf, int size) > if (s->compressed) > return http_buf_read_compressed(h, buf, size); > #endif /* CONFIG_ZLIB */

Re: [FFmpeg-devel] [RFC][PATCH] ffplay: factorize subtitle rendering code to a private filter

2015-03-03 Thread Lukasz Marek
On 3 March 2015 at 14:16, wm4 wrote: > On Tue, 3 Mar 2015 13:17:12 +0100 > Lukasz Marek wrote: > > > On 17 February 2015 at 03:27, Marton Balint wrote: > > > > > > > > > > > On Sat, 14 Feb 2015, Clément Bœsch wrote: > > > > > &

Re: [FFmpeg-devel] [RFC][PATCH] ffplay: factorize subtitle rendering code to a private filter

2015-03-03 Thread Lukasz Marek
On 17 February 2015 at 03:27, Marton Balint wrote: > > > On Sat, 14 Feb 2015, Clément Bœsch wrote: > > On Sat, Feb 14, 2015 at 02:08:15AM +0100, Marton Balint wrote: >> >>> Signed-off-by: Marton Balint >>> --- >>> Makefile | 1 + >>> doc/ffplay.texi |

Re: [FFmpeg-devel] [PATCH] lavf/ffmenc: do not fail on missing codec

2015-02-20 Thread Lukasz Marek
On 20.02.2015 01:53, Michael Niedermayer wrote: On Thu, Feb 19, 2015 at 11:52:50PM +0100, Lukasz Marek wrote: ffm encoder fails when codec is not found. It may happen when stream is being copied. This commit allows to store such stream and provides backward compatibility with version prior 2.5

Re: [FFmpeg-devel] [PATCH 2/2] hlsenc: write playlist into a temp file and replace the original atomically

2015-02-20 Thread Lukasz Marek
On 20.02.2015 14:30, Michael Niedermayer wrote: On Fri, Feb 20, 2015 at 02:15:30PM +0100, Hendrik Leppkes wrote: On Fri, Feb 20, 2015 at 1:38 PM, Michael Niedermayer wrote: On Fri, Feb 20, 2015 at 12:55:14PM +0100, Hendrik Leppkes wrote: What else could it be? http, ftp, who knows also ff_r

[FFmpeg-devel] [PATCH] lavf/ffmenc: do not fail on missing codec

2015-02-19 Thread Lukasz Marek
ffm encoder fails when codec is not found. It may happen when stream is being copied. This commit allows to store such stream and provides backward compatibility with version prior 2.5 release. fixes #4266 Signed-off-by: Lukasz Marek --- libavformat/ffmenc.c | 13 - 1 file changed

Re: [FFmpeg-devel] [PATCH] lavf/avc: add buffer padding to extradata allocation

2015-02-04 Thread Lukasz Marek
On 05.02.2015 03:04, Michael Niedermayer wrote: On Thu, Feb 05, 2015 at 01:06:33AM +0100, Lukasz Marek wrote: ff_avc_write_annexb_extradata() allocates extradata, but don't add FF_INPUT_BUFFER_PADDING_SIZE value Signed-off-by: Lukasz Marek --- libavformat/avc.c | 2 +- 1 file chang

[FFmpeg-devel] [PATCH] lavf/avc: add buffer padding to extradata allocation

2015-02-04 Thread Lukasz Marek
ff_avc_write_annexb_extradata() allocates extradata, but don't add FF_INPUT_BUFFER_PADDING_SIZE value Signed-off-by: Lukasz Marek --- libavformat/avc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avc.c b/libavformat/avc.c index c927b47..9d843e0 100644

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-04 Thread Lukasz Marek
On 04.02.2015 21:39, Carl Eugen Hoyos wrote: Clément Bœsch pkh.me> writes: This reverts commit 23ec8db8a07467a1fbef0c79f16b33040ca63c24. There is no reason to enable libxcb by default. This is inconsistent with all the other libs (we don't do it for x11, opengl, ...) x11grab is not lgpl (th

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Lukasz Marek
On 27 January 2015 at 22:48, Lou Logan wrote: > Signed-off-by: Lou Logan > --- > doc/indevs.texi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/doc/indevs.texi b/doc/indevs.texi > index ae61331..350adfe 100644 > --- a/doc/indevs.texi > +++ b/doc/indevs.texi > @@ -971,6 +97

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-13 Thread Lukasz Marek
On 13 January 2015 at 14:54, wm4 wrote: > On Mon, 12 Jan 2015 18:59:33 +0100 > Marc Giger wrote: > > > Hi, > > > > Attached is a preliminary patch that enables runtime loading of external > > libraries via dlopen and friends. Dynamic loading is a build time option > > (--enable-dynamic-loading)

Re: [FFmpeg-devel] [PATCH 1/2] lavd/v4l2: implement list device callback

2015-01-11 Thread Lukasz Marek
On 03.01.2015 14:51, Giorgio Vazzana wrote: 2015-01-03 4:45 GMT+01:00 Lukasz Marek : On 21 December 2014 at 23:39, Lukasz Marek wrote: On 21.12.2014 22:43, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- libavdevice/v4l2.c | 58

Re: [FFmpeg-devel] [PATCH 2/2] cmdutils: use helper functions for listing sinks/sources

2015-01-11 Thread Lukasz Marek
On 03.01.2015 06:35, Michael Niedermayer wrote: On Sat, Jan 03, 2015 at 04:45:56AM +0100, Lukasz Marek wrote: On 21 December 2014 at 21:04, Lukasz Marek wrote: List device callback must be able to return valid list without opening device. This callback should return input values for open

Re: [FFmpeg-devel] [PATCH] lavd/avdevice: remove av_ prefix from private function

2015-01-11 Thread Lukasz Marek
On 22.12.2014 01:14, Michael Niedermayer wrote: On Sun, Dec 21, 2014 at 09:03:49PM +0100, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- libavdevice/avdevice.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) LGTM pushed

Re: [FFmpeg-devel] [PATCH 2/2] cmdutils: use helper functions for listing sinks/sources

2015-01-02 Thread Lukasz Marek
On 21 December 2014 at 21:04, Lukasz Marek wrote: > List device callback must be able to return valid list without opening > device. > This callback should return input values for open function, not vice-versa. > Read header funtion is very likey to fail without proper configuratio

Re: [FFmpeg-devel] [PATCH 1/2] lavd/v4l2: implement list device callback

2015-01-02 Thread Lukasz Marek
On 21 December 2014 at 23:39, Lukasz Marek wrote: > On 21.12.2014 22:43, Lukasz Marek wrote: > >> Signed-off-by: Lukasz Marek >> --- >> libavdevice/v4l2.c | 58 ++ >> >> 1 file changed, 58 insertions(+)

Re: [FFmpeg-devel] [PATCH 1/2] lavd/v4l2: implement list device callback

2014-12-21 Thread Lukasz Marek
On 21.12.2014 22:43, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- libavdevice/v4l2.c | 58 ++ 1 file changed, 58 insertions(+) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 2969980..9d4d7ae 100644 --- a/libavdevice/v4l2

[FFmpeg-devel] [PATCH 2/2] cmdutils: use av_match_name to filter devices

2014-12-21 Thread Lukasz Marek
Device name may be coma-separated list. Use dedicated funtion to compare. Signed-off-by: Lukasz Marek --- cmdutils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index fb1883a..4a4f311 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -2173,7

[FFmpeg-devel] [PATCH 1/2] lavd/v4l2: implement list device callback

2014-12-21 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- libavdevice/v4l2.c | 58 ++ 1 file changed, 58 insertions(+) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 2969980..9d4d7ae 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -1006,6

[FFmpeg-devel] [PATCH 2/2] cmdutils: use helper functions for listing sinks/sources

2014-12-21 Thread Lukasz Marek
List device callback must be able to return valid list without opening device. This callback should return input values for open function, not vice-versa. Read header funtion is very likey to fail without proper configuration provided. Signed-off-by: Lukasz Marek --- cmdutils.c | 27

[FFmpeg-devel] [PATCH] lavd/avdevice: remove av_ prefix from private function

2014-12-21 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- libavdevice/avdevice.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c index d59e99a..72e573d 100644 --- a/libavdevice/avdevice.c +++ b/libavdevice/avdevice.c @@ -77,8 +77,8

[FFmpeg-devel] [PATCH 1/2] lavd/avdevice: introduce helper functions for sink/sources listing

2014-12-21 Thread Lukasz Marek
TODO: bump minor, update doc/APIchanges Signed-off-by: Lukasz Marek --- libavdevice/Makefile | 1 + libavdevice/avdevice.c | 39 + libavdevice/avdevice.h | 22 +++ libavdevice/internal.h | 27 +++ libavdevice/utils.c| 59

Re: [FFmpeg-devel] [PATCH] cmdutils: dont call read_header before listing devices

2014-12-18 Thread Lukasz Marek
On 18 December 2014 at 10:41, Michael Niedermayer wrote: > > On Thu, Dec 18, 2014 at 01:29:39AM +0100, Lukasz Marek wrote: > > On 18.12.2014 01:09, Michael Niedermayer wrote: > > >On Wed, Dec 17, 2014 at 10:59:37PM +0100, Lukasz Marek wrote: > > >>On 15.12.2014

Re: [FFmpeg-devel] [PATCH] cmdutils: dont call read_header before listing devices

2014-12-17 Thread Lukasz Marek
On 18.12.2014 01:09, Michael Niedermayer wrote: On Wed, Dec 17, 2014 at 10:59:37PM +0100, Lukasz Marek wrote: On 15.12.2014 14:18, Michael Niedermayer wrote: cmdutils.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) 8d012a5193b0440717f89d920661913ef160e674 0001-cmdutils

Re: [FFmpeg-devel] [PATCH] cmdutils: dont call read_header before listing devices

2014-12-17 Thread Lukasz Marek
:00:00 2001 From: Lukasz Marek Date: Mon, 15 Dec 2014 00:31:42 +0100 Subject: [PATCH] cmdutils: dont call read_header before listing devices List device callback must be able to return valid list without opening device. This callback should return input values for open function, not vice-versa. Read

Re: [FFmpeg-devel] [PATCH] lavd/alsa-audio-common: dont crash while closing not opened device

2014-12-16 Thread Lukasz Marek
On 15 December 2014 at 14:05, Nicolas George wrote: > > Le quintidi 25 frimaire, an CCXXIII, Lukasz Marek a écrit : > > for example > > ffmpeg -f alsa -i -f alsa aaa > > would crash if ffmpeg tried to close alsa after open fail. It doesn't so > it > > d

Re: [FFmpeg-devel] [PATCH] lavd/alsa-audio-common: dont crash while closing not opened device

2014-12-15 Thread Lukasz Marek
On 15 December 2014 at 13:05, Nicolas George wrote: > > Le quintidi 25 frimaire, an CCXXIII, Lukasz Marek a écrit : > > snd_pcm_close() doesn't handle NULL correctly. > > > > Signed-off-by: Lukasz Marek > > --- > > libavdevice/alsa-audio-common.c |

[FFmpeg-devel] [PATCH] lavd/alsa-audio-common: dont crash while closing not opened device

2014-12-14 Thread Lukasz Marek
snd_pcm_close() doesn't handle NULL correctly. Signed-off-by: Lukasz Marek --- libavdevice/alsa-audio-common.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c index b7f5313..fff21a1 100644

Re: [FFmpeg-devel] [PATCH] cmdutils: dont call read_header before listing devices

2014-12-14 Thread Lukasz Marek
On 15.12.2014 00:33, Lukasz Marek wrote: List device callback must be able to return valid list without opening device. This callback should return input values for open function, not vice-versa. Read header funtion is very likey to fail without proper configuration provided. Signed-off-by

[FFmpeg-devel] [PATCH] cmdutils: dont call read_header before listing devices

2014-12-14 Thread Lukasz Marek
List device callback must be able to return valid list without opening device. This callback should return input values for open function, not vice-versa. Read header funtion is very likey to fail without proper configuration provided. Signed-off-by: Lukasz Marek --- cmdutils.c | 3 +-- 1 file

Re: [FFmpeg-devel] [PATCH 2/2] lavd/avdevice: use better option types for caps options

2014-12-14 Thread Lukasz Marek
On 13.12.2014 23:11, Michael Niedermayer wrote: On Sat, Dec 13, 2014 at 08:27:08PM +0100, Lukasz Marek wrote: Using dedicated types allows to use format/layout names, not just raw int values. Signed-off-by: Lukasz Marek LGTM pushed this one. first from patchset dropped

  1   2   3   4   >