Re: [FFmpeg-devel] [PATCH] avcodec/h264_mp4toannexb_bsf: add No IDR frame situation

2018-08-15 Thread myp...@gmail.com
On Wed, Aug 15, 2018 at 2:38 PM Linjie Fu wrote: > > Fix the live stream encoding problem using qsv when the first frame > is not an IDR frame. > > Add the extradata information when the IDR frame is missing in the > first GOP. > > Fixes the bug reported in ticket #6418. > > Signed-off-by: Linjie

[FFmpeg-devel] [PATCH] lavc/qsvdec: release packet if mpeg2/vp8/vc1 decoding failure

2018-08-15 Thread Zhong Li
H264/265 have been fixed such an issue with commit 559370f2c45110afd8308eec7194437736c323d4. Similar fixing is needed for other codecs. Signed-off-by: Zhong Li --- libavcodec/qsvdec_other.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvdec_other.c b/liba

[FFmpeg-devel] [PATCH] lavc/qsvenc: fix a misleading log message

2018-08-15 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 3ce5ffe..ab0db3b 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1119,7 +1119,7 @@ static void print_interlace_msg(AVC

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Liu Steven
> 在 2018年8月15日,下午6:37,Ronak Patel 写道: > >> >> On Aug 14, 2018, at 10:57 PM, Liu Steven wrote: >> >> >> >>> 在 2018年8月15日,上午9:31,Ronak 写道: >>> >>> From: "Ronak Patel" mailto:ronak2...@yahoo.com>yahoo.com> >>> >>> This fixes the creation of the hls manifest in hlsenc.c by writing the >>>

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Ronak Patel
> On Aug 14, 2018, at 10:57 PM, Liu Steven wrote: > > > >> 在 2018年8月15日,上午9:31,Ronak 写道: >> >> From: "Ronak Patel" mailto:ronak2...@yahoo.com>yahoo.com> >> >> This fixes the creation of the hls manifest in hlsenc.c by writing the >> entire manifest at the end for VOD playlists. Live & Even

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Ronak Patel
> On Aug 15, 2018, at 6:46 AM, Liu Steven wrote: > > > >>> 在 2018年8月15日,下午6:37,Ronak Patel 写道: >>> >>> >>> On Aug 14, 2018, at 10:57 PM, Liu Steven wrote: >>> >>> >>> 在 2018年8月15日,上午9:31,Ronak 写道: From: "Ronak Patel" mailto:ronak2...@yahoo.com>yahoo.com> This

[FFmpeg-devel] [PATCH 1/2] docs/filters: add documentation to all existing OpenCL filters

2018-08-15 Thread Danil Iashchenko
docs/filters: add documentation to all existing OpenCL filters --- Hi! Sorry for delay. Added general instruction for format conversion in the start of overall section and separatly for overlay_opencl. As far as I understand, different format conversion depends on which formats are supported b

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.

2018-08-15 Thread Pedro Arthur
2018-08-14 19:49 GMT-03:00 Marton Balint : > > On Tue, 14 Aug 2018, Pedro Arthur wrote: > >> 2018-08-14 15:45 GMT-03:00 Rostislav Pehlivanov : >>> >>> On Thu, 2 Aug 2018 at 20:00, Sergey Lavrushkin wrote: >>> This patch removes conversions, declared inside the sr filter, and uses libswsc

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Steven Liu
> On Aug 15, 2018, at 09:31, Ronak wrote: > > From: "Ronak Patel" mailto:ron...@audible.com>yahoo.com> > > This fixes the creation of the hls manifest in hlsenc.c by writing the entire > manifest at the end for VOD playlists. Live & Event Playlists are unaffected. > This also fixes the behavi

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.

2018-08-15 Thread Sergey Lavrushkin
2018-08-15 1:49 GMT+03:00 Marton Balint : > > On Tue, 14 Aug 2018, Pedro Arthur wrote: > > 2018-08-14 15:45 GMT-03:00 Rostislav Pehlivanov : >> >>> On Thu, 2 Aug 2018 at 20:00, Sergey Lavrushkin >>> wrote: >>> >>> This patch removes conversions, declared inside the sr filter, and uses libsws

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.

2018-08-15 Thread Paul B Mahol
On 8/15/18, Sergey Lavrushkin wrote: > 2018-08-15 1:49 GMT+03:00 Marton Balint : > >> >> On Tue, 14 Aug 2018, Pedro Arthur wrote: >> >> 2018-08-14 15:45 GMT-03:00 Rostislav Pehlivanov : >>> On Thu, 2 Aug 2018 at 20:00, Sergey Lavrushkin wrote: This patch removes conversions, d

[FFmpeg-devel] [PATCH 1/2] doc/filters.texi: Adds documentation for sr filter.

2018-08-15 Thread Sergey Lavrushkin
Resending patch with documentation for sr filter. --- doc/filters.texi | 60 1 file changed, 60 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 267bd04a43..b2a74cb1ce 100644 --- a/doc/filters.texi +++ b/doc/filters.tex

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters.texi: Adds documentation for sr filter.

2018-08-15 Thread Gyan Doshi
On 15-08-2018 10:05 PM, Sergey Lavrushkin wrote: Resending patch with documentation for sr filter. LGTM. Will apply with some small changes. I've merged the docs entry in the 2nd part, so remove it from there. Thanks, Gyan ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters.texi: Adds documentation for sr filter.

2018-08-15 Thread Sergey Lavrushkin
2018-08-15 19:59 GMT+03:00 Gyan Doshi : > > > On 15-08-2018 10:05 PM, Sergey Lavrushkin wrote: > >> Resending patch with documentation for sr filter. >> > > LGTM. Will apply with some small changes. > > I've merged the docs entry in the 2nd part, so remove it from there. > This entry corresponds

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters.texi: Adds documentation for sr filter.

2018-08-15 Thread Gyan Doshi
On 15-08-2018 11:28 PM, Sergey Lavrushkin wrote: 2018-08-15 19:59 GMT+03:00 Gyan Doshi : LGTM. Will apply with some small changes. I've merged the docs entry in the 2nd part, so remove it from there. This entry corresponds to changes made in the second patch. Without these changes it is

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters.texi: Adds documentation for sr filter.

2018-08-15 Thread James Almer
On 8/15/2018 2:58 PM, Sergey Lavrushkin wrote: > 2018-08-15 19:59 GMT+03:00 Gyan Doshi : > >> >> >> On 15-08-2018 10:05 PM, Sergey Lavrushkin wrote: >> >>> Resending patch with documentation for sr filter. >>> >> >> LGTM. Will apply with some small changes. >> >> I've merged the docs entry in the

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters.texi: Adds documentation for sr filter.

2018-08-15 Thread Gyan Doshi
On 15-08-2018 11:37 PM, James Almer wrote: Should have been the second patch in the set, in that case. If a change is split into two patches, one for code and one for documentation, then the former goes first. Gyan should have paid more attention to it as well, to be fair. I assumed he made

Re: [FFmpeg-devel] [PATCH] avformat/avidec: fix demuxing of all keyframes of sample 200707170736151.avi

2018-08-15 Thread Michael Niedermayer
Hi On Tue, Aug 14, 2018 at 08:09:47PM +0200, Paul B Mahol wrote: > Hi, > > very important patch attached. > avidec.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > cafdde2706e703bcac31ddfada057ccce61518c9 > 0001-avformat-avidec-fix-demuxing-of-all-keyframes-of-sam.patch >

Re: [FFmpeg-devel] [GSOC][PATCH 2/3] lavc/cfhd:corrected decompanding for table 9 used in cfhd

2018-08-15 Thread Kieran Kunhya
On Tue, 14 Aug 2018 at 08:43 Gagandeep Singh wrote: > Second patch for fixing decompanding in table 9. > > Gagandeep Singh > Seems ok Kieran ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat/mov: Allow saio/saiz in clear content.

2018-08-15 Thread Michael Niedermayer
On Tue, Aug 14, 2018 at 11:12:58AM -0700, Jacob Trimble wrote: > On Tue, Aug 14, 2018 at 10:39 AM Jacob Trimble wrote: > > > > If there is a saio/saiz in clear content, we shouldn't create the > > encryption index if we don't already have one. Otherwise it will > > confuse the cenc_filter. > > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_hue: 10bit support

2018-08-15 Thread Michael Niedermayer
On Fri, Aug 03, 2018 at 05:39:20PM +0200, Reto Kromer wrote: > Michael Niedermayer wrote: > > >Signed-off-by: Michael Niedermayer > >--- > > libavfilter/vf_hue.c | 103 +++ > > +++- > > 1 file changed, 92 insertions(+), 11 deletions(-) > > On my side it works f

Re: [FFmpeg-devel] [PATCH 4/4] lavc/mpeg4videodec: fix can't dump AVOptions issue.

2018-08-15 Thread Michael Niedermayer
On Wed, Aug 15, 2018 at 08:44:31AM +0800, myp...@gmail.com wrote: > On Tue, Aug 14, 2018 at 11:39 PM Michael Niedermayer > wrote: > > > > On Mon, Aug 13, 2018 at 09:51:47PM +0800, Jun Zhao wrote: > > > fix can't dump the mpeg4videodec option with the command > > > "ffmpeg -h decoder=mpeg4". > > >

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/scpr: Check for min > max in decompress_p()

2018-08-15 Thread Michael Niedermayer
On Mon, Aug 06, 2018 at 09:05:51AM +0200, Paul B Mahol wrote: > On 8/5/18, Michael Niedermayer wrote: > > On Sun, Aug 05, 2018 at 10:08:31AM +0200, Paul B Mahol wrote: > >> On 8/5/18, Michael Niedermayer wrote: > >> > Fixes: Timeout > >> > Fixes: > >> > 9342/clusterfuzz-testcase-minimized-ffmpeg_

Re: [FFmpeg-devel] [PATCH] fix memory leak in frame_thread_encoder: occurs when close encoder without sending eof and receiving to end

2018-08-15 Thread Michael Niedermayer
On Mon, Aug 06, 2018 at 01:13:00AM +0200, Michael Niedermayer wrote: > On Sat, Aug 04, 2018 at 10:19:45AM +, lee ju wrote: > > --- > > libavcodec/frame_thread_encoder.c | 17 + > > 1 file changed, 17 insertions(+) > > probably ok will apply thx [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/shorten: Check verbatim length

2018-08-15 Thread Michael Niedermayer
On Mon, Aug 13, 2018 at 02:24:18AM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 9252/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5780720709533696 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sign

Re: [FFmpeg-devel] [PATCH 2/6] avcodec/shorten: Fix integer overflow in residual/LPC combination

2018-08-15 Thread Michael Niedermayer
On Mon, Aug 13, 2018 at 02:24:19AM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -540538872 + -2012739576 cannot be > represented in type 'int' > Fixes: > 9255/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5758630052757504 > > Found-by: continuous fuzzing

Re: [FFmpeg-devel] [PATCH 3/6] avcodec/shorten: Fix signed 32bit overflow in shift in shorten_decode_frame()

2018-08-15 Thread Michael Niedermayer
On Mon, Aug 13, 2018 at 02:24:20AM +0200, Michael Niedermayer wrote: > Fixes: runtime error: left shift of 1 by 31 places cannot be represented in > type 'int' > Fixes: > 9480/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-6647324284551168 > -rss_limit_mb=2000 > > Found-by: co

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Ronak Patel
> On Aug 15, 2018, at 11:08 AM, Steven Liu wrote: > > > >> On Aug 15, 2018, at 09:31, Ronak wrote: >> >> From: "Ronak Patel" mailto:ron...@audible.com>yahoo.com> >> >> This fixes the creation of the hls manifest in hlsenc.c by writing the >> entire manifest at the end for VOD playlists. Li

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Steven Liu
> On Aug 16, 2018, at 07:41, Ronak Patel wrote: > >> >> On Aug 15, 2018, at 11:08 AM, Steven Liu wrote: >> >> >> >>> On Aug 15, 2018, at 09:31, Ronak wrote: >>> >>> From: "Ronak Patel" mailto:ron...@audible.com>yahoo.com> >>> >>> This fixes the creation of the hls manifest in hlsenc.c b

Re: [FFmpeg-devel] [PATCH 4/4] lavc/mpeg4videodec: fix can't dump AVOptions issue.

2018-08-15 Thread myp...@gmail.com
On Thu, Aug 16, 2018 at 6:16 AM Michael Niedermayer wrote: > > On Wed, Aug 15, 2018 at 08:44:31AM +0800, myp...@gmail.com wrote: > > On Tue, Aug 14, 2018 at 11:39 PM Michael Niedermayer > > > > wrote: > > > > > > On Mon, Aug 13, 2018 at 09:51:47PM +0800, Jun Zhao wrote: > > > > fix can't dump th

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Ronak Patel
> On Aug 15, 2018, at 8:39 PM, Ronak Patel wrote: > > >> On Aug 15, 2018, at 8:21 PM, Steven Liu wrote: >> >> >> On Aug 16, 2018, at 07:41, Ronak Patel wrote: On Aug 15, 2018, at 11:08 AM, Steven Liu wrote: > On Aug 15, 2018, at 09:31, Ronak >

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Steven Liu
> On Aug 16, 2018, at 08:39, Ronak Patel wrote: > >> >> On Aug 15, 2018, at 8:21 PM, Steven Liu wrote: >> >> >> On Aug 16, 2018, at 07:41, Ronak Patel wrote: On Aug 15, 2018, at 11:08 AM, Steven Liu wrote: > On Aug 15, 2018, at 09:31, Ronak >

Re: [FFmpeg-devel] Resending Patch for hlsenc.c fixes for https://trac.ffmpeg.org/ticket/7281

2018-08-15 Thread Ronak Patel
> On Aug 15, 2018, at 8:21 PM, Steven Liu wrote: > > > >>> On Aug 16, 2018, at 07:41, Ronak Patel wrote: >>> >>> >>> On Aug 15, 2018, at 11:08 AM, Steven Liu wrote: >>> >>> >>> On Aug 15, 2018, at 09:31, Ronak wrote: From: "Ronak Patel" mailto:ron...@audible.com>yahoo.c

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-15 Thread Zhao Zhili
--- libavcodec/hevc_ps.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..4161ab6 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -628,8 +628,17 @@ static void decode_vui(GetBi

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-15 Thread James Almer
On 8/16/2018 12:29 AM, Zhao Zhili wrote: > --- > libavcodec/hevc_ps.c | 26 ++ > 1 file changed, 22 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c > index fbd9fbf..4161ab6 100644 > --- a/libavcodec/hevc_ps.c > +++ b/libavcodec/he

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info

2018-08-15 Thread Zhao Zhili
On 2018年08月16日 11:46, James Almer wrote: On 8/16/2018 12:29 AM, Zhao Zhili wrote: --- libavcodec/hevc_ps.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..4161ab6 100644 --- a/libavcod

Re: [FFmpeg-devel] [PATCH 0/4] fix "ffmpeg -h full" can't dump some options issue

2018-08-15 Thread myp...@gmail.com
On Mon, Aug 13, 2018 at 9:52 PM Jun Zhao wrote: > > V1: - add a new avfilter_graph_get_class function for AVFilterGraph options. > - fix can't dump "slice" sub-option for AVFilter. > - fix can't dump mpeg4videodec options issue. (use command "ffmpeg -h decoder=mpeg4") > > Jun Zhao (4): >