Re: [FFmpeg-devel] [PATCH 2/4] avcodec/hevc_parse: check the size of hvcC is at least 23

2023-06-13 Thread Lance Wang
On Tue, Jun 13, 2023 at 3:37 PM Zhao Zhili wrote: > From: Zhao Zhili > > The code after the check skip 21 bytes and then read two bytes. > > Signed-off-by: Zhao Zhili > --- > libavcodec/hevc_parse.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix CODECS attribute of H.264

2023-06-08 Thread Lance Wang
On Thu, Jun 8, 2023 at 10:47 AM Zhao Zhili wrote: > From: Zhao Zhili > > 1. Add avcc extradata support. > 2. Add non-standard annexb support with 0 0 1 as prefix for SPS. > > LGTM > Signed-off-by: Zhao Zhili > --- > v2: Describe what the patch does. > > libavformat/hlsenc.c | 14

Re: [FFmpeg-devel] [PATCH v11 1/6] avformat/flvenc: support mux hevc in enhanced flv

2023-06-02 Thread Lance Wang
On Fri, Jun 2, 2023 at 7:29 PM Steven Liu wrote: > Lance Wang 于2023年6月2日周五 19:09写道: > > > > On Fri, Jun 2, 2023 at 3:31 PM Steven Liu wrote: > > > > > Signed-off-by: Steven Liu > > > --- > > > libavformat/Makefile | 2 +- > > > lib

Re: [FFmpeg-devel] [PATCH v11 2/6] avformat/flvdec: support demux hevc in enhanced flv

2023-06-02 Thread Lance Wang
On Fri, Jun 2, 2023 at 3:32 PM Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavformat/flvdec.c | 58 ++-- > 1 file changed, 50 insertions(+), 8 deletions(-) > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > index

Re: [FFmpeg-devel] [PATCH v11 1/6] avformat/flvenc: support mux hevc in enhanced flv

2023-06-02 Thread Lance Wang
On Fri, Jun 2, 2023 at 3:31 PM Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavformat/Makefile | 2 +- > libavformat/flv.h| 15 +++ > libavformat/flvenc.c | 41 +++-- > 3 files changed, 47 insertions(+), 11 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS attribute of H.264

2023-05-29 Thread Lance Wang
On Tue, May 30, 2023 at 11:09 AM "zhilizhao(赵志立)" wrote: > > > > On May 30, 2023, at 09:03, Lance Wang wrote: > > > > On Mon, May 29, 2023 at 10:16 PM Zhao Zhili > wrote: > > > >> From: Zhao Zhili > >> > >&

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS attribute of H.264

2023-05-29 Thread Lance Wang
On Mon, May 29, 2023 at 10:16 PM Zhao Zhili wrote: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > libavformat/hlsenc.c | 14 -- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 871afb571b..1e0848ce3d

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_subtitles: add wrap_unicode option

2023-05-22 Thread Lance Wang
On Mon, May 22, 2023 at 12:05 PM Zhao Zhili wrote: > From: Zhao Zhili > > So CJK can be wrapped automatically. > > Signed-off-by: Zhao Zhili > --- > v2: Don't overwrite wrap automatically for native ASS > > libavfilter/version.h | 2 +- > libavfilter/vf_subtitles.c | 14 ++ >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add wrap_unicode option

2023-05-19 Thread Lance Wang
On Fri, May 19, 2023 at 3:59 PM Zhao Zhili wrote: > From: Zhao Zhili > > So CJK can be wrapped automatically. > > Signed-off-by: Zhao Zhili > --- > libavfilter/version.h | 2 +- > libavfilter/vf_subtitles.c | 13 + > 2 files changed, 14 insertions(+), 1 deletion(-) > > diff

Re: [FFmpeg-devel] [PATCH] libavfilter/yadif_cuda: Fix build breakage

2023-05-11 Thread Lance Wang
On Fri, May 12, 2023 at 1:12 AM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > Address build breakage caused by my latest series when compiling > with CUDA support. Thanks to Paul Mahol for pointing it out. > > Signed-off-by: Devin Heitmueller > --- > libavfilter/vf_yadif_cuda.c

Re: [FFmpeg-devel] [PATCH v6 1/6] ccfifo: Properly handle CEA-708 captions through framerate conversion

2023-05-11 Thread Lance Wang
On Wed, May 10, 2023 at 7:08 PM Lance Wang wrote: > > > On Sun, May 7, 2023 at 3:03 PM Lance Wang wrote: > >> LGTM for the patchset. >> >> > I will help to apply the patchset tomorrow if no further comments. thx. > applied, thanks for the effort. > &g

Re: [FFmpeg-devel] [RFC/PATCH] bitpacked_dec: Optimization for bitpacked_dec decoder performance

2023-05-10 Thread Lance Wang
On Sat, May 6, 2023 at 8:41 PM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > On Sat, May 6, 2023 at 8:16 AM James Almer wrote: > > Can you bench with the START_TIMER and STOP_TIMER macros in timer.h? > > Also, define CACHED_BITSTREAM_READER in bitpacked_dec.c before including > >

Re: [FFmpeg-devel] [PATCH v6 1/6] ccfifo: Properly handle CEA-708 captions through framerate conversion

2023-05-10 Thread Lance Wang
On Sun, May 7, 2023 at 3:03 PM Lance Wang wrote: > LGTM for the patchset. > > I will help to apply the patchset tomorrow if no further comments. thx. > On Sat, May 6, 2023 at 2:13 AM Devin Heitmueller < > devin.heitmuel...@ltnglobal.com> wrote: > >> When trans

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/bitpacked_enc: add support for uyvy422 encoding

2023-05-07 Thread Lance Wang
On Mon, May 8, 2023 at 6:56 AM James Almer wrote: > On 5/7/2023 4:00 AM, Lance Wang wrote: > > On Sun, May 7, 2023 at 1:38 AM James Almer wrote: > > > >> Signed-off-by: James Almer > >> --- > >> libavcodec/bitpacked_enc.c | 27 ++

Re: [FFmpeg-devel] [PATCH v6 1/6] ccfifo: Properly handle CEA-708 captions through framerate conversion

2023-05-07 Thread Lance Wang
k into the > resulting frames at the appropriate rate given the target > framerate. This includes both having the correct cc_count as > well as clocking out the 608 pairs at the appropriate rate. > > Thanks to Lance Wang , Anton > Khirnov , and Michael Niedermayer < > mich...@n

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/bitpacked_enc: add support for uyvy422 encoding

2023-05-07 Thread Lance Wang
On Sun, May 7, 2023 at 1:38 AM James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/bitpacked_enc.c | 27 ++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/bitpacked_enc.c b/libavcodec/bitpacked_enc.c > index

Re: [FFmpeg-devel] [RFC/PATCH] bitpacked_dec: Optimization for bitpacked_dec decoder performance

2023-05-06 Thread Lance Wang
On Sat, May 6, 2023 at 4:58 AM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > Rework the code a bit to speed up the 10-bit bitpacked decoding > routine. This is probably about as fast as I can get it without > switching to assembly language. > > Demonstratable with: > > ./ffmpeg

Re: [FFmpeg-devel] [PATCH v5 1/6] ccfifo: Properly handle CEA-708 captions through framerate conversion

2023-05-05 Thread Lance Wang
ing frames at the appropriate rate given the target > framerate. This includes both having the correct cc_count as > well as clocking out the 608 pairs at the appropriate rate. > > Thanks for Lance Wang and Anton > Khirnov for providing review/feedback. > > Signed-off-by: Devin He

Re: [FFmpeg-devel] [PATCH v4 6/6] decklink_enc: add support for playout of 608 captions in MOV files

2023-05-03 Thread Lance Wang
On Tue, May 2, 2023 at 10:48 PM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > Hi Lance, > > On Sun, Apr 30, 2023 at 7:01 PM Lance Wang wrote: > > This implementation is limited to decklink SDI output only, If > possible, > > can we implement t

Re: [FFmpeg-devel] [PATCH v4 6/6] decklink_enc: add support for playout of 608 captions in MOV files

2023-04-30 Thread Lance Wang
On Fri, Apr 28, 2023 at 11:43 PM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > Unlike other cases where the closed captions are embedded in the > video stream as MPEG-2 userdata or H.264 SEI data, with MOV files > the captions are often found on a separate "e608" subtitle track. >

Re: [FFmpeg-devel] [PATCH v4 5/6] vf_ccrepack: Add new filter to repack CEA-708 side data

2023-04-30 Thread Lance Wang
On Fri, Apr 28, 2023 at 11:43 PM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > THis filter can correct certain issues seen from upstream sources > where the cc_count is not properly set or the CEA-608 tuples are > not at the start of the payload as expected. > > Make use of the

Re: [FFmpeg-devel] [PATCH v3 1/5] ccfifo: Properly handle CEA-708 captions through framerate conversion

2023-04-27 Thread Lance Wang
On Wed, Apr 26, 2023 at 10:14 PM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > Hi Lance, > > Thank you for your review. Comments inline. > > On Tue, Apr 25, 2023 at 10:28 AM Lance Wang > wrote: > > > +/* Based on the target FPS,

Re: [FFmpeg-devel] [PATCH v3 1/5] ccfifo: Properly handle CEA-708 captions through framerate conversion

2023-04-25 Thread Lance Wang
On Fri, Apr 21, 2023 at 9:29 PM Devin Heitmueller < devin.heitmuel...@ltnglobal.com> wrote: > When transcoding video that contains 708 closed captions, the > caption data is tied to the frames as side data. Simply dropping > or adding frames to change the framerate will result in loss of > data,

Re: [FFmpeg-devel] [PATCH major bump 0/6] Fix HDR vivid support

2023-02-02 Thread Lance Wang
The patchset lgtm. thanks. On Thu, Feb 2, 2023 at 3:11 PM Zhao Zhili wrote: > From: Zhao Zhili > > Only patch 1/6 needs to go with major version bump. > > Zhao Zhili (6): > libavutil/hdr_dynamic_vivid_metadata: fix > AVHDRVividColorToneMappingParams > libavcodec/dynamic_hdr_vivid: fix

Re: [FFmpeg-devel] [PATCH 2/5] avformat/mxfdec: reindent code

2020-05-04 Thread Lance Wang
On Mon, May 4, 2020 at 4:13 PM Tomas Härdin wrote: > tor 2020-04-30 klockan 20:59 +0800 skrev lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/mxfdec.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH v2] lavf/vf_find_rect: add the dual input support function

2019-06-27 Thread Lance Wang
On Thu, Jun 27, 2019 at 09:40:22AM +0200, Moritz Barsnick wrote: > On Thu, Jun 27, 2019 at 10:12:35 +0800, lance.lmw...@gmail.com wrote: > > +This filter takes in two video input, the first input is considered > ^ inputs > > +the "main" source and is passed

Re: [FFmpeg-devel] [PATCH v3 1/6] libavfilter/vf_overlay.c: change the comment style for the following macro defined function

2019-06-24 Thread Lance Wang
On Thu, Jun 6, 2019 at 3:10 PM wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_overlay.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c > index 0a8f089c0d..b468cedf2e

Re: [FFmpeg-devel] [PATCH v5 2/3] ibavfilter/vf_cover_rect.c: change the cover_rect function for support cover frame can be changed

2019-06-16 Thread Lance Wang
On Sun, Jun 16, 2019 at 3:24 PM Michael Niedermayer wrote: > On Sat, Jun 15, 2019 at 12:48:25AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_cover_rect.c | 17 ++--- > > 1 file changed, 10 insertions(+), 7

Re: [FFmpeg-devel] [PATCH v4] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-16 Thread Lance Wang
On Sun, Jun 16, 2019 at 3:26 PM Michael Niedermayer wrote: > On Sun, Jun 16, 2019 at 07:11:27AM +0800, Lance Wang wrote: > > On Sun, Jun 16, 2019 at 6:20 AM Michael Niedermayer > > > wrote: > > > > > On Fri, Jun 14, 2019 at 11:52:47PM +0800, Lance Wang wrote:

Re: [FFmpeg-devel] [PATCH v2] libavcodec/videotoolboxenc: Fix compilation broken on macOS 10.12

2019-06-15 Thread Lance Wang
On Fri, Jun 7, 2019 at 11:13 PM wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/videotoolboxenc.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c > index 3665581..f8ccdea 100644 > ---

Re: [FFmpeg-devel] [PATCH v4] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-15 Thread Lance Wang
On Sun, Jun 16, 2019 at 6:20 AM Michael Niedermayer wrote: > On Fri, Jun 14, 2019 at 11:52:47PM +0800, Lance Wang wrote: > > On Fri, Jun 14, 2019 at 5:31 PM Michael Niedermayer > > > wrote: > > > > > On Wed, Jun 12, 2019 at 06:50:18PM +0800, lance.lmw...@gmail

Re: [FFmpeg-devel] [PATCH v5 2/3] vf_find_rect.c: use the optimized sad function to improve the find performance

2019-06-15 Thread Lance Wang
On Sun, Jun 16, 2019 at 6:41 AM Michael Niedermayer wrote: > On Sat, Jun 15, 2019 at 06:39:38AM +0800, Lance Wang wrote: > > On Sat, Jun 15, 2019 at 3:02 AM Michael Niedermayer > > > wrote: > > > > > Hi > > > > > > On Wed, Jun 12, 2019

Re: [FFmpeg-devel] [PATCH v5 1/3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-15 Thread Lance Wang
On Sun, Jun 16, 2019 at 6:16 AM Michael Niedermayer wrote: > On Sat, Jun 15, 2019 at 06:53:20AM +0800, Lance Wang wrote: > > On Sat, Jun 15, 2019 at 3:16 AM Michael Niedermayer > > > wrote: > > > > > On Wed, Jun 12, 2019 at 06:57:29PM +0800, lance.lmw...@gmail

Re: [FFmpeg-devel] [PATCH v5 1/3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-14 Thread Lance Wang
On Sat, Jun 15, 2019 at 3:16 AM Michael Niedermayer wrote: > On Wed, Jun 12, 2019 at 06:57:29PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi | 2 +- > > libavfilter/vf_find_rect.c | 39

Re: [FFmpeg-devel] [PATCH v5 3/3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-14 Thread Lance Wang
On Sat, Jun 15, 2019 at 3:10 AM Michael Niedermayer wrote: > On Sat, Jun 15, 2019 at 12:48:26AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi| 2 +- > > libavfilter/vf_cover_rect.c | 40 >

Re: [FFmpeg-devel] [PATCH v5 2/3] vf_find_rect.c: use the optimized sad function to improve the find performance

2019-06-14 Thread Lance Wang
On Sat, Jun 15, 2019 at 3:02 AM Michael Niedermayer wrote: > Hi > > On Wed, Jun 12, 2019 at 06:57:30PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > benchmark on x86_64: 6.4 -> 16 with below command: > > ./ffmpeg -i 1920x1080.mp4 -vf >

Re: [FFmpeg-devel] [PATCH v4] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-14 Thread Lance Wang
On Fri, Jun 14, 2019 at 5:31 PM Michael Niedermayer wrote: > On Wed, Jun 12, 2019 at 06:50:18PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi| 6 ++-- > > libavfilter/vf_cover_rect.c | 56

Re: [FFmpeg-devel] [PATCH v4 2/2] doc/filters.texi: don't need to be in gray8 for find image

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:23 AM Michael Niedermayer wrote: > On Tue, Jun 11, 2019 at 02:07:30PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH v3 2/3] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:43 PM Moritz Barsnick wrote: > On Tue, Jun 11, 2019 at 13:38:43 +0800, lance.lmw...@gmail.com wrote: > > @@ -220,11 +248,6 @@ static av_cold int init(AVFilterContext *ctx) > > >cover_frame->width, > >cover_frame->height, > >

Re: [FFmpeg-devel] [PATCH v3 2/3] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 4:51 AM Michael Niedermayer wrote: > On Tue, Jun 11, 2019 at 01:38:43PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_cover_rect.c | 49 +++-- > > 1 file changed,

Re: [FFmpeg-devel] [PATCH v3 3/3] doc/filters.texi: Don't need to be yuv420 format for cover image

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:46 PM Moritz Barsnick wrote: > On Tue, Jun 11, 2019 at 13:38:44 +0800, lance.lmw...@gmail.com wrote: > > doc/filters.texi | 2 +- > > While you're at it, could you kindly add another patch to fix the > descriptions of the examples for find_rect and cover_rect? They are

Re: [FFmpeg-devel] [PATCH v3 2/3] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-11 Thread Lance Wang
On Wed, Jun 12, 2019 at 4:51 AM Michael Niedermayer wrote: > On Tue, Jun 11, 2019 at 01:38:43PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_cover_rect.c | 49 +++-- > > 1 file changed,

Re: [FFmpeg-devel] [PATCH v4 2/2] doc/filters.texi: don't need to be in gray8 for find image

2019-06-11 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:23 AM Michael Niedermayer wrote: > On Tue, Jun 11, 2019 at 02:07:30PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_blend.c: remove duplicate code with macro-defined function

2019-06-10 Thread Lance Wang
On Mon, May 27, 2019 at 2:22 PM wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_blend.c | 188 +++-- > 1 file changed, 48 insertions(+), 140 deletions(-) > > diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c > index

Re: [FFmpeg-devel] [PATCH v3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-08 Thread Lance Wang
On Sun, Jun 9, 2019 at 4:38 AM Michael Niedermayer wrote: > On Sat, Jun 08, 2019 at 06:53:58AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_find_rect.c | 40 +++- > > 1 file changed,

Re: [FFmpeg-devel] [PATCH v3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-08 Thread Lance Wang
On Sun, Jun 9, 2019 at 5:41 AM Michael Niedermayer wrote: > On Sat, Jun 08, 2019 at 06:53:58AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_find_rect.c | 40 +++- > > 1 file changed,

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc: Fix for the compiler error for my old mac pro

2019-06-07 Thread Lance Wang
On Fri, Jun 7, 2019 at 11:52 PM Thilo Borgmann wrote: > Am 07.06.19 um 17:21 schrieb Lance Wang: > > On Fri, Jun 7, 2019 at 8:36 PM Marvin Scholz wrote: > > > >> On 7 Jun 2019, at 11:59, lance.lmw...@gmail.com wrote: > >> > >>> From: Limi

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_cover_rect.c: free the allocated frame

2019-06-07 Thread Lance Wang
On Fri, Jun 7, 2019 at 11:13 PM Michael Niedermayer wrote: > On Thu, Jun 06, 2019 at 04:30:56PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_cover_rect.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > >

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc: Fix for the compiler error for my old mac pro

2019-06-07 Thread Lance Wang
On Fri, Jun 7, 2019 at 8:36 PM Marvin Scholz wrote: > On 7 Jun 2019, at 11:59, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > This looks like a different approach to a similar patch sent before > by Thilo. > > --- > > libavcodec/videotoolboxenc.c |

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-07 Thread Lance Wang
On Fri, Jun 7, 2019 at 6:56 AM Michael Niedermayer wrote: > On Thu, Jun 06, 2019 at 01:54:41PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_find_rect.c | 37 ++--- > > 1 file changed, 26

Re: [FFmpeg-devel] [PATCH v3 5/6] libavfilter/vf_overlay.c: add the yuv420p10 10bit support

2019-06-06 Thread Lance Wang
On Thu, Jun 6, 2019 at 3:10 PM wrote: > From: Limin Wang > > The test ffmpeg command in iMAC system: > ./ffmpeg -y -i input.ts -i ./logo.png -filter_complex > overlay=50:50:format=yuv420p10 -c:v hevc_videotoolbox ./test.ts > Now I have tested with yuv420p10 overlay and check the result is OK,

Re: [FFmpeg-devel] [PATCH 5/5] libavfilter/vf_overlay.c: add the yuv420p10 10bit support

2019-06-06 Thread Lance Wang
OK, I'll update the doc/filters.texi for the new option for the update patch. Thanks for the feedback. On Thu, Jun 6, 2019 at 2:19 PM Liu Steven wrote: > > > > 在 2019年6月6日,下午2:06,Lance Wang 写道: > > > > On Sun, May 26, 2019 at 8:08 AM wrote: > > > >&g

Re: [FFmpeg-devel] [PATCH 5/5] libavfilter/vf_overlay.c: add the yuv420p10 10bit support

2019-06-06 Thread Lance Wang
On Sun, May 26, 2019 at 8:08 AM wrote: > From: Limin Wang > > The test ffmpeg command in iMAC system: > ./ffmpeg -y -i input.ts -i ./logo.png -filter_complex > overlay=50:50:format=yuv420p10 -c:v hevc_videotoolbox ./test.ts > Now I have tested with yuv420p10 overlay and check the result is

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/nvenc: add master display and light level sei for HDR10

2019-05-29 Thread Lance Wang
On Wed, May 29, 2019 at 7:11 PM Dennis Mungai wrote: > On Tue, May 28, 2019, 01:15 James Almer wrote: > > > On 5/27/2019 7:13 PM, Timo Rothenpieler wrote: > > > On 27.05.2019 23:49, Lance Wang wrote: > > >> On Saturday, May 25, 2019, James Almer wrote: &g

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/nvenc: add master display and light level sei for HDR10

2019-05-27 Thread Lance Wang
On Saturday, May 25, 2019, James Almer wrote: > On 5/22/2019 3:59 AM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > The testing command for the HDR10 output with nvenc: > > $ ./ffmpeg_g -y -i 4K.mp4 -c:v hevc_nvenc -g 7 -color_primaries bt2020 > -colorspace bt2020_ncl -color_trc

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_overlay.c: using the nbits and depth for 8bits and 10bit support

2019-05-25 Thread Lance Wang
On Sat, May 25, 2019 at 7:52 PM Michael Niedermayer wrote: > On Fri, May 24, 2019 at 05:36:15PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > --- > > libavfilter/vf_overlay.c | 69 +--- > > 1 file changed, 44 insertions(+), 25

Re: [FFmpeg-devel] [PATCH 2/7] libavfilter/vf_overlay.c: Add '\' for every line of the blend_slice_yuv function by vim column edit

2019-05-24 Thread Lance Wang
On Saturday, May 25, 2019, Carl Eugen Hoyos wrote: > Am Fr., 24. Mai 2019 um 11:36 Uhr schrieb : > > > > From: Limin Wang > > > > --- > > libavfilter/vf_overlay.c | 52 > > 1 file changed, 26 insertions(+), 26 deletions(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/nvenc: add master display and light level sei for HDR10

2019-05-24 Thread Lance Wang
On Wed, May 22, 2019 at 9:54 PM Timo Rothenpieler wrote: > On 22.05.2019 08:59, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > The testing command for the HDR10 output with nvenc: > > $ ./ffmpeg_g -y -i 4K.mp4 -c:v hevc_nvenc -g 7 -color_primaries bt2020 > -colorspace bt2020_ncl