[FFmpeg-devel] [PATCH] libavcodec/libx265.c: support for the x265 loglevel configured with ffmpeg loglevel option

2018-10-14 Thread lance . lmwang
From: Limin Wang --- libavcodec/libx265.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 27c90b3..3a08767 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -108,6 +108,24 @@ static av_cold int

[FFmpeg-devel] [PATCH] libavcodec/libdavs2.c: Fix for the wrong line size is used

2018-10-08 Thread lance . lmwang
From: Limin Wang --- libavcodec/libdavs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index aa14782..91ad7a4 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -88,7 +88,7 @@ static int

[FFmpeg-devel] [PATCH 2/2] avcodec/nvenc: add master display and light level sei data for hdr10

2019-05-17 Thread lance . lmwang
From: Limin Wang --- libavcodec/nvenc.c | 73 + libavcodec/nvenc.h | 1 + libavcodec/nvenc_hevc.c | 2 ++ 3 files changed, 76 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 77eb9918a4..55547d4246 100644 ---

[FFmpeg-devel] [PATCH 1/2] avcodec/nvenc: add more sei data support

2019-05-17 Thread lance . lmwang
From: Limin Wang --- libavcodec/nvenc.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 3fe64bba8b..77eb9918a4 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -1705,7 +1705,8 @@

Re: [FFmpeg-devel] [PATCH 1/7] libavfilter/vf_overlay.c: change the commands style for the macro defined function

2019-05-24 Thread lance . lmwang
___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

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

2019-05-27 Thread lance . lmwang
From: Limin Wang The testing command for the HDR10 output with nvenc: $ ./ffmpeg_g -y -i 4K.mp4 -c:v hevc_nvenc -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 -sei hdr10 \ -master_display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(1000,50)"

[FFmpeg-devel] [PATCH v2 3/3] avcodec/nvenc: add more sei support for SDR HLG

2019-05-27 Thread lance . lmwang
From: Limin Wang The testing command for the atc HLG output with nvenc: ./ffmpeg_g -y -i 4K.mp4 -c:v hevc_nvenc -g 7 -color_primaries bt2020 -colorspace bt2020_ncl -color_trc arib-std-b67 -sei hlg test.ts Signed-off-by: Limin Wang --- libavcodec/nvenc.c | 22 ++

[FFmpeg-devel] [PATCH v2 1/3] avcodec/nvenc: add more sei data support

2019-05-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 3fe64bba8b..75dda6d689 100644 --- a/libavcodec/nvenc.c +++

[FFmpeg-devel] [PATCH 4/5] libavfilter/vf_overlay.c: using the nbits and depth for 8bits and 10bit support Have fix the build issue for other platform by Michael Niedermayer comments: https://patchwor

2019-05-25 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 79 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ee51a54659..2d06074f15 100644 --- a/libavfilter/vf_overlay.c +++

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

2019-05-25 Thread lance . lmwang
From: 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 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -500,7 +500,7

[FFmpeg-devel] [PATCH 3/5] libavfilter/vf_overlay.c: define the macro-style function to support 8bit and 10bit blend, keep the 8bit function same now

2019-05-25 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 52 ++-- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ba8147f579..ee51a54659 100644 --- a/libavfilter/vf_overlay.c +++

[FFmpeg-devel] [PATCH 2/5] libavfilter/vf_overlay.c: Add "\" for the following macro style function

2019-05-25 Thread lance . lmwang
From: Limin Wang Merge the old patch 2/3/4 into one by Carl Eugen comments: https://patchwork.ffmpeg.org/patch/13270/ --- libavfilter/vf_overlay.c | 358 +++ 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/libavfilter/vf_overlay.c

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

2019-05-25 Thread lance . lmwang
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, please help to test with your condition. ---

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

2019-06-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 40 +--- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c index d7e6579..8c6e928 100644 ---

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

2019-06-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/videotoolboxenc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 3665581..e4f44e5 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@

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

2019-06-07 Thread lance . lmwang
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 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c

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

2019-06-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_cover_rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index 41cd1a1..ac0f684 100644 --- a/libavfilter/vf_cover_rect.c +++

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

2019-06-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 40 +++- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c index d7e6579..6fe12fe 100644 ---

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

2019-06-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_cover_rect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index 41cd1a12b9..d63c03215d 100644 --- a/libavfilter/vf_cover_rect.c +++

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

2019-06-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 37 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c index d7e6579af7..abf7d89d21 100644 ---

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

2019-06-06 Thread lance . lmwang
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 100644 --- a/libavfilter/vf_overlay.c +++

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

2019-06-06 Thread lance . lmwang
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, please help to test with your condition.

[FFmpeg-devel] [PATCH v3 3/6] libavfilter/vf_overlay.c: define the macro-style function to support 8bit and 10bit blend, keep the 8bit function same now

2019-06-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_overlay.c | 52 ++-- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ba8147f579..ee51a54659 100644 ---

[FFmpeg-devel] [PATCH v3 2/6] libavfilter/vf_overlay.c: Add "\" for the following macro style function

2019-06-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_overlay.c | 358 +++ 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index b468cedf2e..ba8147f579 100644 ---

[FFmpeg-devel] [PATCH v3 6/6] doc/filters.texi: add overlay yuv420p10 format

2019-06-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 5db8e0302f..b0e951c9f9 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -13159,6 +13159,9 @@ It accepts the following values:

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

2019-06-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_overlay.c | 79 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ee51a54659..70961befa5 100644 ---

[FFmpeg-devel] [PATCH 1/2] libavfilter/vf_blend.c: remove duplicate code with same funcion

2019-05-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_blend.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c index 83f3d591a8..46e0518d26 100644 --- a/libavfilter/vf_blend.c +++

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

2019-05-27 Thread lance . lmwang
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 46e0518d26..cf71200773 100644 ---

[FFmpeg-devel] [PATCH v5 1/3] doc/filters.texi: Fix the confusing description for find_rect and cover_rect command

2019-06-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7..4d48068 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -10166,7 +10166,7 @@ Specifies the

[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 . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi| 2 +- libavfilter/vf_cover_rect.c | 40 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 4d48068..4594a61 100644 ---

[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-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_cover_rect.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index 898debf..b66c40b 100644 --- a/libavfilter/vf_cover_rect.c +++

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

2019-06-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi| 6 ++-- libavfilter/vf_cover_rect.c | 56 +++-- 2 files changed, 44 insertions(+), 18 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7591..4594a61c13 100644

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

2019-06-12 Thread lance . lmwang
From: Limin Wang benchmark on x86_64: 6.4 -> 16 with below command: ./ffmpeg -i 1920x1080.mp4 -vf find_rect=./find.tif,cover_rect=./cover.jpg:mode=cover -f null - 6.4 fps -> 16fps Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 53 +++--- 1 file

[FFmpeg-devel] [PATCH v5 3/3] vf_find_rect.c: improve the find object detect performance

2019-06-12 Thread lance . lmwang
From: Limin Wang Test with my samples with same test command, the detect function is OK, however the benchmark result is from 16fps to 400fps Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git

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

2019-06-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 +- libavfilter/vf_find_rect.c | 39 +++--- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7591..90c57430a6 100644

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

2019-06-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi| 2 +- libavfilter/vf_cover_rect.c | 40 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 4d48068..4594a61 100644 ---

[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-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_cover_rect.c | 49 +++-- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index 898debf09d..22389b79d2 100644 ---

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

2019-06-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_cover_rect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index 41cd1a12b9..898debf09d 100644 --- a/libavfilter/vf_cover_rect.c +++ b/libavfilter/vf_cover_rect.c @@

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

2019-06-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7591..948d7e8423 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -10180,7 +10180,7 @@ It accepts the

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

2019-06-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7591..90c57430a6 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -10150,7 +10150,7 @@ It accepts the

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

2019-06-11 Thread lance . lmwang
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 46e0518d26..cf71200773 100644 ---

[FFmpeg-devel] [PATCH v2 1/2] libavfilter/vf_blend.c: remove duplicate code with same function

2019-06-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_blend.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c index 83f3d591a8..46e0518d26 100644 --- a/libavfilter/vf_blend.c +++

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

2019-06-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_cover_rect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c index 41cd1a12b9..898debf09d 100644 --- a/libavfilter/vf_cover_rect.c +++ b/libavfilter/vf_cover_rect.c @@

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

2019-06-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 39 --- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c index d7e6579..ee6c3f4 100644 ---

[FFmpeg-devel] [PATCH v1 2/2] libavformat/file: initilize the fd to -1 instead of 0(valid fd) in case unexpected file close

2019-06-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/file.c b/libavformat/file.c index 08c7f8e6dd..40ae9ad2a8 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -274,6 +274,7 @@ static int

[FFmpeg-devel] [PATCH v1 1/2] libavformat/avio: Fix for the unexpected file close which will cause fd 0 is closed

2019-06-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/avio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 663789ec02..c1d10ee8c3 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -568,7 +568,6 @@ int

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

2019-06-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 +- libavfilter/vf_find_rect.c | 39 --- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7..4ee6a57 100644 ---

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

2019-05-22 Thread lance . lmwang
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 smpte2084 -sei hdr10 \ -master_display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(1000,50)"

[FFmpeg-devel] [PATCH 3/3] avcodec/nvenc: add more sei support for SDR HLG

2019-05-22 Thread lance . lmwang
From: Limin Wang The testing command for the HLG output with nvenc: ./ffmpeg_g -y -i 4K.mp4 -c:v hevc_nvenc -g 7 -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 -sei hlg test.ts --- libavcodec/nvenc.c | 24 libavcodec/nvenc.h | 1 +

[FFmpeg-devel] [PATCH 1/3] avcodec/nvenc: add more sei data support

2019-05-22 Thread lance . lmwang
From: Limin Wang --- libavcodec/nvenc.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 3fe64bba8b..75dda6d689 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -1705,7 +1705,8 @@

[FFmpeg-devel] [PATCH 1/7] libavfilter/vf_overlay.c: change the commands style for the macro defined function

2019-05-24 Thread lance . lmwang
From: 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 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -500,7 +500,7

[FFmpeg-devel] [PATCH 3/7] libavfilter/vf_overlay.c: Add '\' for every line of the alpha_composite function

2019-05-24 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 92 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index c1abd3e1b2..f36be1601b 100644 --- a/libavfilter/vf_overlay.c +++

[FFmpeg-devel] [PATCH 5/7] libavfilter/vf_overlay.c: define the macro-style function to support 8bit and 10bit blend, keep the 8bit function same now

2019-05-24 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 52 ++-- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ba8147f579..ee51a54659 100644 --- a/libavfilter/vf_overlay.c +++

[FFmpeg-devel] [PATCH 4/7] libavfilter/vf_overlay.c: Add '\' for every line of the blend_plane function

2019-05-24 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 214 +++ 1 file changed, 107 insertions(+), 107 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index f36be1601b..ba8147f579 100644 --- a/libavfilter/vf_overlay.c +++

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

2019-05-24 Thread lance . lmwang
From: Limin Wang The test ffmpeg command in iMAC: ./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 8bit and check the result is OK --- libavfilter/vf_overlay.c | 54

[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 . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 52 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index b468cedf2e..c1abd3e1b2 100644 --- a/libavfilter/vf_overlay.c +++

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

2019-05-24 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 69 +--- 1 file changed, 44 insertions(+), 25 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ee51a54659..8376494efc 100644 --- a/libavfilter/vf_overlay.c +++

[FFmpeg-devel] [PATCH] vf_tonemap.c: Support for slice thread for performance

2019-05-05 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_tonemap.c | 109 +-- 1 file changed, 81 insertions(+), 28 deletions(-) diff --git a/libavfilter/vf_tonemap.c b/libavfilter/vf_tonemap.c index efd4af5466..0b26dd5e7f 100644 --- a/libavfilter/vf_tonemap.c +++

[FFmpeg-devel] [PATCH] lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for videotoolboxenc

2019-06-26 Thread lance . lmwang
From: Limin Wang Below is the testing ffmpeg command for the setting: ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 smpte2048.ts ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 -colorspace bt2020_ncl

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg: fix video frame lost sync for the dual input ts files with audio

2019-07-10 Thread lance . lmwang
From: Limin Wang How to reproduce the problem(use two ts files with audio stream): ffmpeg -i left_w_a.ts -i right_w_a.ts -filter_complex "hstack=inputs=2" -f null - With above command, the audio stream of the second input will be discarded default, however the start_time is initalized from

[FFmpeg-devel] [PATCH v2] libavformat/avio: Fix for the unexpected file close which will cause fd 0 is closed

2019-07-13 Thread lance . lmwang
From: Limin Wang By the code, is_connected is used to check file open or not, so after open_dir is done, we should not set is_connected to 1, it'll cause the function ffurl_closep will invoke the url_close and cause unexpected file close. Signed-off-by: Limin Wang --- libavformat/avio.c | 1

[FFmpeg-devel] [PATCH] lavf/vf_freezedetect: improve for the freeze frame detection

2019-07-13 Thread lance . lmwang
From: Limin Wang I have samples failed to detect the freeze frame with the default -60dB noise(-40dB is OK to detect), after apply the patch, it's ok to detect. I run the testing with fate-suite sample for your testing: old: no freeze frame detect. with the patch: ./ffmpeg -i

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

2019-06-26 Thread lance . lmwang
From: Limin Wang Please using the below command for the testing: ./ffmpeg -i input.ts -i ref.png -filter_complex find_rect,cover_rect=cover.jpg:mode=cover output.ts I have updated the help document for the function change. Signed-off-by: Limin Wang --- doc/filters.texi | 12

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

2019-06-26 Thread lance . lmwang
From: Limin Wang Please using the below command for the testing: ./ffmpeg -i input.ts -i ref.png -filter_complex find_rect,cover_rect=cover.jpg:mode=cover output.ts I have updated the help document for the function change. Signed-off-by: Limin Wang --- doc/filters.texi | 12 +--

[FFmpeg-devel] [PATCH] fftools/ffmpeg: fix video frame lost sync for the dual input ts files with audio

2019-07-08 Thread lance . lmwang
From: Limin Wang How to reproduce the problem(use two ts files with audio stream): ffmpeg -i left_w_a.ts -i right_w_a.ts -filter_complex "hstack=inputs=2" -f null - With above command, the audio stream of the second input will be discarded default, however the start_time is initalized from

[FFmpeg-devel] [PATCH v2 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-16 Thread lance . lmwang
From: Limin Wang Have tested all available pixel format in the code: 1. AV_PIX_FMT_RGBA, AV_PIX_FMT_ABGR, AV_PIX_FMT_BGRA, AV_PIX_FMT_GRAY8 are tested by autoscale with the fate sample: Vertical400kbit.sorenson3.mov pkt_pts=20040 scenecut haven't been detected for serveral format 2.

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

2019-06-27 Thread lance . lmwang
From: Limin Wang Please using the below command for the testing: ./ffmpeg -i input.ts -i ref.png -filter_complex find_rect,cover_rect=cover.jpg:mode=cover output.ts I have updated the help document for the function change. Reviewed-by: Moritz Barsnick Signed-off-by: Limin Wang ---

[FFmpeg-devel] [PATCH v1 2/2] FATE: add a test for freeezedetect

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 + tests/ref/fate/filter-metadata-freezedetect | 251 2 files changed, 255 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-freezedetect diff --git

[FFmpeg-devel] [PATCH v1 1/2] avfilter/vsrc_mptestsrc: add option to set the max number frames generated for each tests

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 3 +++ libavfilter/vsrc_mptestsrc.c | 27 +++ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index e081cdc7bc..d3d468b445 100644 ---

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vsrc_mptestsrc: simplify the code and change the type of frame

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_mptestsrc.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c index 4a2db18..14e66fd 100644 ---

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vsrc_mptestsrc: add options to set the maximum number of frames

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 3 +++ libavfilter/vsrc_mptestsrc.c | 29 + 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index e081cdc..902e5bf 100644 ---

[FFmpeg-devel] [PATCH v2 3/3] FATE: add a test for freeezedetect

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 + tests/ref/fate/filter-metadata-freezedetect | 251 2 files changed, 255 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-freezedetect diff --git

[FFmpeg-devel] [PATCH v1] fftools/ffmpeg_opt: avoid to display the hwaccels name twice

2019-08-14 Thread lance . lmwang
From: Limin Wang videotoolbox and qsv have been defined by hw_type_names[] in hwcontext.c Signed-off-by: Limin Wang --- fftools/ffmpeg_opt.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index f5ca18a..8baa898 100644 ---

[FFmpeg-devel] [PATCH v2] avfilter/f_select: yuv will use Y plane only for scenecut detect

2019-08-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_select.c | 3 ++- tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index

[FFmpeg-devel] [PATCH v1] fftools/ffmpeg_opt: avoid to display the hwaccels name twice

2019-08-14 Thread lance . lmwang
From: Limin Wang videotoolbox and qsv have been defined by hw_type_names[] in hwcontext.c Fixes ticket #7464 Signed-off-by: Limin Wang --- fftools/ffmpeg_opt.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index f5ca18a..8baa898 100644

[FFmpeg-devel] [PATCH v1] lavf/dump: dump the vbv_delay with N/A instead of 18446744073709551615

2019-08-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dump.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index a3791a3..56814ff 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -321,13 +321,16 @@ static

[FFmpeg-devel] [PATCH v1] lavf/hlsenc: fix one warning: unused variable 'filename' [-Wunused-variable]

2019-08-18 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f6f9c8161d..149b2a3bd0 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1571,7 +1571,7 @@

[FFmpeg-devel] [PATCH v1] lavf/dump: add the valid check for consistent

2019-08-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dump.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 1c44656..d3c0299 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -328,6 +328,11 @@ static void

[FFmpeg-devel] [PATCH v2] avfilter/showinfo: support Content Light Level information

2019-08-10 Thread lance . lmwang
From: Limin Wang show real information instead of the unknown side data type message for HDR10 stream Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 17 + 1 file changed, 17 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index

[FFmpeg-devel] [PATCH v2 1/2] lavf/dump: use error log level for invalid size

2019-08-10 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 1c44656..68ce9a8 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -210,7 +210,7 @@ static

[FFmpeg-devel] [PATCH v2 2/2] lavf/dump: add the valid check for consistent

2019-08-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dump.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 68ce9a8..4b18032 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -328,6 +328,11 @@ static void

[FFmpeg-devel] [PATCH v1] avfilter/f_select: yuv will use Y plane only for scenecut detect

2019-08-10 Thread lance . lmwang
From: Limin Wang It'll improve about +0.1 threshold for scenecut detect Signed-off-by: Limin Wang --- libavfilter/f_select.c | 5 - tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 12 insertions(+), 9 deletions(-) diff --git

[FFmpeg-devel] [PATCH v3] avfilter/f_select: yuv will use Y plane only for scenecut detect

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_select.c | 5 - tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index

[FFmpeg-devel] [PATCH v3] avfilter/f_select: yuv will use Y plane only for scenecut detect

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_select.c | 6 +- tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index

[FFmpeg-devel] [PATCH v3] avfilter/f_select: yuv will use Y plane only for scenecut detect

2019-08-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_select.c | 5 - tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index

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

2019-08-19 Thread lance . lmwang
From: Limin Wang 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/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH v1 1/2] avcodec/videotoolboxenc: add H264 Extended profile and level

2019-08-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/videotoolboxenc.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index d76bb7f646..b16b056f6c 100644 --- a/libavcodec/videotoolboxenc.c +++

[FFmpeg-devel] [PATCH v1 2/2] avcodec/videotoolboxenc: return error for invalid/unsupport profile or level

2019-08-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/videotoolboxenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index b16b056f6c..52fc531af3 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c

[FFmpeg-devel] [PATCH v1] fftoos/ffmpeg_opt: avoid to display the hwaccels name twice

2019-08-13 Thread lance . lmwang
From: Limin Wang videotoolbox and qsv have been defined by hw_type_names[] in hwcontext.c Signed-off-by: Limin Wang --- fftools/ffmpeg_opt.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index f5ca18a..8baa898 100644 ---

[FFmpeg-devel] [PATCH v1 3/3] avfilter/vf_show: display QP table data and properties side data

2019-08-24 Thread lance . lmwang
From: Limin Wang Below is the final displaying format for the QP table data and properties, timecode: [Parsed_showinfo_0 @ 0x364fdc0] side data - pan/scan [Parsed_showinfo_0 @ 0x364fdc0] side data - QP table data (1350 bytes) [Parsed_showinfo_0 @ 0x364fdc0] side data - QP table properties

[FFmpeg-devel] [PATCH v1 2/3] avfilter/vf_showinfo: display GOP timecode side data

2019-08-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 3c13f11..31f6b32 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -313,6

[FFmpeg-devel] [PATCH v1 1/3] avfilter/f_sidedata: try to fix warning: comparison of constant -1 with expression of type 'enum AVFrameSideDataType'

2019-08-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_sidedata.c | 10 +- libavutil/frame.h| 10 ++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c index 381da5a..3082aa6 100644 ---

[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 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

[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

[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 ---

[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

[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

[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

  1   2   3   4   5   6   7   8   9   10   >