Re: [FFmpeg-devel] [PATCH v2 2/4] avformat/hls: respect http_persistent only for http playlist urls

2017-12-25 Thread Aman Gupta
On Mon, Dec 25, 2017 at 9:28 PM wm4 wrote: > On Mon, 25 Dec 2017 21:22:59 -0800 > Aman Gupta wrote: > > > From: Aman Gupta > > > > Fixes a segfault when reading a live playlist (without end tag) from > non-http url (like a file on disk). >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread wm4
On Tue, 26 Dec 2017 05:26:34 + Aman Gupta wrote: > On Mon, Dec 25, 2017 at 7:55 PM Aman Gupta wrote: > > > On Mon, Dec 25, 2017 at 6:29 PM wm4 wrote: > > > >> On Tue, 26 Dec 2017 02:14:11 + > >> Aman Gupta

[FFmpeg-devel] [PATCH v2 3/4] avformat/http: export http_version from response

2017-12-25 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavformat/http.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 213b6bb245..a376f1a488 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -74,6

Re: [FFmpeg-devel] [PATCH v2 2/4] avformat/hls: respect http_persistent only for http playlist urls

2017-12-25 Thread wm4
On Mon, 25 Dec 2017 21:22:59 -0800 Aman Gupta wrote: > From: Aman Gupta > > Fixes a segfault when reading a live playlist (without end tag) from non-http > url (like a file on disk). > > Signed-off-by: Aman Gupta > --- > libavformat/hls.c | 5

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Aman Gupta
On Mon, Dec 25, 2017 at 7:55 PM Aman Gupta wrote: > On Mon, Dec 25, 2017 at 6:29 PM wm4 wrote: > >> On Tue, 26 Dec 2017 02:14:11 + >> Aman Gupta wrote: >> >> > On Mon, Dec 25, 2017 at 1:03 PM Michael Niedermayer >>

[FFmpeg-devel] [PATCH v2 2/4] avformat/hls: respect http_persistent only for http playlist urls

2017-12-25 Thread Aman Gupta
From: Aman Gupta Fixes a segfault when reading a live playlist (without end tag) from non-http url (like a file on disk). Signed-off-by: Aman Gupta --- libavformat/hls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/hls.c

[FFmpeg-devel] [PATCH v2 4/4] avformat/hls: enable http_multiple only for http/1.1 servers

2017-12-25 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- doc/demuxers.texi | 2 +- libavformat/hls.c | 13 ++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 81ab399cdc..6080167233 100644 ---

[FFmpeg-devel] [PATCH v2 1/4] avformat/http: avoid ff_http_do_new_request after http/1.0 response

2017-12-25 Thread Aman Gupta
From: Aman Gupta This makes do_new_request fail early when dealing with a http/1.0 server, avoiding unnecessary warnings shown to the user. Signed-off-by: Aman Gupta --- libavformat/http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/http.c

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Aman Gupta
On Mon, Dec 25, 2017 at 6:29 PM wm4 wrote: > On Tue, 26 Dec 2017 02:14:11 + > Aman Gupta wrote: > > > On Mon, Dec 25, 2017 at 1:03 PM Michael Niedermayer > > > wrote: > > > > > On Mon, Dec 25, 2017 at 06:08:11PM +, Aman

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread wm4
On Tue, 26 Dec 2017 02:14:11 + Aman Gupta wrote: > On Mon, Dec 25, 2017 at 1:03 PM Michael Niedermayer > wrote: > > > On Mon, Dec 25, 2017 at 06:08:11PM +, Aman Gupta wrote: > > > On Mon, Dec 25, 2017 at 9:58 AM Michael Niedermayer > >

Re: [FFmpeg-devel] [PATCH 2/6] mpeg: add experimental support for PSMF audio.

2017-12-25 Thread Misty De Meo
On Tue, Dec 26, 2017 at 8:42 AM, Michael Niedermayer wrote: > returning errors from the parse function will cause assertion failure at: > > Assertion index > -0x2000 failed at libavcodec/parser.c:185 > > [...] What would be the preferred way to handle that?

Re: [FFmpeg-devel] [PATCH 2/6] mpeg: add experimental support for PSMF audio.

2017-12-25 Thread Misty De Meo
On Tue, Dec 26, 2017 at 8:39 AM, Michael Niedermayer wrote: > This fails to build without the next patch I originally left this patch alone since it was another person's commit; I can squash the fixes for that into this commit if you prefer, though.

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Aman Gupta
On Mon, Dec 25, 2017 at 1:03 PM Michael Niedermayer wrote: > On Mon, Dec 25, 2017 at 06:08:11PM +, Aman Gupta wrote: > > On Mon, Dec 25, 2017 at 9:58 AM Michael Niedermayer > > > wrote: > > > > > On Fri, Dec 22, 2017 at 11:00:34PM +, Aman

Re: [FFmpeg-devel] [PATCH] h264: add AVOption to set x264_build default

2017-12-25 Thread wm4
On Sat, 23 Dec 2017 03:14:49 +0100 wm4 wrote: > This provides a generic way to the API user to deal with files that > either lack this SEI, or which have the SEI only in packets not passed > to the decoder (such as the common case of the SEI being in the very > firsat

Re: [FFmpeg-devel] [PATCH v3 1/5] w32pthreads: always use Vista+ API, drop XP support

2017-12-25 Thread wm4
On Sun, 24 Dec 2017 00:51:16 +0100 wm4 wrote: > This removes the XP compatibility code, and switches entirely to SWR > locks, which are available starting at Windows Vista. > > This removes CRITICAL_SECTION use, which allows us to add > PTHREAD_MUTEX_INITIALIZER, which

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Michael Niedermayer
On Fri, Dec 22, 2017 at 11:00:34PM +, Aman Gupta wrote: > ffmpeg | branch: master | Aman Gupta | Wed Oct 4 14:52:52 > 2017 -0700| [b7d6c0cd48dac7869b9e6803e2d47d05a4fa373b] | committer: Aman Gupta > > avformat/hls: add http_persistent option > > This teaches the HLS demuxer

[FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2017-12-25 Thread Colin NG
- Add function 'resolve_content_path' to propagate the baseURL from upper level nodes. * if no baseURL is available, the path of mpd file will be set as the baseURL. - Remove checking for newly established connection. - Establish the communication protocol in each connection rather than applying

[FFmpeg-devel] [PATCH 2/2] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread James Almer
x264 now supports multibitdepth builds, with a slightly changed API to request bitdepth during initialization. Signed-off-by: James Almer --- libx264 can still be compiled with only 8 or 10 bit format support even after the multibitdepth change, so take that into

Re: [FFmpeg-devel] [PATCH 2/6] mpeg: add experimental support for PSMF audio.

2017-12-25 Thread Michael Niedermayer
On Mon, Dec 25, 2017 at 10:28:30AM +0800, mi...@brew.sh wrote: > From: Maxim Poliakovski > > --- > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/atrac3plus_parser.c | 153 > +

Re: [FFmpeg-devel] [PATCH 2/6] mpeg: add experimental support for PSMF audio.

2017-12-25 Thread Michael Niedermayer
On Mon, Dec 25, 2017 at 10:28:30AM +0800, mi...@brew.sh wrote: > From: Maxim Poliakovski > > --- > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/atrac3plus_parser.c | 153 > +

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread James Almer
On 12/25/2017 8:53 PM, wm4 wrote: > On Mon, 25 Dec 2017 19:52:57 -0300 > James Almer wrote: > >> x264 now supports multibitdepth builds, with a slightly changed API to >> request bitdepth during initialization. >> >> Signed-off-by: James Almer >> --- >>

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread wm4
On Mon, 25 Dec 2017 19:52:57 -0300 James Almer wrote: > x264 now supports multibitdepth builds, with a slightly changed API to > request bitdepth during initialization. > > Signed-off-by: James Almer > --- > libavcodec/libx264.c | 45

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix compiling error

2017-12-25 Thread wm4
On Mon, 25 Dec 2017 17:21:23 + Aman Gupta wrote: > On Sun, Dec 24, 2017 at 7:48 PM Steven Liu wrote: > > > fix --disable-network compipling error > > > > Signed-off-by: Steven Liu > > --- > > libavformat/hls.c | 4 +++- > > 1

[FFmpeg-devel] [PATCH 2/2 v2] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread James Almer
x264 now supports multibitdepth builds, with a slightly changed API to request bitdepth during initialization. Signed-off-by: James Almer --- This one is a bit cleaner. I can push whichever is prefered. libavcodec/libx264.c | 26 ++ 1 file changed, 26

Re: [FFmpeg-devel] [PATCH 6/6] psmf: add FATE tests

2017-12-25 Thread Rostislav Pehlivanov
On 25 December 2017 at 23:27, Michael Niedermayer wrote: > On Mon, Dec 25, 2017 at 10:28:34AM +0800, mi...@brew.sh wrote: > > From: Misty De Meo > > > > --- > > tests/Makefile | 1 + > > tests/fate/psmf.mak | 23 +++ > > 2

Re: [FFmpeg-devel] [PATCH 6/6] psmf: add FATE tests

2017-12-25 Thread Michael Niedermayer
On Mon, Dec 25, 2017 at 10:28:34AM +0800, mi...@brew.sh wrote: > From: Misty De Meo > > --- > tests/Makefile | 1 + > tests/fate/psmf.mak | 23 +++ > 2 files changed, 24 insertions(+) > create mode 100644 tests/fate/psmf.mak > > diff --git

[FFmpeg-devel] [PATCH 2/2] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread James Almer
x264 now supports multibitdepth builds, with a slightly changed API to request bitdepth during initialization. Signed-off-by: James Almer --- libavcodec/libx264.c | 45 + 1 file changed, 37 insertions(+), 8 deletions(-) diff --git

[FFmpeg-devel] [PATCH 1/2] avcodec/libx264: use the pixfmt descriptor to check for high bit depths

2017-12-25 Thread James Almer
The x264_bit_depth constant has been removed in newer x264 builds. Signed-off-by: James Almer --- libavcodec/libx264.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index e2455e18de..2d36c5e566 100644 ---

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread Derek Buitenhuis
On 12/25/2017 9:22 PM, James Almer wrote: > Want me to change it in a separate commit? Sure. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread James Almer
On 12/25/2017 6:10 PM, Derek Buitenhuis wrote: > On 12/25/2017 8:58 PM, James Almer wrote: >> @@ -272,6 +272,7 @@ static int X264_frame(AVCodecContext *ctx, AVPacket >> *pkt, const AVFrame *frame, >>int *got_packet) >> { >> X264Context *x4 = ctx->priv_data; >> +

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread Derek Buitenhuis
On 12/25/2017 8:58 PM, James Almer wrote: > @@ -272,6 +272,7 @@ static int X264_frame(AVCodecContext *ctx, AVPacket *pkt, > const AVFrame *frame, >int *got_packet) > { > X264Context *x4 = ctx->priv_data; > +const av_unused AVPixFmtDescriptor *desc = >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Michael Niedermayer
On Mon, Dec 25, 2017 at 06:08:11PM +, Aman Gupta wrote: > On Mon, Dec 25, 2017 at 9:58 AM Michael Niedermayer > wrote: > > > On Fri, Dec 22, 2017 at 11:00:34PM +, Aman Gupta wrote: > > > ffmpeg | branch: master | Aman Gupta | Wed Oct 4 > >

[FFmpeg-devel] [PATCH] avcodec/libx264: fix compilation with x264 builds >= 153

2017-12-25 Thread James Almer
x264 now supports multibitdepth builds, with a slightly changed API to request bitdepth during initialization. Signed-off-by: James Almer --- libavcodec/libx264.c | 49 - 1 file changed, 40 insertions(+), 9 deletions(-) diff

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

2017-12-25 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 22 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_convolve.c | 99 ++- 4 files changed, 113 insertions(+), 10 deletions(-)

[FFmpeg-devel] [PATCH 2/3] avformat/hls: return AVERROR_PROTOCOL_NOT_FOUND when http protocol is not available

2017-12-25 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavformat/hls.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index f00e22dfef..73bf55b791 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -611,6 +611,9 @@

[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: return AVERROR_PROTOCOL_NOT_FOUND when http protocol is not available

2017-12-25 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 74f66ce6bd..f636db0144 100644 --- a/libavformat/hlsenc.c +++

[FFmpeg-devel] [PATCH 3/3] avformat/http: fix ff_http_do_new_request hanging after http/1.0 response

2017-12-25 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavformat/http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index c15ca522c4..40dac1120c 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -917,6 +917,8

Re: [FFmpeg-devel] [PATCH 3/3] Don't complain about codec2's 700 bit/s modes in ffmpeg.c

2017-12-25 Thread Michael Niedermayer
On Sat, Dec 23, 2017 at 11:15:56PM +0100, Tomas Härdin wrote: > > ffmpeg.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > 68440596af0b5c26d6123f5ee964414ce9e2f48f > 0003-Don-t-complain-about-codec2-s-700-bit-s-modes-in-ffm.patch > From 8bd1d9981484c9b4964f3fdfd542951a02f5a01d

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_framerate: calculate interpolation as integer

2017-12-25 Thread Michael Niedermayer
On Sat, Dec 23, 2017 at 11:17:38PM +0100, Marton Balint wrote: > It was truncated to int later on anyway. Fate test changes are due to rounding > instead of truncation. > > Signed-off-by: Marton Balint > --- > libavfilter/vf_framerate.c | 22 +--- >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Aman Gupta
On Mon, Dec 25, 2017 at 9:58 AM Michael Niedermayer wrote: > On Fri, Dec 22, 2017 at 11:00:34PM +, Aman Gupta wrote: > > ffmpeg | branch: master | Aman Gupta | Wed Oct 4 > 14:52:52 2017 -0700| [b7d6c0cd48dac7869b9e6803e2d47d05a4fa373b] | > committer:

[FFmpeg-devel] [PATCH] lavr: deprecate the entire library

2017-12-25 Thread Rostislav Pehlivanov
Deprecate the entire library. Merged years ago to provide compatibility with Libav, it remained unmaintained by the FFmpeg project and duplicated functionality provided by libswresample. In order to improve consistency and reduce attack surface, as well as to ease burden on maintainers, it has

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hls: add http_persistent option

2017-12-25 Thread Michael Niedermayer
On Fri, Dec 22, 2017 at 11:00:34PM +, Aman Gupta wrote: > ffmpeg | branch: master | Aman Gupta | Wed Oct 4 14:52:52 > 2017 -0700| [b7d6c0cd48dac7869b9e6803e2d47d05a4fa373b] | committer: Aman Gupta > > avformat/hls: add http_persistent option > > This teaches the HLS demuxer

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix compiling error

2017-12-25 Thread Aman Gupta
On Sun, Dec 24, 2017 at 7:48 PM Steven Liu wrote: > fix --disable-network compipling error > > Signed-off-by: Steven Liu > --- > libavformat/hls.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavformat/hls.c

Re: [FFmpeg-devel] [PATCH] lavr: deprecate the entire library

2017-12-25 Thread Clément Bœsch
On Mon, Dec 25, 2017 at 11:57:31AM +, Rostislav Pehlivanov wrote: [...] > > What you call "dead project" did basically all of the hardware > > transcoding improvements that were merged into ffmpeg. How very > > insincere of you. > > > > Didn't mean dead as an offense, just as an honest fact.

Re: [FFmpeg-devel] [PATCH 6/9] sbc: add raw muxer for SBC

2017-12-25 Thread Rostislav Pehlivanov
On 23 December 2017 at 18:01, Aurelien Jacobs wrote: > --- > doc/general.texi | 2 +- > libavformat/Makefile | 2 ++ > libavformat/allformats.c | 4 ++-- > libavformat/rawenc.c | 28 > 4 files changed, 33 insertions(+), 3

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

2017-12-25 Thread Rostislav Pehlivanov
On 23 December 2017 at 20:38, Aurelien Jacobs wrote: > On Sat, Dec 23, 2017 at 04:32:26PM -0300, James Almer wrote: > > On 12/23/2017 3:01 PM, Aurelien Jacobs wrote: > > > --- > > > libavutil/crc.c | 26 ++ > > > libavutil/crc.h | 1 + > > >

Re: [FFmpeg-devel] a little bug

2017-12-25 Thread Moritz Barsnick
On Thu, Dec 21, 2017 at 18:52:49 +0800, Lenge wrote: > Hi all, > I compile ffmpeg for android, some bugs as below: Could you kindly report these issues on trac? Bug reports don't really get attention here. > I change it as below, compile ok. > +#undef B0 > > > -

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-25 Thread Moritz Barsnick
On Sat, Dec 23, 2017 at 21:47:05 +, Colin NG wrote: > Subject: [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 available, the path

Re: [FFmpeg-devel] [PATCH] lavr: deprecate the entire library

2017-12-25 Thread Rostislav Pehlivanov
On 25 December 2017 at 11:03, wm4 wrote: > On Mon, 25 Dec 2017 10:44:40 + > Rostislav Pehlivanov wrote: > > > On 25 December 2017 at 06:50, wm4 wrote: > > > > > On Mon, 25 Dec 2017 02:12:38 + > > > Rostislav Pehlivanov

Re: [FFmpeg-devel] [PATCH] lavr: deprecate the entire library

2017-12-25 Thread wm4
On Mon, 25 Dec 2017 10:44:40 + Rostislav Pehlivanov wrote: > On 25 December 2017 at 06:50, wm4 wrote: > > > On Mon, 25 Dec 2017 02:12:38 + > > Rostislav Pehlivanov wrote: > > > > > Signed-off-by: Rostislav Pehlivanov

Re: [FFmpeg-devel] [PATCH] lavr: deprecate the entire library

2017-12-25 Thread Rostislav Pehlivanov
On 25 December 2017 at 06:50, wm4 wrote: > On Mon, 25 Dec 2017 02:12:38 + > Rostislav Pehlivanov wrote: > > > Signed-off-by: Rostislav Pehlivanov > > --- > > doc/APIchanges | 5 + > >