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

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

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

2016-09-24 Thread Lukasz Marek
put device. All of it has 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

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

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 <l...@lrcd.com <javascript:_e(%7B%7D,'cvml','l...@lrcd.com');>> napisał(a): On Sat, Sep 17, 2016, at 05:21 PM, Lukasz Marek wrote: On 18 September 2

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 <l...@lrcd.com <javascript:_e(%7B%7D,'cvml','l...@lrcd.com');>> napisał(a): On Sat, Sep 17, 2016, at 05:21 PM, Lukasz Marek wrote: On 18 September 2

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

2016-09-17 Thread Lukasz Marek
W dniu niedziela, 18 września 2016 Lou Logan <l...@lrcd.com <javascript:_e(%7B%7D,'cvml','l...@lrcd.com');>> napisał(a): > On Sat, Sep 17, 2016, at 05:21 PM, Lukasz Marek wrote: > > On 18 September 2016 at 00:30, Josh de Kock <j...@itanimul.li> wrote: > [...] > &

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 > >

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 <lukasz.m.lu...@gmail.com> 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 functio

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

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

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

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

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

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

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 <lukasz.m.lu...@gmail.com> >> --- >> ffplay.c | 13 ++--- >> 1 file changed, 6 insertions(+), 7 deletions

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

2016-03-20 Thread Lukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.lu...@gmail.com> --- 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 { AV

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 rodger.co...@gmail.com 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.

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

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

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

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 segmentation fault in

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

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

2015-04-07 Thread Lukasz Marek
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 credentials

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 Holljesklaxa1...@googlemail.com --- 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

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 lukasz.m.lu...@gmail.com --- doc/examples/avio_list_dir.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) LGTM pushed

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 lukasz.m.lu...@gmail.com wrote: On 3 April 2015 at 15:22, Nicolas George geo...@nsup.org 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 3/3] lavf/libsmbclient: implement directory listing callbacks

2015-04-03 Thread Lukasz Marek
On 3 April 2015 at 03:54, Mariusz Szczepańczyk mszczepanc...@gmail.com 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

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

2015-04-03 Thread Lukasz Marek
Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- 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

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 +++

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 geo...@nsup.org 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 @@

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 lukasz.m.lu...@gmail.com --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26

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, old, 0

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 pr...@xvid.org 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

[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 lukasz.m.lu...@gmail.com --- 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

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, new, 0); Signed-off-by: Lukasz Marek lukasz.m.lu

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 lukasz.m.lu...@gmail.com --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26 ++ I added more tests, so please see 2 attached instead From a3cca0b8533877f14ae31f2a1ecfb1e25633e536

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

2015-03-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- 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

[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 lukasz.m.lu...@gmail.com --- libavutil/dict.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff

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] 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-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

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

2015-03-28 Thread Lukasz Marek
W dniu sobota, 28 marca 2015 Peter Ross pr...@xvid.org 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 opened

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 you write

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 archives

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

2015-03-27 Thread Lukasz Marek
, zip); /* external libraries */ REGISTER_DEMUXER (LIBGME, libgme); diff --git a/libavformat/zip.c b/libavformat/zip.c new file mode 100644 index 000..c9d6679 --- /dev/null +++ b/libavformat/zip.c @@ -0,0 +1,176 @@ +/* + * Copyright (c) 2015 Lukasz Marek lukasz.m.l

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

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 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] GSoC project proposal + qualification task

2015-03-21 Thread Lukasz Marek
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 plus my take on samba

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 lukasz.m.lu...@gmail.com /** + * Open directory for reading. + * + * @param s directory read context. Pointer to a NULL pointer must be passed

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

2015-03-20 Thread Lukasz Marek
, 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 Lukasz Marek, who is listed

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 lukasz.m.lu...@gmail.com 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

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

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

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 sections. This patch allows them

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 michae...@gmx.at 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 Niedermayer wrote: allowing access

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

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

2015-03-06 Thread Lukasz Marek
On 6 March 2015 at 11:19, Zhang Rui bbcal...@gmail.com 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 /*

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 nfx...@googlemail.com wrote: On Tue, 3 Mar 2015 13:17:12 +0100 Lukasz Marek lukasz.m.lu...@gmail.com wrote: On 17 February 2015 at 03:27, Marton Balint c...@passwd.hu wrote: On Sat, 14 Feb 2015, Clément Bœsch wrote: On Sat, Feb 14, 2015 at 02

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 c...@passwd.hu 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 c...@passwd.hu --- Makefile | 1 + doc/ffplay.texi

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 michae...@gmx.at wrote: On Fri, Feb 20, 2015 at 12:55:14PM +0100, Hendrik Leppkes wrote: What else could it be? http, ftp,

[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 lukasz.m.lu...@gmail.com --- libavformat/ffmenc.c | 13

[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 lukasz.m.lu...@gmail.com --- libavformat/avc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avc.c b/libavformat/avc.c index c927b47

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 u at 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

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 nfx...@googlemail.com wrote: On Mon, 12 Jan 2015 18:59:33 +0100 Marc Giger gigerst...@gmx.ch 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

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 lukasz.m.lu...@gmail.com wrote: List device callback must be able to return valid list without opening device. This callback should return

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 lukasz.m.lu...@gmail.com: On 21 December 2014 at 23:39, Lukasz Marek lukasz.m.lu...@gmail.com wrote: On 21.12.2014 22:43, Lukasz Marek wrote: Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com

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 lukasz.m.lu...@gmail.com --- libavdevice/avdevice.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) LGTM pushed

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 lukasz.m.lu...@gmail.com wrote: On 21.12.2014 22:43, Lukasz Marek wrote: Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavdevice/v4l2.c | 58 ++ 1 file changed, 58 insertions

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 lukasz.m.lu...@gmail.com 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

[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 lukasz.m.lu...@gmail.com --- libavdevice/Makefile | 1 + libavdevice/avdevice.c | 39 + libavdevice/avdevice.h | 22 +++ libavdevice/internal.h | 27

[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 lukasz.m.lu...@gmail.com

[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 lukasz.m.lu...@gmail.com --- 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

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

2014-12-21 Thread Lukasz Marek
Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- 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

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 lukasz.m.lu...@gmail.com --- libavdevice/v4l2.c | 58 ++ 1 file changed, 58 insertions(+) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 2969980..9d4d7ae

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

2014-12-17 Thread Lukasz Marek
:00:00 2001 From: Lukasz Marek lukasz.m.lu...@gmail.com 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

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] 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 geo...@nsup.org 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 doesn't occur. This commit also

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 geo...@nsup.org wrote: Le quintidi 25 frimaire, an CCXXIII, Lukasz Marek a écrit : snd_pcm_close() doesn't handle NULL correctly. Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavdevice/alsa-audio-common.c | 5 - 1 file

Re: [FFmpeg-devel] [PATCH] lavd/alsa-audio-common: mark default device in device list

2014-12-14 Thread Lukasz Marek
On 14.12.2014 17:10, Nicolas George wrote: Le tridi 23 frimaire, an CCXXIII, Lukasz Marek a écrit : Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavdevice/alsa-audio-common.c | 2 ++ 1 file changed, 2 insertions(+) Looks right, thanks. pushed

Re: [FFmpeg-devel] [PATCH] cmdutils: use macros for device test

2014-12-14 Thread Lukasz Marek
On 13.12.2014 20:03, Michael Niedermayer wrote: On Sat, Dec 13, 2014 at 07:54:57PM +0100, Lukasz Marek wrote: Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- cmdutils.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) LGTM pushed

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 lukasz.m.lu...@gmail.com LGTM pushed this one. first from patchset

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

[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 lukasz.m.lu...@gmail.com --- 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

[FFmpeg-devel] [PATCH] lavd/alsa-audio-common: mark default device in device list

2014-12-13 Thread Lukasz Marek
Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavdevice/alsa-audio-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c index 749897f..b7f5313 100644 --- a/libavdevice/alsa-audio-common.c +++ b/libavdevice

[FFmpeg-devel] [PATCH] cmdutils: use macros for device test

2014-12-13 Thread Lukasz Marek
Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- cmdutils.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index b68dae9..4e0a406 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1213,12 +1213,7 @@ static int is_device(const AVClass *avclass

[FFmpeg-devel] [PATCH 1/2] lavd/avdevice: replace av_ with ff_ for caps option table

2014-12-13 Thread Lukasz Marek
This symbol is required for query capabilities callbacks. This symbol is only required by libavdevice and should not be exported. Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavdevice/avdevice.c | 2 +- libavdevice/avdevice.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions

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

2014-12-13 Thread Lukasz Marek
Using dedicated types allows to use format/layout names, not just raw int values. Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavdevice/avdevice.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c index

Re: [FFmpeg-devel] [PATCH 1/2] lavd/avdevice: replace av_ with ff_ for caps option table

2014-12-13 Thread Lukasz Marek
On 13.12.2014 20:48, Reimar Döffinger wrote: On 13.12.2014, at 20:42, James Almer jamr...@gmail.com wrote: On 13/12/14 4:27 PM, Lukasz Marek wrote: This symbol is required for query capabilities callbacks. This symbol is only required by libavdevice and should not be exported. This need

Re: [FFmpeg-devel] [PATCH 1/2] lavd/avdevice: replace av_ with ff_ for caps option table

2014-12-13 Thread Lukasz Marek
On 13.12.2014 20:54, Lukasz Marek wrote: On 13.12.2014 20:48, Reimar Döffinger wrote: On 13.12.2014, at 20:42, James Almer jamr...@gmail.com wrote: On 13/12/14 4:27 PM, Lukasz Marek wrote: This symbol is required for query capabilities callbacks. This symbol is only required by libavdevice

Re: [FFmpeg-devel] [PATCH] avformat: Implement subtitle charenc guessing

2014-12-12 Thread Lukasz Marek
On 12 December 2014 at 07:05, Rodger Combs rodger.co...@gmail.com wrote: diff --git a/configure b/configure index e2e3619..a5a9f9b 100755 --- a/configure +++ b/configure @@ -199,6 +199,9 @@ External library support: --enable-gnutls enable gnutls, needed for https support

Re: [FFmpeg-devel] [PATCH 2/5] lavu/dict: check for malloc failures some more

2014-12-12 Thread Lukasz Marek
On 12.12.2014 18:15, wm4 wrote: This fix is rather messy because of AV_DICT_DONT_STRDUP_VAL. It's not even clear how this should be handled. Maybe freeing the user's data on failure would actually be ok. const char* arg suggests this function should not free it, but dict would free it

Re: [FFmpeg-devel] [PATCH] avformat: add dump_metadata_lines

2014-12-09 Thread Lukasz Marek
W dniu środa, 10 grudnia 2014 Vittorio Giovara vittorio.giov...@gmail.com napisał(a): On Tue, Dec 9, 2014 at 10:17 PM, wm4 nfx...@googlemail.com javascript:; wrote: On Tue, 9 Dec 2014 14:10:22 +0100 Michael Niedermayer michae...@gmx.at javascript:; wrote: TODO: bump version, update

Re: [FFmpeg-devel] [PATCH 2/2] fate: add libavcodec/options-test

2014-12-08 Thread Lukasz Marek
On 7 December 2014 at 02:19, Lukasz Marek lukasz.m.lu...@gmail.com wrote: On 06.12.2014 19:48, Michael Niedermayer wrote: On Thu, Dec 04, 2014 at 12:50:50AM +0100, Lukasz Marek wrote: Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- tests/fate/libavcodec.mak | 4

Re: [FFmpeg-devel] [PATCH] avutil/opt: Fix AV_OPT_TYPE_BINARY case in av_opt_is_set_to_default()

2014-12-07 Thread Lukasz Marek
W dniu niedziela, 7 grudnia 2014 Michael Niedermayer michae...@gmx.at napisał(a): Fixes CID1257010 Signed-off-by: Michael Niedermayer michae...@gmx.at javascript:; --- libavutil/opt.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/opt.c

  1   2   3   4   >