[FFmpeg-devel] [PATCH v3 3/6] avformat/au: check return value of au_read_annotation()

2020-06-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/au.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/au.c b/libavformat/au.c index ff9176a..f92863e 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -145,6 +145,7 @@ static int au_read_header(A

[FFmpeg-devel] [PATCH v3 5/6] avformat/hlsenc: fix av_bprint_finalize() usage

2020-06-24 Thread lance . lmwang
From: Limin Wang Don't need to do double check by the description of the API. Reviewed-by: Nicolas George Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f7a4f30..a34

[FFmpeg-devel] [PATCH v3 4/6] avformat/hlsenc: use proper error codes

2020-06-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 71fa3db..f7a4f30 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -370,6 +370,7

Re: [FFmpeg-devel] [PATCH v2] avcodec/mpeg12dec: switch to AVBufferRef buffer for a53 caption

2020-06-25 Thread lance . lmwang
On Sun, Jun 21, 2020 at 09:30:12PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > It's old patch, rebase with master, now have tested with the mpeg2 sample > for ticket 6105, the output srt is same. > > libavcodec/mpeg12dec.c | 85 > +

[FFmpeg-devel] [PATCH 1/6] avcodec/dvbsubdec: simplify code by using OFFSET() macro

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index f63a1f3..af6c78a 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -1730,10 +1

[FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/bprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/bprint.c b/libavutil/bprint.c index 2f059c5..148b7bb 100644 --- a/libavutil/bprint.c +++ b/libavutil/bprint.c @@ -71,7 +71,7 @@ void av_bprint_init(AVB

[FFmpeg-devel] [PATCH 2/6] avcodec/dvbsubdec: prefer to use variable instead of type for sizeof

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index af6c78a..263ba59 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -81

[FFmpeg-devel] [PATCH 3/6] avcodec/dvbsubdec: Cosmetics

2020-06-25 Thread lance . lmwang
From: Limin Wang reindent code and fix the if( style Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 90 +- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 263ba59..d151

[FFmpeg-devel] [PATCH 5/6] avformat/aviobuf: INT_MAX -> AV_BPRINT_SIZE_UNLIMITED

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index a77517d..1e32c0c 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -1191,7 +1191,7 @@ int

[FFmpeg-devel] [PATCH 6/6] avformat/gifdec: -1 -> AV_BPRINT_SIZE_UNLIMITED

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/gifdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c index a31644c..d617de5 100644 --- a/libavformat/gifdec.c +++ b/libavformat/gifdec.c @@ -144,7 +144,7 @@ static int

Re: [FFmpeg-devel] [PATCH 5/6] avformat/aviobuf: INT_MAX -> AV_BPRINT_SIZE_UNLIMITED

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 05:16:03AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/aviobuf.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavformat/aviobuf.c b/libavfor

Re: [FFmpeg-devel] [PATCH 3/6] avcodec/dvbsubdec: Cosmetics

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 10:48:23AM +0200, Moritz Barsnick wrote: > On Fri, Jun 26, 2020 at 08:47:23 +0800, lance.lmw...@gmail.com wrote: > > region->depth = 1 << (((*buf++) >> 2) & 7); > > -if(region->depth<2 || region->depth>8){ > > +if (region->depth<2 || region->depth>8){ >

Re: [FFmpeg-devel] [PATCH v13 2/3] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 11:15:15AM +0200, Moritz Barsnick wrote: > On Fri, Jun 12, 2020 at 07:54:28 +0800, lance.lmw...@gmail.com wrote: > > +if (sd->size < uuid_size) { > > +av_log(ctx, AV_LOG_ERROR, "invalid data(%d < UUID(%d-bytes))", > > sd->size, uuid_size); > > ... \n it didn't

Re: [FFmpeg-devel] [PATCH v13 2/3] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 11:55:33AM +0200, Moritz Barsnick wrote: > On Fri, Jun 26, 2020 at 17:31:36 +0800, lance.lmw...@gmail.com wrote: > > On Fri, Jun 26, 2020 at 11:15:15AM +0200, Moritz Barsnick wrote: > > > On Fri, Jun 12, 2020 at 07:54:28 +0800, lance.lmw...@gmail.com wrote: > > > > +if (

Re: [FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 07:17:01AM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-26): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavutil/bprint.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > No to gratuitous changes that pollute the

Re: [FFmpeg-devel] [PATCH v13 2/3] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 12:34:35PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-26): > > Yes, I have double checked the code. > > Not enouth. A \n at level INFO cannot end a line at level ERROR. > > > Yes, I have followed the same error process style like other metadtata > > e

Re: [FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 12:41:19PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-26): > > Sorry, I'm not clear why not to use 1 directly as it's public API? > > That is exactly what I am telling: leave it. thanks for comments, please ignore the change then. > > Regards, > > -

Re: [FFmpeg-devel] [PATCH v13 2/3] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 12:50:40PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-26): > > Yes, It make sense. Now there are ERROR, INFO, WARNING. Can we change all > > of the > > to INFO? If can't, then we'll had to remove the end \n and add for every > > case. > > Absolutely n

[FFmpeg-devel] [PATCH v2 3/4] avcodec/dvbsubdec: Cosmetics

2020-06-26 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 94 +- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 263ba59..eea920f 100644 --- a/libavcodec/dvbsubdec

[FFmpeg-devel] [PATCH] avfilter/vf_showinfo: add a \n for end of ERROR and WARNNING log

2020-06-26 Thread lance . lmwang
From: Limin Wang Note for info level, one extra \n will be print after the log. Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 5315f8f..d7ee

Re: [FFmpeg-devel] [PATCH v3 6/6] avformat/hlsenc: simplify code to pass s directly

2020-06-26 Thread lance . lmwang
On Thu, Jun 25, 2020 at 07:32:39AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Suggested-by: Nicolas George > Signed-off-by: Limin Wang > --- > libavformat/hlsenc.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavfo

Re: [FFmpeg-devel] [PATCH v4 7/7] avcodec/nvenc: support for HEVC timecode passthrough

2020-06-26 Thread lance . lmwang
On Wed, Jun 24, 2020 at 09:43:20PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Reviewed-by: Timo Rothenpieler > Signed-off-by: Limin Wang > --- > libavcodec/nvenc.c | 17 + > libavcodec/nvenc.h | 1 + > libavcodec/nvenc_hevc.c | 1 + > 3 files change

Re: [FFmpeg-devel] [PATCH v3 6/6] avformat/hlsenc: simplify code to pass s directly

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 04:03:58PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-26): > > will apply the patchset tomorrow if no objections. > > It was posted yesterday! > > @subheading Always wait long enough before pushing changes > Do NOT commit to code actively maintained by

Re: [FFmpeg-devel] [PATCH v4 7/7] avcodec/nvenc: support for HEVC timecode passthrough

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 03:11:39PM +0100, Josh de Kock wrote: > On 26/06/2020 15:03, lance.lmw...@gmail.com wrote: > > On Wed, Jun 24, 2020 at 09:43:20PM +0800, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > > > Reviewed-by: Timo Rothenpieler > > > Signed-off-by: Limin Wang > > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_showinfo: add a \n for end of ERROR and WARNNING log

2020-06-26 Thread lance . lmwang
On Fri, Jun 26, 2020 at 03:39:49PM +0200, Paul B Mahol wrote: > lgtm Thank for review, will apply. > > On 6/26/20, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Note for info level, one extra \n will be print after the log. > > > > Signed-off-by: Limin Wang > > --- > > libavfilt

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mpeg12dec: switch to AVBufferRef buffer for a53 caption

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 09:47:33AM +0300, Martin Storsjö wrote: > On Fri, 26 Jun 2020, Limin Wang wrote: > > > ffmpeg | branch: master | Limin Wang | Sun Jun 21 > > 20:57:22 2020 +0800| [a705bcd763e344fac191e157ffeddc285388b7fa] | > > committer: Limin Wang > > > > avcodec/mpeg12dec: switch to

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mpeg12dec: switch to AVBufferRef buffer for a53 caption

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 10:22:24AM +0200, Paul B Mahol wrote: > On 6/27/20, lance.lmw...@gmail.com wrote: > > On Sat, Jun 27, 2020 at 09:47:33AM +0300, Martin Storsjö wrote: > >> On Fri, 26 Jun 2020, Limin Wang wrote: > >> > >> > ffmpeg | branch: master | Limin Wang | Sun Jun > >> > 21 20:57:22 2

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mpeg12dec: switch to AVBufferRef buffer for a53 caption

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 10:37:31AM +0200, Paul B Mahol wrote: > On 6/27/20, lance.lmw...@gmail.com wrote: > > On Sat, Jun 27, 2020 at 10:22:24AM +0200, Paul B Mahol wrote: > >> On 6/27/20, lance.lmw...@gmail.com wrote: > >> > On Sat, Jun 27, 2020 at 09:47:33AM +0300, Martin Storsjö wrote: > >> >>

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mpeg12dec: switch to AVBufferRef buffer for a53 caption

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 02:48:50PM +0300, Martin Storsjö wrote: > On Sat, 27 Jun 2020, lance.lmw...@gmail.com wrote: > > > On Sat, Jun 27, 2020 at 10:37:31AM +0200, Paul B Mahol wrote: > > > On 6/27/20, lance.lmw...@gmail.com wrote: > > > > On Sat, Jun 27, 2020 at 10:22:24AM +0200, Paul B Mahol w

[FFmpeg-devel] [PATCH] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-27 Thread lance . lmwang
From: Limin Wang The issue is introduced from a705bcd763e344fa, please tested with below command line: make V=1 fate-sub-cc-scte20 TARGET_EXEC="valgrind --error-exitcode=1" Reported-by: Martin Storsjö Signed-off-by: Limin Wang --- libavcodec/mpeg12dec.c | 2 ++ 1 file changed, 2 insertions

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 05:54:52PM +0200, Carl Eugen Hoyos wrote: > Am Sa., 27. Juni 2020 um 17:46 Uhr schrieb : > > > > From: Limin Wang > > > > The issue is introduced from a705bcd763e344fa, please tested with below > > command line: > > make V=1 fate-sub-cc-scte20 TARGET_EXEC="valgrind --error

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 01:02:52PM -0300, James Almer wrote: > On 6/27/2020 12:46 PM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > The issue is introduced from a705bcd763e344fa, please tested with below > > command line: > > make V=1 fate-sub-cc-scte20 TARGET_EXEC="valgrind --error

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-27 Thread lance . lmwang
On Sat, Jun 27, 2020 at 08:01:49PM -0300, James Almer wrote: > On 6/27/2020 7:56 PM, lance.lmw...@gmail.com wrote: > > On Sat, Jun 27, 2020 at 05:54:52PM +0200, Carl Eugen Hoyos wrote: > >> Am Sa., 27. Juni 2020 um 17:46 Uhr schrieb : > >>> > >>> From: Limin Wang > >>> > >>> The issue is introduce

[FFmpeg-devel] [PATCH v2] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-28 Thread lance . lmwang
From: Limin Wang The issue is introduced from a705bcd763e344fa, please tested with below command line: make V=1 fate-sub-cc-scte20 TARGET_EXEC="valgrind --error-exitcode=1" Reported-by: Martin Storsjö Signed-off-by: Limin Wang --- libavcodec/mpeg12dec.c | 2 ++ 1 file changed, 2 insertions

[FFmpeg-devel] [PATCH] avcodec/internal: fix the outdating comments for ff_add_cpb_side_data()

2020-06-28 Thread lance . lmwang
From: Limin Wang It's used for decode and encode in fact, so it's more proper to change the encodenig to codec for the comments. Signed-off-by: Limin Wang --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h

Re: [FFmpeg-devel] [PATCH v2 1/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-28 Thread lance . lmwang
On Sat, Jun 20, 2020 at 10:25:50PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/APIchanges| 3 +++ > libavcodec/avpacket.c | 1 + > libavcodec/decode.c | 1 + > libavcodec/packet.h | 8 > libavcodec/version.h | 2 +-

Re: [FFmpeg-devel] [PATCH 2/4] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-28 Thread lance . lmwang
On Mon, Jun 29, 2020 at 04:53:21AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/APIchanges| 3 +++ > > libavcodec/avpacket.c | 1 + > > libavcodec/decode.c | 1 + > > libavcodec/packet.h | 8 +++

Re: [FFmpeg-devel] [PATCH 2/4] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 02:06:49PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > On Mon, Jun 29, 2020 at 04:53:21AM +0200, Andreas Rheinhardt wrote: > >> lance.lmw...@gmail.com: > >>> From: Limin Wang > >>> > >>> Signed-off-by: Limin Wang > >>> --- > >>> doc/APIchanges|

Re: [FFmpeg-devel] [PATCH] avcodec/internal: fix the outdating comments for ff_add_cpb_side_data()

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 01:36:00PM +0200, Moritz Barsnick wrote: > On Sun, Jun 28, 2020 at 20:55:08 +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > Subject: avcodec/internal: fix the outdating comments for > > ff_add_cpb_side_data() > > "outdated" > > > - * Add a CPB properties si

[FFmpeg-devel] [PATCH v2] avcodec/internal: fix the outdated comments for ff_add_cpb_side_data()

2020-06-29 Thread lance . lmwang
From: Limin Wang It's used for decode and encode in fact, so it's more proper to change the encoding to codec in the comments. Signed-off-by: Limin Wang --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h i

Re: [FFmpeg-devel] [PATCH 2/4] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 03:52:00PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > On Mon, Jun 29, 2020 at 02:06:49PM +0200, Andreas Rheinhardt wrote: > >> lance.lmw...@gmail.com: > >>> On Mon, Jun 29, 2020 at 04:53:21AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com:

[FFmpeg-devel] [PATCH v3 1/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges| 3 +++ libavcodec/avpacket.c | 1 + libavcodec/decode.c | 1 + libavcodec/packet.h | 6 ++ libavcodec/version.h | 2 +- libavformat/dump.c| 21 + 6 files changed, 33 insertions(+), 1 del

Re: [FFmpeg-devel] [PATCH 2/4] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 03:52:00PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > On Mon, Jun 29, 2020 at 02:06:49PM +0200, Andreas Rheinhardt wrote: > >> lance.lmw...@gmail.com: > >>> On Mon, Jun 29, 2020 at 04:53:21AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com:

[FFmpeg-devel] [PATCH 2/2] avcodec/nvenc_hevc: add a53cc option for nvenc hevc

2020-06-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc_hevc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index 45dda3d..6153f9a 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -132,6 +132,8 @@ static con

[FFmpeg-devel] [PATCH 1/2] avformat/dump: add a \n for end of ERROR log

2020-06-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dump.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index 117c681..a1bf083 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -211,7 +211,7 @@ static v

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/nvenc_hevc: add a53cc option for nvenc hevc

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 05:26:24PM +0200, Moritz Barsnick wrote: > On Mon, Jun 29, 2020 at 23:21:03 +0800, lance.lmw...@gmail.com wrote: > > diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c > > index 45dda3d..6153f9a 100644 > > --- a/libavcodec/nvenc_hevc.c > > +++ b/libavcodec/nvenc_

Re: [FFmpeg-devel] [PATCH v3 1/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 05:35:58PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/APIchanges| 3 +++ > > libavcodec/avpacket.c | 1 + > > libavcodec/decode.c | 1 + > > libavcodec/packet.h | 6 +++

[FFmpeg-devel] [PATCH 2/2] avcodec/nvenc_hevc: add a53cc option for hevc

2020-06-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc_hevc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index 45dda3d..6153f9a 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -132,6 +132,8 @@ static con

Re: [FFmpeg-devel] [PATCH v3 1/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 06:18:23PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > On Mon, Jun 29, 2020 at 05:35:58PM +0200, Andreas Rheinhardt wrote: > >> lance.lmw...@gmail.com: > >>> From: Limin Wang > >>> > >>> Signed-off-by: Limin Wang > >>> --- > >>> doc/APIchanges|

Re: [FFmpeg-devel] [PATCH v2] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-29 Thread lance . lmwang
On Mon, Jun 29, 2020 at 09:19:56PM +0300, Martin Storsjö wrote: > On Sun, 28 Jun 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > The issue is introduced from a705bcd763e344fa, please tested with below > > command line: > > make V=1 fate-sub-cc-scte20 TARGET_EXEC="valgrind --e

Re: [FFmpeg-devel] [PATCH v3 1/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
On Tue, Jun 30, 2020 at 01:54:06AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > On Mon, Jun 29, 2020 at 06:18:23PM +0200, Andreas Rheinhardt wrote: > >> lance.lmw...@gmail.com: > >>> On Mon, Jun 29, 2020 at 05:35:58PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com:

[FFmpeg-devel] [PATCH v4 1/2] avutil/timecode: add description for SMPTE binary format

2020-06-29 Thread lance . lmwang
From: Limin Wang AV_FRAME_DATA_S12M_TIMECODE is public API, so user need to know its format by the API header instead of reading the code. Signed-off-by: Limin Wang --- libavutil/frame.h| 4 ++-- libavutil/timecode.h | 16 +++- 2 files changed, 17 insertions(+), 3 deletions(-)

[FFmpeg-devel] [PATCH v4 2/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges| 3 +++ libavcodec/avpacket.c | 1 + libavcodec/decode.c | 1 + libavcodec/packet.h | 8 libavcodec/version.h | 2 +- libavformat/dump.c| 21 + 6 files changed, 35 insertions(+), 1 d

[FFmpeg-devel] [PATCH v1 2/2] avcodec/v210dec: add the slice threading support

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210dec.c | 136 +++ libavcodec/v210dec.h | 1 + 2 files changed, 87 insertions(+), 50 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 6ce18aab5a..d3add8b45b 100644 -

[FFmpeg-devel] [PATCH v1 1/2] avcodec/v210dec: removed the duplicated 'if' condition

2019-08-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 5a33d8c089..6ce18aab5a 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -98,8 +98,7 @@ stati

[FFmpeg-devel] [PATCH v1] lavf/hlsenc: refine the get_relative_url function to avoid extra malloc for relation path

2019-08-29 Thread lance . lmwang
From: Limin Wang Reviewed-by: Steven Liu Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 50 ++- libavformat/hlsplaylist.c | 4 ++-- libavformat/hlsplaylist.h | 4 ++-- 3 files changed, 19 insertions(+), 39 deletions(-) diff --git a/liba

[FFmpeg-devel] [PATCH v1 2/2] avcodec/v308dec: add the slice threading support

2019-08-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v308dec.c | 74 ++-- 1 file changed, 55 insertions(+), 19 deletions(-) diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c index dd53fbd..07e5e24 100644 --- a/libavcodec/v308dec.c +++

[FFmpeg-devel] [PATCH v1 1/2] avcodec/v410dec: add the slice threading support

2019-08-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v410dec.c | 77 ++-- 1 file changed, 57 insertions(+), 20 deletions(-) diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c index 48fab68..a9b17a0 100644 --- a/libavcodec/v410dec.c +++

[FFmpeg-devel] [PATCH v3 2/5] avcodec/v210enc: make 8bit and 10bit function consistent

2019-09-01 Thread lance . lmwang
From: Limin Wang I have benchmarked the performance with c code and haven't see any performance impact. Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 1b840b2..69a2ef

[FFmpeg-devel] [PATCH v3 1/5] avcodec/v210enc: add depth parameter for WRITE_PIXELS and CLIP

2019-09-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 83 +++- 1 file changed, 36 insertions(+), 47 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index b024806..1b840b2 100644 --- a/libavcodec/v210enc.c +++

[FFmpeg-devel] [PATCH v3 5/5] avcodec/v210enc: move the duplicate code to template file

2019-09-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210_template.c | 59 +- libavcodec/v210enc.c | 123 +++-- 2 files changed, 75 insertions(+), 107 deletions(-) diff --git a/libavcodec/v210_template.c b/libavcodec/v210_

[FFmpeg-devel] [PATCH v3 3/5] libavcodec/v210enc: move the duplicate code to template file

2019-09-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210_template.c | 48 + libavcodec/v210enc.c | 54 +- 2 files changed, 63 insertions(+), 39 deletions(-) create mode 100644 libavcodec/v210_templa

[FFmpeg-devel] [PATCH v3 4/5] avcodec/v210enc: make 8bit and 10bit process consistent

2019-09-01 Thread lance . lmwang
From: Limin Wang It's for code factorization in the next patch Signed-off-by: Limin Wang --- libavcodec/v210enc.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index 3e6abbe..d078f0a 100644 --- a/libavcodec/v2

[FFmpeg-devel] [PATCH v1 2/4] avcodec/v210dec: add the slice threading support

2019-09-01 Thread lance . lmwang
From: Limin Wang The multithread is avoid one core cpu is full with other filter like scale etc. About the performance, the gain is very small, below is my testing for performance. In order to avoid the disk bottleneck, I'll use stream_loop mode for 10 frame only. ./ffmpeg -y -i ~/Movies/4k_Re

[FFmpeg-devel] [PATCH v3 3/5] avcodec/v210enc: move the duplicate code to template file

2019-09-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210_template.c | 48 + libavcodec/v210enc.c | 54 +- 2 files changed, 63 insertions(+), 39 deletions(-) create mode 100644 libavcodec/v210_templa

[FFmpeg-devel] [PATCH v1] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..f3b959c 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -64,7 +64,7 @@ typedef struct TsccContext {

[FFmpeg-devel] [PATCH v1 1/3] avcodec/avpacket: replace the deprecated av_copy_packet_side_data

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/avpacket.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index 2b20067..34676cb 100644 --- a/libavcodec/avpacket.c +++ b/libavcodec/avpacket.c @@ -198,8 +198,6 @@ do

[FFmpeg-devel] [PATCH v1 3/3] avformat/movenc: replace the deprecated av_copy_packet_side_data

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index edddfee..503f099 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -518,7 +518,7 @@ concatenate

[FFmpeg-devel] [PATCH v1 2/3] fftools/ffmpeg: replace the deprecated av_copy_packet_side_data

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- fftools/ffmpeg.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 01f0410..e1a4b4a 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -2004,6 +2004,7 @@ static void do_streamcopy

[FFmpeg-devel] [PATCH v2] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..b0dbef4 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -88,7 +88,7 @@ static int decode_frame(AVCo

[FFmpeg-devel] [PATCH v2 1/2] avcodec/v210dec: removed the duplicated 'if' condition

2019-09-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v210dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 5a33d8c..6ce18aa 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -98,8 +98,7 @@ static int

[FFmpeg-devel] [PATCH v2 2/2] avcodec/v210dec: add the frame and slice threading support

2019-09-06 Thread lance . lmwang
From: Limin Wang The multithread is avoid one core cpu is full with other filter like scale etc. About the performance, the gain is very small, below is my testing for performance. In order to avoid the disk bottleneck, I'll use stream_loop mode for 10 frame only. ./ffmpeg -y -i ~/Movies/4k_Rec7

[FFmpeg-devel] [PATCH v2 2/2] avfilter/vf_scale: change filter_frame interface to activate interface

2019-09-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index cb42794..5c1d811 100644 --- a/libavfilter/vf_scale.c +++ b/libavfi

[FFmpeg-devel] [PATCH v2 1/2] avfilter/vf_scale: split the scale_frame function from filter_frame for activate function support

2019-09-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_scale.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index bf340b8..cb42794 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_s

[FFmpeg-devel] [PATCH v1] swscale/swscale: various cosmetics for the code style

2019-09-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 40 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4069550..3e2ebd5 100644 --- a/libswscale/swscale.c +++ b/libswscal

[FFmpeg-devel] [PATCH v2] swscale/swscale: various cosmetics for the code style

2019-09-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 61 ++-- 1 file changed, 21 insertions(+), 40 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4069550..1aa23c6 100644 --- a/libswscale/swscale.c +++

[FFmpeg-devel] [PATCH v3 2/2] swscale/swscale: various cosmetics for the code style

2019-09-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 66 +++- 1 file changed, 24 insertions(+), 42 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index b4f958a..5212317 100644 --- a/libswscale/swscale.c +++

[FFmpeg-devel] [PATCH v3 1/2] swscale/swscale: delete unwanted assignments

2019-09-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/swscale.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4069550..b4f958a 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -291,11 +291,9 @@ static int swscale(SwsCon

[FFmpeg-devel] [PATCH v1] avcodec/h2645_parse: fix for the realloc size

2019-09-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index 307e8643e6..403acd2ee1 100644 --- a/libavcodec/h2645_parse.c +++ b/libavcodec/h2645_parse.c @@ -4

[FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: refine the code for better readiablity

2019-09-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index 307e8643e6..f077900617 100644 --- a/libavcodec/h2645_parse.c +++ b/libavcodec/h2645_pa

[FFmpeg-devel] [PATCH v1] avcodec/pngenc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/pngenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index d4d8dc8..e78a829 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -274,7 +274,7 @@ static int png_w

[FFmpeg-devel] [PATCH v1] avformat/dashdec: remove the unnecessary type conversion

2019-09-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dashdec.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index a6f7551..4db61d8 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@

[FFmpeg-devel] [PATCH v1] fate: remove fate-checkasm-opusdsp for the segment fault for mac and linux system

2019-09-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/checkasm.mak | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fate/checkasm.mak b/tests/fate/checkasm.mak index 3893245..618bde5 100644 --- a/tests/fate/checkasm.mak +++ b/tests/fate/checkasm.mak @@ -19,7 +19,6 @@ FATE_CHECKASM =

[FFmpeg-devel] [PATCH v3] avcodec/tscc: fix for the backward compatibility to use const in the z_stream interface

2019-09-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..9eb17e3 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -88,7 +88,11 @@ static int decode_fram

[FFmpeg-devel] [PATCH v1 2/4] avcodec/pngdec: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/pngdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 2d6c1b218e..aec60ea493 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -406,7 +406,7 @@ static

[FFmpeg-devel] [PATCH v1 4/4] avcodec/zmbv: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/zmbv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index 99e735cfd9..ace13e2ada 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -542,7 +542,7 @@ static int decode_fr

[FFmpeg-devel] [PATCH v1 3/4] avcodec/tiff: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 9f24796a88..4843a11f3d 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -393,7 +393,7 @@ static int tiff_unco

[FFmpeg-devel] [PATCH v1 1/4] avcodec/lcldec: remove the unnecessary type conversion

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/lcldec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 046cdc4f8e..1154221f8f 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -136,7 +136,7 @@ static int

[FFmpeg-devel] [PATCH v1] avfilter/vf_framerate: make the scene change detection calculation method consistent with f_select filter

2019-09-12 Thread lance . lmwang
From: Limin Wang Have been tested by fate-suite/svq3/Vertical400kbit.sorenson3.mov and the testing results are consistent. If it is acceptable, I want to move get_scene_score() to the public function and make the scene change detection calculation method of the relevant module consistent. Sign

[FFmpeg-devel] [PATCH v1] avfilter/vf_minterpolate: correct the mafd calculation

2019-09-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238..fc8054b 100644 --- a/libavfilter/vf_minterpolate.c +++ b/libavfilte

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_minterpolate: change the default threshold to get better scenechange detect result

2019-09-13 Thread lance . lmwang
From: Limin Wang ./ffmpeg -loglevel debug -i ../fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf minterpolate=fps=60:mi_mode=blend -an -f null - [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 1600 [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 4120 [Parsed_m

[FFmpeg-devel] [PATCH v3] avcodec/h2645_parse: refine the code for better readiablity

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index ef6a6b4..8b9595a 100644 --- a/libavcodec/h2645_parse.c +++ b/libavcodec/h2645_parse.c

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_minterpolate: change the default threshold to get better scene change detect result

2019-09-13 Thread lance . lmwang
From: Limin Wang ./ffmpeg -loglevel debug -i ../fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf minterpolate=fps=60:mi_mode=blend -an -f null - [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 1600 [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 4120 [Pa

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_minterpolate: correct the mafd calculation

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238..fc8054b 100644 --- a/libavfilter/vf_minterpolate.c +++ b/libavfilte

[FFmpeg-devel] [PATCH v2 3/3] FATE: add fate test for minterpolate filter

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 tests/ref/fate/filter-minterpolate-down | 6 ++ tests/ref/fate/filter-minterpolate-up | 15 +++ 3 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/filter-minter

[FFmpeg-devel] [PATCH v1 3/4] avformat/hlsenc: replace with av_dirname to get the directory

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index b5681a85c7..21fb9d7a1d 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @

[FFmpeg-devel] [PATCH v1 4/4] avformat/hlsenc: replace with av_freep for all av_free

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 64 ++-- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 21fb9d7a1d..6dc92b786e 100644 --- a/libavformat/hlsenc.c +++ b

[FFmpeg-devel] [PATCH v1 1/4] avutil/avstring: support input path is a null pointer or empty string

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/avstring.c | 12 libavutil/avstring.h | 13 + 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/libavutil/avstring.c b/libavutil/avstring.c index 4c068f5bc5..9fddd0c77b 100644 --- a/libavutil/avstrin

[FFmpeg-devel] [PATCH v1 2/4] avformat/hlsenc: remove the unnecessary null pointer check

2019-09-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 31 ++- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1f2bdfbe4d..b5681a85c7 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/h

[FFmpeg-devel] [PATCH v2 1/4] avutil/avstring: support input path is a null pointer or empty string

2019-09-16 Thread lance . lmwang
From: Limin Wang Reviewed-by: Tomas Härdin Reviewed-by: Liu Steven Signed-off-by: Limin Wang --- libavutil/avstring.c | 12 libavutil/avstring.h | 13 + 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/libavutil/avstring.c b/libavutil/avstring.c index 4

<    4   5   6   7   8   9   10   11   12   13   >