[FFmpeg-devel] [PATCH v2] fate: add api-h264-slice test

2018-09-27 Thread joshdk
From: Josh de Kock This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously --- Tested 32bit with --arch=x86_32 tests/api/Makefile | 1 + tests/api/api-h264-slice-test.c | 212 ++ tests/fate/api

Re: [FFmpeg-devel] [PATCH] avformat/hls.c:If custom IO is used, Don`t keepalive.

2018-09-27 Thread He Lei
The URLContext of the aviocontext is null when custom IO is used, If keepalive, that will cause the assertion to fail 592 static int open_url_keepalive(AVFormatContext *s, AVIOContext **pb, 593 const char *url) 594 { 595 #if !CONFIG_HTTP_PROTOCOL 596 return

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: Add option to align Capture start time

2018-09-27 Thread Jeyapal, Karthick
On 9/27/18 2:44 AM, Marton Balint wrote: > > > On Tue, 25 Sep 2018, Jeyapal, Karthick wrote: > >> >> On 9/24/18 7:42 PM, Devin Heitmueller wrote: >>> Hello Karthick, >>> >>> On Sep 24, 2018, at 7:49 AM, Karthick J wrote: From: Karthick Jeyapal This option is useful for m

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: Add option to align Capture start time

2018-09-27 Thread Devin Heitmueller
Hi Karthick, >> >> Another approch might be to store the wallclock frame time as some kind of >> metadata (as it is done for "timecode") and then add the possiblity to >> f_select to drop based on this. However the evaluation engine has no concept >> of complex objects (like frame, or frame m

Re: [FFmpeg-devel] [PATCH 2/9] avcodec/gdv: Replace divisions by shifts in rescale()

2018-09-27 Thread Michael Niedermayer
On Wed, Sep 26, 2018 at 05:06:46PM +0200, Nicolas George wrote: > Michael Niedermayer (2018-09-24): > > CC-ing you so you dont miss this (though its not important) > > > > if i hear nothing from anyone i will apply the patchset as is. > > IIUC james is ok with that. > > But as said i can redo it

Re: [FFmpeg-devel] [PATCH] avformat/hls.c:If custom IO is used, Don`t keepalive.

2018-09-27 Thread Michael Niedermayer
On Thu, Sep 27, 2018 at 11:01:15AM +, He Lei wrote: > The URLContext of the aviocontext is null when custom IO is used, If > keepalive, that will cause the assertion to fail > > 592 static int open_url_keepalive(AVFormatContext *s, AVIOContext **pb, > 593 cons

Re: [FFmpeg-devel] [PATCH 4/4] lavc/h265_profile_level: Add unit test

2018-09-27 Thread Michael Niedermayer
On Thu, Sep 27, 2018 at 12:17:07AM +0100, Mark Thompson wrote: > Operates in the same way as the h264-levels test. > --- > libavcodec/Makefile| 1 + > libavcodec/tests/h265_levels.c | 297 + > tests/fate/libavcodec.mak | 5 + > 3 files changed,

[FFmpeg-devel] [PATCH] avformat: add H264 and HEVC support in IVF muxer

2018-09-27 Thread alx . sukhanov
From: Alex Sukhanov --- libavformat/ivfenc.c | 37 - 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c index 66441a2a43..9ff7894b88 100644 --- a/libavformat/ivfenc.c +++ b/libavformat/ivfenc.c @@ -38,17

Re: [FFmpeg-devel] [PATCH] avformat: add H264 and HEVC support in IVF muxer

2018-09-27 Thread Jan Ekström
On Thu, Sep 27, 2018 at 10:18 PM, wrote: > From: Alex Sukhanov > > --- > libavformat/ivfenc.c | 37 - > 1 file changed, 32 insertions(+), 5 deletions(-) > > diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c > index 66441a2a43..9ff7894b88 100644 > --- a

Re: [FFmpeg-devel] [PATCH] avformat: add H264 and HEVC support in IVF muxer

2018-09-27 Thread Carl Eugen Hoyos
2018-09-27 22:16 GMT+02:00, Jan Ekström : > On Thu, Sep 27, 2018 at 10:18 PM, wrote: >> From: Alex Sukhanov >> >> --- >> libavformat/ivfenc.c | 37 - >> 1 file changed, 32 insertions(+), 5 deletions(-) >> >> diff --git a/libavformat/ivfenc.c b/libavformat/ivf

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: Add option to align Capture start time

2018-09-27 Thread Marton Balint
On Mon, 24 Sep 2018, Karthick J wrote: From: Karthick Jeyapal This option is useful for maintaining input synchronization across N different hardware devices deployed for 'N-way' redundancy. The system time of different hardware devices should be synchronized with protocols such as NTP or PT

Re: [FFmpeg-devel] [PATCH v2] fate: add api-h264-slice test

2018-09-27 Thread Michael Niedermayer
On Thu, Sep 27, 2018 at 11:30:14AM +0100, jos...@ob-encoder.com wrote: > From: Josh de Kock > > This test ensures that you are able to send N number of slice NALUs in slice > threaded mode to be decoded simultaneously > --- > > Tested 32bit with --arch=x86_32 this code still doesnt work, and

Re: [FFmpeg-devel] [PATCH]lavf/mpeg: Allow demuxing hevc

2018-09-27 Thread Carl Eugen Hoyos
2018-09-26 23:18 GMT+02:00, Jan Ekström : > On Wed, Sep 26, 2018 at 11:46 PM, Carl Eugen Hoyos > wrote: >> Hi! >> >> A HandBrake user provided a program stream with hevc, attached >> patch allows demuxing without auto-detection. >> >> Please comment, Carl Eugen >> > > Verified that the identifier

Re: [FFmpeg-devel] [PATCH v2] fate: add api-h264-slice test

2018-09-27 Thread Carl Eugen Hoyos
2018-09-27 23:45 GMT+02:00, Michael Niedermayer : > what i use is: > (with gcc) --arch=x86_32 --target-os=linux --extra-cflags=-m32 > --extra-ldflags=-m32 --enable-cross-compile I consider the following much simpler (and I believe --enable-cross-compile disables some tests): $ ./configure --cc='

Re: [FFmpeg-devel] [PATCH v2] fate: add api-h264-slice test

2018-09-27 Thread Michael Niedermayer
On Thu, Sep 27, 2018 at 11:56:25PM +0200, Carl Eugen Hoyos wrote: > 2018-09-27 23:45 GMT+02:00, Michael Niedermayer : > > > what i use is: > > (with gcc) --arch=x86_32 --target-os=linux --extra-cflags=-m32 > > --extra-ldflags=-m32 --enable-cross-compile > > I consider the following much simpler

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/bintext: Check input size before allocating the input image

2018-09-27 Thread Michael Niedermayer
On Wed, Sep 12, 2018 at 03:08:06AM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 9795/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XBIN_fuzzer-5768631928487936 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/bintext: Use ff_get_buffer instead of ff_reget_buffer and simplify

2018-09-27 Thread Michael Niedermayer
On Wed, Sep 12, 2018 at 03:08:07AM +0200, Michael Niedermayer wrote: > reget seems unneeded and it is slower > > Signed-off-by: Michael Niedermayer > --- > libavcodec/bintext.c | 22 ++ > 1 file changed, 2 insertions(+), 20 deletions(-) will apply [...] -- Michael GnuP

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/diracdec: Propagate errors from codeblock()

2018-09-27 Thread Michael Niedermayer
On Fri, Sep 14, 2018 at 01:51:55AM +0200, Michael Niedermayer wrote: > Consider a component to be damaged if more than 50% of its subbands are > damaged > > Fixes: Timeout (part 1 of 2) > Fixes: > 9774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5748957085958144 will apply [

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/diracdec: check that GetBitContext has not ended in codeblock()

2018-09-27 Thread Michael Niedermayer
On Fri, Sep 14, 2018 at 01:51:56AM +0200, Michael Niedermayer wrote: > Fixes: Timeout (part 2 of 2) > Fixes: > 9774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5748957085958144 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/diracdec.c | 2 ++ > 1 file changed, 2 in

Re: [FFmpeg-devel] [PATCH v2] lavc/hevc: Don't parse NAL unit for a dummy buffer

2018-09-27 Thread myp...@gmail.com
On Fri, Apr 13, 2018 at 9:04 AM Xiang, Haihao wrote: > > > Thank Steven for reviewing the patch, could anyone help to push the patch? > > Best Regards > Haihao > > > > On 8 Apr 2018, at 12:53, Xiang, Haihao wrote: > > > > > > > > > > > > Hi Steven, > > > > > > Are there more comments on this patc

[FFmpeg-devel] [PATCH 0/3] Enable peak and average bandwidth to be added to HLS manifest files

2018-09-27 Thread Amit Kale
Hi, I am sending patches correct bandwidth values in the HLS manifest files output by ffmpeg. These are currently based on average bandwidth. These patches enable the bandwidth values to be calculated based on the number of bytes present in each stream in each segment file. 1/3 - Fix computati

[FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

2018-09-27 Thread Amit Kale
Reset vs->start_pos when beginning a new file. Signed-off-by: Amit Kale --- libavformat/hlsenc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: ffmpeg/libavformat/hlsenc.c === --- ffmpeg.orig/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH 2/3] Adds a new hls_flag peak_segment_bw

2018-09-27 Thread Amit Kale
If this flag is set, BANDWIDTH value in a master playlist entry will be set to the peak segment bandwidth. This patch also delays freeing of hls stream data, so that it's available for bandwidth calculation. Signed-off-by: Amit Kale --- doc/muxers.texi | 4 libavformat/hlsenc.c | 29

[FFmpeg-devel] [PATCH 3/3] Adds a new hls_flag avg_bw

2018-09-27 Thread Amit Kale
If this flag is set, AVERAGE-BANDWIDTH value will be added to a master playlist entry. This flag implies peak_segment_bw. Signed-off-by: Amit Kale --- doc/muxers.texi | 4 libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 20 libavformat/hlsplay

Re: [FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

2018-09-27 Thread Steven Liu
Amit Kale 于2018年9月28日周五 下午2:01写道: > > Reset vs->start_pos when beginning a new file. > > Signed-off-by: Amit Kale > --- > libavformat/hlsenc.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > Index: ffmpeg/libavformat/hlsenc.c > ===

Re: [FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

2018-09-27 Thread Amit Kale
On Friday 28 September 2018 11:40 AM, Steven Liu wrote: Amit Kale 于2018年9月28日周五 下午2:01写道: Reset vs->start_pos when beginning a new file. Signed-off-by: Amit Kale --- libavformat/hlsenc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: ffmpeg/libavformat/hlsenc.c ===

Re: [FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

2018-09-27 Thread Steven Liu
Amit Kale 于2018年9月28日周五 下午2:38写道: > > On Friday 28 September 2018 11:40 AM, Steven Liu wrote: > > Amit Kale 于2018年9月28日周五 下午2:01写道: > >> > >> Reset vs->start_pos when beginning a new file. > >> > >> Signed-off-by: Amit Kale > >> --- > >>libavformat/hlsenc.c | 5 - > >>1 file changed, 4