[FFmpeg-devel] [PATCH]Error out if mjpeg over rtp is not 4:2:0

2015-07-08 Thread Carl Eugen Hoyos
Hi! Looking at tickets #3823 and #4317 it seems to me that FFmpeg currently only supports 4:2:0 subsampling when sending jpeg over rtp. I believe an error should be shown if 4:2:2 or 4:4:4 are provided. Please comment, Carl Eugen diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 3

Re: [FFmpeg-devel] [PATCH 1/4] concatdec: add support for specifying inpoint of files

2015-07-08 Thread Nicolas George
L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > I chose the "in" and "out" keywords because for intra frame (and exactly > interleaved) content (where packet based cutting actually works without > additional magic) it matches the semantics of inpoint and outpoint in an EDL > list. > >

Re: [FFmpeg-devel] [PATCH 3/4] concatdec: add support for specifying outpoint of files

2015-07-08 Thread Nicolas George
L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > Yeah, i know. Actually I don't see how would it be possible to give a > stronger kind of guarantee efficiently and reliably to the user. That is why I suppose this could be done by discarding the packets beyond outpoint until either all s

Re: [FFmpeg-devel] [PATCH 4/4] concatdec: add support for injecting packet metadata

2015-07-08 Thread Nicolas George
Le nonidi 19 messidor, an CCXXIII, Marton Balint a écrit : > Actually I have one more patch I have not yet sent to the list, which adds > support to select frames by metadata to the select filters. > > With that, you can cut frame accurately from XDCAM HD files if you overshoot > outpoint a bit an

Re: [FFmpeg-devel] [PATCH] snow: remove strange av_assert2

2015-07-08 Thread Ronald S. Bultje
Hi, On Tue, Jul 7, 2015 at 7:22 PM, Michael Niedermayer wrote: > On Tue, Jul 07, 2015 at 11:32:59PM +0200, Andreas Cadhalpun wrote: > > On 06.07.2015 02:40, Michael Niedermayer wrote: > > > On Sun, Jul 05, 2015 at 09:11:44PM +0200, Andreas Cadhalpun wrote: > > >> Can you explain how elements can

Re: [FFmpeg-devel] [PATCH]Error out if mjpeg over rtp is not 4:2:0

2015-07-08 Thread Paul B Mahol
On 7/8/15, Carl Eugen Hoyos wrote: > Hi! > > Looking at tickets #3823 and #4317 it seems to me that > FFmpeg currently only supports 4:2:0 subsampling when > sending jpeg over rtp. I believe an error should be > shown if 4:2:2 or 4:4:4 are provided. > > Please comment, Carl Eugen > Looking at rtp

Re: [FFmpeg-devel] [PATCH] library.mak: add rpath to shared libraries

2015-07-08 Thread Michael Niedermayer
On Tue, Jul 07, 2015 at 09:55:00PM -0400, Ganesh Ajjanagadde wrote: > On Sun, Jul 5, 2015 at 1:01 PM, Michael Niedermayer wrote: > > On Sat, Jul 04, 2015 at 10:21:47AM -0400, Ganesh Ajjanagadde wrote: > >> On Sat, Jun 27, 2015 at 7:18 PM, Ganesh Ajjanagadde > >> wrote: > >> > On Sat, Jun 27, 201

Re: [FFmpeg-devel] [PATCH 4/4] concatdec: add support for injecting packet metadata

2015-07-08 Thread Marton Balint
On Wed, 8 Jul 2015, Nicolas George wrote: Le nonidi 19 messidor, an CCXXIII, Marton Balint a écrit : Actually I have one more patch I have not yet sent to the list, which adds support to select frames by metadata to the select filters. With that, you can cut frame accurately from XDCAM HD fi

Re: [FFmpeg-devel] [PATCH] snow: remove strange av_assert2

2015-07-08 Thread Michael Niedermayer
On Wed, Jul 08, 2015 at 07:24:13AM -0400, Ronald S. Bultje wrote: > Hi, > > On Tue, Jul 7, 2015 at 7:22 PM, Michael Niedermayer > wrote: > > > On Tue, Jul 07, 2015 at 11:32:59PM +0200, Andreas Cadhalpun wrote: > > > On 06.07.2015 02:40, Michael Niedermayer wrote: > > > > On Sun, Jul 05, 2015 at

[FFmpeg-devel] [PATCH 1/9] lavf/network: split ff_listen_bind into ff_listen and ff_accept

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/network.c | 27 +-- libavformat/network.h | 20 2 files changed, 41 insertions(+), 6 deletions(-) Changes since first version: - Added documentation - Restore previous behaviour of not clos

[FFmpeg-devel] [PATCH 3/9] lavf/avio: add avio_accept and avio_handshake

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/avio.h| 16 libavformat/aviobuf.c | 17 + 2 files changed, 33 insertions(+) Changes since first version: - Add documentation diff --git a/libavformat/avio.h b/libavformat/avio.h index d3d9bbd..b7a4fa8 1

[FFmpeg-devel] [PATCH 4/9] lavf/tcp: add tcp_accept

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/tcp.c | 18 ++ 1 file changed, 18 insertions(+) Changes since first version: - Add av_assert0() check for sc->listen - Add bitmask for s->flags in ffurl_alloc - Use ff_accept() instead of accept() diff --git a/

[FFmpeg-devel] [PATCH 5/9] lavf/tcp: increase range for listen and call the underlying socket operations accordingly

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/tcp.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) Changes since first version: - Set ret when ff_listen_bind() fails diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 6f5e175..5505945 100644 --- a/libavfo

[FFmpeg-devel] [PATCH 6/9] lavf/http: add http_accept

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/http.c | 19 +++ 1 file changed, 19 insertions(+) Changes since first version: - Add av_assert0() check for sc->listen - Add bitmask for s->flags in ffurl_alloc diff --git a/libavformat/http.c b/libavformat/http.c ind

[FFmpeg-devel] [PATCH 7/9] lavf/http: increase range for listen, handle connection closing accordingly, add http_handshake and move handshake logic there

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/http.c | 39 --- 1 file changed, 28 insertions(+), 11 deletions(-) Changes since first version: - Return from http_handshake() if no errors occured instead of falling through fail label - A

[FFmpeg-devel] [PATCH 8/9] doc/protocols: document experimental mutli-client api

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- doc/protocols.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 453dbcf..39a132a 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -292,6 +292,8 @@ autodetection in the future. If set to 1 enables

[FFmpeg-devel] [PATCH 9/9] doc/example: Add http multi-client example code

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- doc/examples/Makefile | 1 + doc/examples/http_multiclient.c | 120 2 files changed, 121 insertions(+) create mode 100644 doc/examples/http_multiclient.c Changes since first version: - Move client h

Re: [FFmpeg-devel] GSoC update

2015-07-08 Thread Stephan Holljes
Hi, I have moved the client code in the sample application into a separate function, I hope I did this correctly. I also annotated the patch files with the changes that occurred over the past few iterations of these exchanges. They will be sent shortly as git send-email patches. I also tested the

[FFmpeg-devel] [PATCH 2/9] lavf/avio: add ffurl_accept and ffurl_handshake

2015-07-08 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/avio.c | 19 +++ libavformat/url.h | 18 ++ 2 files changed, 37 insertions(+) Changes since first version: - Add documentation - Let url_accept() allocate contexts - ffurl_handshake only takes on

[FFmpeg-devel] [PATCH] fix mime-types in movenc.c

2015-07-08 Thread compn
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html says video/mp4 suggested by BBB on irc. -compndiff --git a/libavformat/movenc.c b/libavformat/movenc.c index 42529ec..a95fbde

Re: [FFmpeg-devel] FFmpeg needs a new host

2015-07-08 Thread Ilya Ustinov
Dear Sir/Madam, I wanted to get in touch with the right person to address the need of FFmpeg project. Thank you in advance! Ilya Ustinov CDNvideo ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] FFmpeg needs a new host

2015-07-08 Thread Michael Niedermayer
Hi On Wed, Jul 08, 2015 at 10:54:39AM +0300, Ilya Ustinov wrote: > Dear Sir/Madam, > > I wanted to get in touch with the right person to address the need of FFmpeg > project. What exact server / hosting do you want to offer ? We already hastly moved things to a box rented by ubitux in germany a

Re: [FFmpeg-devel] FFmpeg needs a new host

2015-07-08 Thread Ilya Ustinov
Hi Michael, thanks for getting back to me on the matter. Our company (CDNvideo) is CDN service provider therefore we do provide storage and delivery services to our customers. What I wanted to do is to get more info regarding your requirements as there could be something specific not just 4TB o

[FFmpeg-devel] [PATCH]lavf/rtpenc_jpeg: Do not check the table number before warning about the precision

2015-07-08 Thread Carl Eugen Hoyos
Hi! Imo, the precision check in rtpenc_jpeg.c is wrong: Only the upper four bits contain the precision, the lower four bits are the table number. Please review, Carl Eugen diff --git a/libavformat/rtpenc_jpeg.c b/libavformat/rtpenc_jpeg.c index 7ee26c4..a52bb63 100644 --- a/libavformat/rtpenc_jp

Re: [FFmpeg-devel] [PATCH 3/4] concatdec: add support for specifying outpoint of files

2015-07-08 Thread Marton Balint
On Wed, 8 Jul 2015, Nicolas George wrote: L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : Yeah, i know. Actually I don't see how would it be possible to give a stronger kind of guarantee efficiently and reliably to the user. That is why I suppose this could be done by discarding th

Re: [FFmpeg-devel] [PATCH 2/2] avcodev/libdcadec: implement request_channel_layout

2015-07-08 Thread Michael Niedermayer
On Tue, Jul 07, 2015 at 03:06:24AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/libdcadec.c | 34 ++ > 1 file changed, 34 insertions(+) > > diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c > index 4bc3765..796826e 100644 >

Re: [FFmpeg-devel] [PATCH]lavf/matroskaenc: Do not unecessarily consume memory for cuepoints

2015-07-08 Thread Michael Niedermayer
On Tue, Jul 07, 2015 at 07:41:11PM +0200, Carl Eugen Hoyos wrote: > On Tuesday 07 July 2015 06:45:04 pm Michael Niedermayer wrote: > > On Tue, Jul 07, 2015 at 03:13:06PM +0200, Carl Eugen Hoyos wrote: > > > Hi! > > > > > > Matroska streaming currently consumes memory for > > > cuepoints that are ne

[FFmpeg-devel] [PATCH] avcodev/libdcadec: implement request_channel_layout

2015-07-08 Thread James Almer
Signed-off-by: James Almer --- libavcodec/libdcadec.c | 33 + 1 file changed, 33 insertions(+) diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c index 2d807a2..7cc1e95 100644 --- a/libavcodec/libdcadec.c +++ b/libavcodec/libdcadec.c @@ -34,6 +34,7 @@ ty

Re: [FFmpeg-devel] [PATCH] fix mime-types in movenc.c

2015-07-08 Thread Michael Niedermayer
On Wed, Jul 08, 2015 at 02:24:46PM -0400, compn wrote: > https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/CreatingContentforSafarioniPhone/CreatingContentforSafarioniPhone.html > > says video/mp4 > > suggested by BBB on irc. > > -compn > diff --

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: incorrect loop condition has been fixed.

2015-07-08 Thread Michael Niedermayer
On Tue, Jul 07, 2015 at 08:42:09PM +0300, Ivan Uskov wrote: > Hello All, > > For example, the encoder may return MFX_WRN_INCOMPATIBLE_VIDEO_PARAM > warning i.e. ret==5 old loop implementation will repeat several times > until output buffer overflow. New implementation explicitly uses > loop o

Re: [FFmpeg-devel] [PATCH] avcodev/libdcadec: implement request_channel_layout

2015-07-08 Thread Michael Niedermayer
On Wed, Jul 08, 2015 at 09:17:16PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/libdcadec.c | 33 + > 1 file changed, 33 insertions(+) LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No

[FFmpeg-devel] GSoC Weely report (libswscale)

2015-07-08 Thread Pedro Arthur
Hi, Last week I worked on adding the ring buffer logic into SwsSlice and fixing some seg faults. As I'm having some problems with git send-email through gmail I've attached the patch. From cb66ff7f4cfe1879fe9303a84efe49fca40c6d46 Mon Sep 17 00:00:00 2001 From: Pedro Arthur Date: Fri, 3 Jul 2015 1

[FFmpeg-devel] [PATCH] avcodec/libx265: allow 12bit input formats, update warnings

2015-07-08 Thread Steve Borho
The range extension profiles have been fully ratified so there is no reason to require -strict experimental for them. However Main12 support in x265 is experimental so I check for that instead. --- libavcodec/libx265.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(

Re: [FFmpeg-devel] [PATCH] avcodev/libdcadec: implement request_channel_layout

2015-07-08 Thread James Almer
On 08/07/15 9:53 PM, Michael Niedermayer wrote: > On Wed, Jul 08, 2015 at 09:17:16PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/libdcadec.c | 33 + >> 1 file changed, 33 insertions(+) > > LGTM > > thanks Pushed. ___

[FFmpeg-devel] [PATCH] avcodec/hevc_ps: Move return code setting code to the error cases

2015-07-08 Thread Michael Niedermayer
Iam not sure this is better or worse than before What do people prefer ? Signed-off-by: Michael Niedermayer --- libavcodec/hevc_ps.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 1038516..372081a 100644 --- a/liba

Re: [FFmpeg-devel] [PATCH] oggparsedirac: check return value of init_get_bits

2015-07-08 Thread Michael Niedermayer
On Tue, Jul 07, 2015 at 05:32:17PM +, Chris Watkins wrote: > On Mon, Apr 20, 2015 at 7:25 PM Clément Bœsch wrote: > > > On Mon, Apr 20, 2015 at 02:29:54PM -0700, Christopher Watkins wrote: > > > > > > > > From a93fa19467ac2568cfe32332b789b315e37dbdf1 Mon Sep 17 00:00:00 2001 > > > From: Chris

Re: [FFmpeg-devel] [PATCH] avcodec/hevc_ps: Move return code setting code to the error cases

2015-07-08 Thread James Almer
On 09/07/15 12:26 AM, Michael Niedermayer wrote: > Iam not sure this is better or worse than before > What do people prefer ? > > Signed-off-by: Michael Niedermayer > --- > libavcodec/hevc_ps.c |9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/hevc_p