Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Fix a memory leak when http_persistent is 1

2017-12-20 Thread Karthick Jeyapal
On 12/21/17 9:11 AM, 刘歧 wrote: On 19 Dec 2017, at 16:49, 刘歧 wrote: On 19 Dec 2017, at 14:58, Karthick J wrote: From: Karthick Jeyapal --- libavformat/hlsenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index e3442c3..5ee28ea 100644

Re: [FFmpeg-devel] [PATCH 2/2] vf_zscale: Add more supported input properties

2017-12-20 Thread James Almer
On 12/20/2017 2:33 PM, James Almer wrote: > On 12/20/2017 5:54 AM, Paul B Mahol wrote: >> On 12/20/17, James Almer wrote: >>> On 11/28/2017 3:57 PM, Vittorio Giovara wrote: Signed-off-by: Vittorio Giovara --- This version should be more complete. Regarding configure changes, t

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Fix a memory leak when http_persistent is 1

2017-12-20 Thread 刘歧
> On 19 Dec 2017, at 16:49, 刘歧 wrote: > >> >> On 19 Dec 2017, at 14:58, Karthick J wrote: >> >> From: Karthick Jeyapal >> >> --- >> libavformat/hlsenc.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c >> index e3442c3..5ee28ea 10064

Re: [FFmpeg-devel] [PATCH 2/4] avformat/hlsenc: reindent after previous commits

2017-12-20 Thread 刘歧
> On 19 Dec 2017, at 11:43, Karthick Jeyapal wrote: > > > > On 12/18/17 2:17 PM, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 24 >> 1 file changed, 12 insertions(+), 12 deletions(-) >> >> diff --git a/libavformat/hlsenc.c b/libav

Re: [FFmpeg-devel] [PATCH 1/4] avformat/hlsenc: fix first fragment mp4 do not split bug

2017-12-20 Thread 刘歧
> On 19 Dec 2017, at 11:51, 刘歧 wrote: > > > >> On 19 Dec 2017, at 11:42, Karthick Jeyapal wrote: >> >> >> >> On 12/18/17 2:17 PM, Steven Liu wrote: >>> fix ticket id: 6888 >>> >>> Signed-off-by: Steven Liu >>> --- >>> libavformat/hlsenc.c | 72 >>> ++

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is av

2017-12-20 Thread 刘歧
> On 21 Dec 2017, at 10:39, Colin NG wrote: > > --- > libavformat/dashdec.c | 116 -- > 1 file changed, 103 insertions(+), 13 deletions(-) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index 3798649..cdb9f67 100644 > --- a/libavf

[FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault) - Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is availa

2017-12-20 Thread Colin NG
--- libavformat/dashdec.c | 116 -- 1 file changed, 103 insertions(+), 13 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 3798649..cdb9f67 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -148,6 +148,11

Re: [FFmpeg-devel] [PATCH] avformat/http: allow content range to set filesize

2017-12-20 Thread Aman Gupta
On Tue, Jan 31, 2017 at 2:26 AM, Philip de Nier wrote: > On 09/12/2016 11:54, PHILIP DE NIER wrote: > > Hi, > > Attached patch fixes issue #6007 for me. > > I think it could improved / extended because the "if (s->seekable == > > -1 && (!s->is_akamai || s->content_range_len != 2147483647))" is >

Re: [FFmpeg-devel] [PATCH] avformat/http: handle "content-range: -/*" responses

2017-12-20 Thread Aman Gupta
On Wed, Dec 13, 2017 at 11:11 AM, Aman Gupta wrote: > From: Aman Gupta > > The HTTP spec for the Content-Range response header specifies > that '*' may be used when the total size of the document is unknown. > > Practically speaking, this can be used by a webserver to indicate > that the underly

Re: [FFmpeg-devel] [PATCH 08/10] sbcenc: add MMX optimizations

2017-12-20 Thread James Almer
On 12/20/2017 4:58 PM, Aurelien Jacobs wrote: > +;*** > +;void ff_sbc_calc_scalefactors(int32_t sb_sample_f[16][2][8], > +; uint32_t scale_factor[2][8], > +; int blocks, int cha

Re: [FFmpeg-devel] [PATCH 01/10] crc: add AV_CRC_8_SBC as a 8 bits CRC with polynomial 0x1D

2017-12-20 Thread Michael Niedermayer
On Wed, Dec 20, 2017 at 08:58:05PM +0100, Aurelien Jacobs wrote: > --- > libavutil/crc.c | 26 ++ > libavutil/crc.h | 1 + > libavutil/tests/crc.c | 7 --- > 3 files changed, 31 insertions(+), 3 deletions(-) This needs a update for tests/ref/fate/crc [.

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-20 Thread wm4
On Wed, 20 Dec 2017 15:10:43 -0800 Jacob Trimble wrote: > From 1508d19e9f7acf43d76010ce54d59ff204613601 Mon Sep 17 00:00:00 2001 > From: Jacob Trimble > Date: Tue, 5 Dec 2017 14:52:22 -0800 > Subject: [PATCH] avcodec/avcodec.h: Add encryption info side data. > > This new side-data will contain

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-20 Thread Jacob Trimble
On Wed, Dec 20, 2017 at 12:23 PM, wm4 wrote: > On Wed, 20 Dec 2017 12:07:09 -0800 > Jacob Trimble wrote: > >> On Tue, Dec 19, 2017 at 3:05 PM, wm4 wrote: >> > On Tue, 19 Dec 2017 14:20:38 -0800 >> > Jacob Trimble wrote: >> > >> >> > I don't think this is sane. So far, side data could simply be

Re: [FFmpeg-devel] [PATCH 6/8] sbcenc: add MMX optimizations

2017-12-20 Thread Ronald S. Bultje
Hi, On Wed, Dec 20, 2017 at 4:58 PM, James Almer wrote: > On 12/17/2017 6:47 PM, Aurelien Jacobs wrote: > > +;*** > > +;void ff_sbc_calc_scalefactors(int32_t sb_sample_f[16][2][8], > > +; uint32_t scale_

Re: [FFmpeg-devel] [PATCH 6/8] sbcenc: add MMX optimizations

2017-12-20 Thread James Almer
On 12/17/2017 6:47 PM, Aurelien Jacobs wrote: > This was originally based on libsbc, and was fully integrated into ffmpeg. > --- > libavcodec/sbcdsp.c | 3 + > libavcodec/sbcdsp.h | 2 + > libavcodec/x86/Makefile | 2 + > libavcodec/x86/sbcdsp.asm| 284 > +

Re: [FFmpeg-devel] [PATCH 6/8] sbcenc: add MMX optimizations

2017-12-20 Thread James Almer
On 12/20/2017 5:06 PM, Aurelien Jacobs wrote: > On Wed, Dec 20, 2017 at 03:47:35PM -0300, James Almer wrote: >> On 12/17/2017 6:47 PM, Aurelien Jacobs wrote: >>> This was originally based on libsbc, and was fully integrated into ffmpeg. >>> --- >>> libavcodec/sbcdsp.c | 3 + >>> libavco

Re: [FFmpeg-devel] [PATCH v3 2/2] libavcodec/hevcdec: implement skip_frame

2017-12-20 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 07:56:13PM +, Stefan _ wrote: > On 07.12.2017 at 17:41 Michael Niedermayer wrote: > > The move and the functional change should be in seperate patches > > that keeps changes easy to read and understand > > > > [...] > > > hevcdec.c | 16 +++- > 1 file c

Re: [FFmpeg-devel] [PATCH] Add android_capture indev

2017-12-20 Thread Michael Niedermayer
On Fri, Dec 08, 2017 at 10:49:56AM +0100, Felix Matouschek wrote: [...] > +static int open_camera(AVFormatContext *avctx) > +{ > +AndroidCameraCtx *ctx = avctx->priv_data; > +camera_status_t ret; > +ACameraIdList *camera_ids; > + > +ret = ACameraManager_getCameraIdList(ctx->camera_m

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-20 Thread wm4
On Wed, 20 Dec 2017 12:07:09 -0800 Jacob Trimble wrote: > On Tue, Dec 19, 2017 at 3:05 PM, wm4 wrote: > > On Tue, 19 Dec 2017 14:20:38 -0800 > > Jacob Trimble wrote: > > > >> > I don't think this is sane. So far, side data could simply be copied > >> > with memcpy, and having pointers to non-st

Re: [FFmpeg-devel] [PATCH 6/8] sbcenc: add MMX optimizations

2017-12-20 Thread Aurelien Jacobs
On Wed, Dec 20, 2017 at 03:47:35PM -0300, James Almer wrote: > On 12/17/2017 6:47 PM, Aurelien Jacobs wrote: > > This was originally based on libsbc, and was fully integrated into ffmpeg. > > --- > > libavcodec/sbcdsp.c | 3 + > > libavcodec/sbcdsp.h | 2 + > > libavcodec/x86

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-20 Thread Jacob Trimble
On Tue, Dec 19, 2017 at 3:05 PM, wm4 wrote: > On Tue, 19 Dec 2017 14:20:38 -0800 > Jacob Trimble wrote: > >> > I don't think this is sane. So far, side data could simply be copied >> > with memcpy, and having pointers to non-static data in side data would >> > break this completely >> >> Then how

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-12-20 Thread Michael Niedermayer
On Mon, Dec 18, 2017 at 03:31:16PM -0800, Sasi Inguva wrote: > Signed-off-by: Sasi Inguva > --- > libavformat/mov.c| 56 > > tests/fate/mov.mak | 7 + > tests/ref/fate/mov-guess-delay-1 | 3 +++ > tests/ref/fate/mov-gue

[FFmpeg-devel] [PATCH 10/10] Changelog: list the new SBC codec

2017-12-20 Thread Aurelien Jacobs
--- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index ee48876128..4a98884a3c 100644 --- a/Changelog +++ b/Changelog @@ -27,6 +27,7 @@ version : - video setrange filter - nsp demuxer - support LibreSSL (via libtls) +- native SBC and mSBC encoder and decode

[FFmpeg-devel] [PATCH 09/10] sbcenc: add armv6 and neon asm optimizations

2017-12-20 Thread Aurelien Jacobs
This was originally based on libsbc, and was fully integrated into ffmpeg. --- libavcodec/arm/Makefile | 3 + libavcodec/arm/sbcdsp_armv6.S| 245 ++ libavcodec/arm/sbcdsp_init_arm.c | 105 ++ libavcodec/arm/sbcdsp_neon.S | 714

[FFmpeg-devel] [PATCH 08/10] sbcenc: add MMX optimizations

2017-12-20 Thread Aurelien Jacobs
This was originally based on libsbc, and was fully integrated into ffmpeg. Rough speed test: C version:speed= 592x MMX version: speed= 785x --- libavcodec/sbcdsp.c | 3 + libavcodec/sbcdsp.h | 2 + libavcodec/x86/Makefile | 2 + libavcodec/x86/sbcdsp.asm| 284

[FFmpeg-devel] [PATCH 07/10] sbc: add raw muxer for SBC

2017-12-20 Thread Aurelien Jacobs
--- doc/general.texi | 2 +- libavformat/Makefile | 2 ++ libavformat/allformats.c | 4 ++-- libavformat/rawenc.c | 28 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index e5669b0e93..560465a4b8 1

[FFmpeg-devel] [PATCH 06/10] sbc: implement SBC encoder (low-complexity subband codec)

2017-12-20 Thread Aurelien Jacobs
This was originally based on libsbc, and was fully integrated into ffmpeg. --- doc/general.texi | 2 +- libavcodec/Makefile | 2 + libavcodec/allcodecs.c | 4 +- libavcodec/sbcdsp.c | 382 libavcodec/sbcdsp.h | 83 +

[FFmpeg-devel] [PATCH 05/10] sbc: add raw demuxer for SBC

2017-12-20 Thread Aurelien Jacobs
--- doc/general.texi | 1 + libavformat/Makefile | 2 ++ libavformat/allformats.c | 2 ++ libavformat/rawdec.c | 24 4 files changed, 29 insertions(+) diff --git a/doc/general.texi b/doc/general.texi index ed137f999f..65aee47f2a 100644 --- a/doc/general

[FFmpeg-devel] [PATCH 04/10] sbc: add parser for SBC

2017-12-20 Thread Aurelien Jacobs
--- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/sbc_parser.c | 124 3 files changed, 126 insertions(+) create mode 100644 libavcodec/sbc_parser.c diff --git a/libavcodec/Makefile b/libavcodec/Makefile index c46d102

[FFmpeg-devel] [PATCH 03/10] sbc: implement SBC decoder (low-complexity subband codec)

2017-12-20 Thread Aurelien Jacobs
This was originally based on libsbc, and was fully integrated into ffmpeg. --- doc/general.texi | 2 + libavcodec/Makefile | 2 + libavcodec/allcodecs.c | 2 + libavcodec/avcodec.h | 2 + libavcodec/codec_desc.c | 14 ++ libavcodec/sbc.c | 257 +

[FFmpeg-devel] [PATCH 02/10] crc: add av_crc_bits() to compute CRC on block with bit boundary

2017-12-20 Thread Aurelien Jacobs
--- libavutil/crc.c | 20 libavutil/crc.h | 12 2 files changed, 32 insertions(+) diff --git a/libavutil/crc.c b/libavutil/crc.c index 8e44a76ec8..cb26a09a20 100644 --- a/libavutil/crc.c +++ b/libavutil/crc.c @@ -413,3 +413,23 @@ uint32_t av_crc(const AVCRC *ctx,

[FFmpeg-devel] [PATCH 01/10] crc: add AV_CRC_8_SBC as a 8 bits CRC with polynomial 0x1D

2017-12-20 Thread Aurelien Jacobs
--- libavutil/crc.c | 26 ++ libavutil/crc.h | 1 + libavutil/tests/crc.c | 7 --- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/libavutil/crc.c b/libavutil/crc.c index d44550c9c0..8e44a76ec8 100644 --- a/libavutil/crc.c +++ b/libavutil/c

Re: [FFmpeg-devel] [PATCH v2 3/5] avformat/hls: add http_persistent option

2017-12-20 Thread Aman Gupta
On Sun, Dec 17, 2017 at 1:13 PM, Anssi Hannula wrote: > Aman Gupta kirjoitti 2017-12-17 22:41: > >> On Sun, Dec 17, 2017 at 12:34 PM Anssi Hannula >> wrote: >> >> Hi! >>> >>> Aman Gupta kirjoitti 2017-12-13 02:35: >>> > From: Aman Gupta >>> > >>> > This teaches the HLS demuxer to use the HTTP p

Re: [FFmpeg-devel] [PATCH 6/8] sbcenc: add MMX optimizations

2017-12-20 Thread James Almer
On 12/17/2017 6:47 PM, Aurelien Jacobs wrote: > This was originally based on libsbc, and was fully integrated into ffmpeg. > --- > libavcodec/sbcdsp.c | 3 + > libavcodec/sbcdsp.h | 2 + > libavcodec/x86/Makefile | 2 + > libavcodec/x86/sbcdsp.asm| 284 > +

Re: [FFmpeg-devel] [PATCH 2/2] vf_zscale: Add more supported input properties

2017-12-20 Thread James Almer
On 12/20/2017 5:54 AM, Paul B Mahol wrote: > On 12/20/17, James Almer wrote: >> On 11/28/2017 3:57 PM, Vittorio Giovara wrote: >>> Signed-off-by: Vittorio Giovara >>> --- >>> This version should be more complete. >>> Regarding configure changes, this library is not packaged by any >>> distributio

Re: [FFmpeg-devel] [PATCH 1/8] sbc: implement SBC decoder (low-complexity subband codec)

2017-12-20 Thread Aurelien Jacobs
On Mon, Dec 18, 2017 at 01:05:39AM +, Rostislav Pehlivanov wrote: > On 17 December 2017 at 21:47, Aurelien Jacobs wrote: > > > This was originally based on libsbc, and was fully integrated into ffmpeg. > > --- > > doc/general.texi | 2 + > > libavcodec/Makefile | 2 + > > li

Re: [FFmpeg-devel] [PATCH 4/8] sbc: implement SBC encoder (low-complexity subband codec)

2017-12-20 Thread Aurelien Jacobs
On Mon, Dec 18, 2017 at 12:45:12PM +0100, Michael Niedermayer wrote: > On Sun, Dec 17, 2017 at 10:47:16PM +0100, Aurelien Jacobs wrote: > > This was originally based on libsbc, and was fully integrated into ffmpeg. > > --- > [...] > > +static inline void sbc_analyze_4b_4s_simd(SBCDSPContext *s, > >

[FFmpeg-devel] [PATCH] avfilter: add vfrdet filter

2017-12-20 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 11 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_vfrdet.c | 111 +++ 4 files changed, 124 insertions(+) create mode 100644 libavfilter/vf_vfrdet.c

Re: [FFmpeg-devel] [PATCH 2/2] vf_zscale: Add more supported input properties

2017-12-20 Thread Paul B Mahol
On 12/20/17, James Almer wrote: > On 11/28/2017 3:57 PM, Vittorio Giovara wrote: >> Signed-off-by: Vittorio Giovara >> --- >> This version should be more complete. >> Regarding configure changes, this library is not packaged by any >> distribution >> that I could find, so users will just need to