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

2019-06-28 Thread Limin Wang
On Fri, Jun 28, 2019 at 09:49:27AM +0200, Michael Niedermayer wrote: > On Thu, Jun 27, 2019 at 05:40:31PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Please using the below command for the testing: > > ./ffmpeg -i input.ts -i ref.png -fi

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

2019-07-08 Thread Limin Wang
Richard Kern, please help to review the patch. On Wed, Jun 26, 2019 at 06:57:59PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Below is the testing ffmpeg command for the setting: > ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020 > -colors

Re: [FFmpeg-devel] [PATCH] lavf/vf_stack: add keep_dar option for vstack and hstack

2019-07-08 Thread Limin Wang
On Mon, Jul 08, 2019 at 05:44:06PM +0530, Gyan wrote: > > > On 08-07-2019 04:18 PM, lance.lmw...@gmail.com wrote: > >From: Limin Wang > > > >It's useful to compare two 4K videos quality side by side on 4K TV. > > > >Signed-off-by: Limin W

Re: [FFmpeg-devel] [PATCH] lavf/vf_stack: add keep_dar option for vstack and hstack

2019-07-08 Thread Limin Wang
On Mon, Jul 08, 2019 at 01:52:16PM +0200, Moritz Barsnick wrote: > On Mon, Jul 08, 2019 at 18:48:46 +0800, lance.lmw...@gmail.com wrote: > > +@item keep_dar > > +stack with 1/nb_inputs of each inputs screen to keep the same DAR, Default > > is 0. > ^ > Probably "i

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

2019-07-10 Thread Limin Wang
On Tue, Jul 09, 2019 at 07:49:23PM +0200, Michael Niedermayer wrote: > On Mon, Jul 08, 2019 at 06:34:12PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > How to reproduce the problem(use two ts files with audio stream): > > ffmpeg -i left_w_a.ts -i r

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

2019-07-10 Thread Limin Wang
ping? I have developed code to use avio_open_dir function, after using avio_close_dir to release the resource, my ffmepg command will lost interact for the fd 0 is closed by avio_close_dir. On Tue, Jun 18, 2019 at 06:45:13PM +0800, lance.lmw...@gmail.com wrote: > From: Limin W

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

2019-07-10 Thread Limin Wang
On Thu, Jul 11, 2019 at 11:16:49AM +0800, myp...@gmail.com wrote: > On Wed, Jul 10, 2019 at 11:11 PM Limin Wang wrote: > > > > > > ping? I have developed code to use avio_open_dir function, after using > > avio_close_dir > > to release the resource, my ffmepg c

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

2019-07-12 Thread Limin Wang
On Fri, Jul 12, 2019 at 10:44:48PM +0200, Michael Niedermayer wrote: > On Tue, Jun 18, 2019 at 06:45:13PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/file.c | 1 + > > 1 file change

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

2019-07-12 Thread Limin Wang
On Fri, Jul 12, 2019 at 09:46:01PM +0200, Michael Niedermayer wrote: > On Thu, Jul 11, 2019 at 09:54:29AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > How to reproduce the problem(use two ts files with audio stream): > > ffmpeg -i left_w_a.ts -i r

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

2019-07-13 Thread Limin Wang
On Sat, Jul 13, 2019 at 07:24:59PM +0200, Marton Balint wrote: > > > On Sat, 13 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >I have samples failed to detect the freeze frame with the default -60dB > >noise(-40dB is OK to detect),

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

2019-07-14 Thread Limin Wang
On Sun, Jul 14, 2019 at 11:51:27AM +0200, Marton Balint wrote: > > > On Sun, 14 Jul 2019, Limin Wang wrote: > > >On Sat, Jul 13, 2019 at 07:24:59PM +0200, Marton Balint wrote: > >> > >> > >>On Sat, 13 Jul 2019, lance.lmw...@gmail.com wrote: > >

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

2019-07-15 Thread Limin Wang
On Mon, Jul 15, 2019 at 11:07:32PM +0200, Marton Balint wrote: > > > On Mon, 15 Jul 2019, Limin Wang wrote: > > [...] > > >>>>>if (s->width[plane]) { > >>>>>uint64_t plane_sad; > >>>>>

Re: [FFmpeg-devel] [PATCH 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-16 Thread Limin Wang
On Wed, Jul 17, 2019 at 12:58:04AM +0200, Marton Balint wrote: > > > On Tue, 16 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >This patch haven't make other pixel format usable yet to make sure the test > >result is same with rgb

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

2019-07-16 Thread Limin Wang
t; > > On Wed, Jul 10, 2019, 03:05 Aman Gupta wrote: > > > > > > > > > On Wed, Jun 26, 2019 at 4:25 AM wrote: > > > > > > > > > > > From: Limin Wang > > > > > > > > > > > > Below is the testing

Re: [FFmpeg-devel] [PATCH 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-17 Thread Limin Wang
On Wed, Jul 17, 2019 at 12:58:04AM +0200, Marton Balint wrote: > > > On Tue, 16 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >This patch haven't make other pixel format usable yet to make sure the test > >result is same with rgb

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

2019-07-17 Thread Limin Wang
On Wed, Jul 17, 2019 at 10:53:08AM -0400, Vittorio Giovara wrote: > On Tue, Jul 16, 2019 at 10:29 PM Limin Wang wrote: > > > On Tue, Jul 16, 2019 at 09:36:32PM -0400, Rick Kern wrote: > > > Testing for the new transfer functions when compiling for OSX 10.12 > > repor

Re: [FFmpeg-devel] [PATCH 2/3] fate: change the scenecut fate threshold for one more scenecut scenes

2019-07-17 Thread Limin Wang
On Wed, Jul 17, 2019 at 09:26:42PM +0200, Michael Niedermayer wrote: > On Tue, Jul 16, 2019 at 06:53:57AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > tests/fate/filter-video.mak

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

2019-07-17 Thread Limin Wang
On Wed, Jul 17, 2019 at 10:53:08AM -0400, Vittorio Giovara wrote: > On Tue, Jul 16, 2019 at 10:29 PM Limin Wang wrote: > > > On Tue, Jul 16, 2019 at 09:36:32PM -0400, Rick Kern wrote: > > > Testing for the new transfer functions when compiling for OSX 10.12 > > repor

Re: [FFmpeg-devel] [PATCH v2 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-19 Thread Limin Wang
On Fri, Jul 19, 2019 at 09:26:06PM +0200, Marton Balint wrote: > > > On Fri, 19 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >This patch haven't make other pixel format usable yet to make sure the test > >result is same with rgb32

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

2019-07-19 Thread Limin Wang
On Fri, Jul 19, 2019 at 09:23:24PM +0200, Marton Balint wrote: > > > On Fri, 19 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >Below is the tested results for the new added pixel format without autoscale > >to rgb24: > >1.

Re: [FFmpeg-devel] [PATCH v2 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-20 Thread Limin Wang
On Sat, Jul 20, 2019 at 09:36:37PM +0200, Marton Balint wrote: > > > On Sat, 20 Jul 2019, Limin Wang wrote: > > >On Fri, Jul 19, 2019 at 09:26:06PM +0200, Marton Balint wrote: > >> > >> > >>On Fri, 19 Jul 2019, lance.lmw...@gmail.com wrote: >

Re: [FFmpeg-devel] [PATCH v3 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-22 Thread Limin Wang
On Mon, Jul 22, 2019 at 11:13:46PM +0200, Marton Balint wrote: > > On Sun, 21 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >This patch haven't make other pixel format usable yet to make sure the test > >result is same with rgb32 for

Re: [FFmpeg-devel] [PATCH v15 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper

2019-07-29 Thread Limin Wang
On Mon, Jul 29, 2019 at 03:50:36PM +0800, Jing Sun wrote: > Signed-off-by: Zhengxu Huang > Signed-off-by: Hassene Tmar > Signed-off-by: Jun Zhao > Signed-off-by: Jing Sun > --- > configure| 4 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavco

Re: [FFmpeg-devel] [PATCH v15 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper

2019-07-30 Thread Limin Wang
On Tue, Jul 30, 2019 at 07:48:43PM +0200, Carl Eugen Hoyos wrote: > Am Di., 30. Juli 2019 um 15:20 Uhr schrieb James Almer : > > > > On 7/30/2019 2:59 AM, Limin Wang wrote: > > >> +if (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) { > > >> +

Re: [FFmpeg-devel] [PATCH v15 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper

2019-07-30 Thread Limin Wang
On Tue, Jul 30, 2019 at 07:48:43PM +0200, Carl Eugen Hoyos wrote: > Am Di., 30. Juli 2019 um 15:20 Uhr schrieb James Almer : > > > > On 7/30/2019 2:59 AM, Limin Wang wrote: > > >> +if (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) { > > >> +

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

2019-08-08 Thread Limin Wang
On Fri, Aug 09, 2019 at 10:50:10AM +0800, myp...@gmail.com wrote: > On Fri, Aug 9, 2019 at 10:36 AM wrote: > > > > From: Limin Wang > > > > show real information instead of the unknown side data type message for > > HDR10 stream > > > > Signed

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: make transfer_fnc initialized for unsupport function

2019-08-10 Thread Limin Wang
ping the change! On Thu, Jul 18, 2019 at 06:59:35AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > The current function will report one error message, but the caller func > haven't check it, so change the default to process as AVCOL_TRC_UNSPECIFIED. > &g

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

2019-08-10 Thread Limin Wang
On Fri, Aug 09, 2019 at 11:12:35AM +0200, Nicolas George wrote: > Limin Wang (12019-08-09): > > IMO, the medata memory is allocate by > > av_content_light_metadata_create_side_data() api, it's valid already, > > there is no need to check the size. > > Unless som

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

2019-08-10 Thread Limin Wang
On Sat, Aug 10, 2019 at 05:14:18PM +0200, Carl Eugen Hoyos wrote: > Am Sa., 10. Aug. 2019 um 16:59 Uhr schrieb : > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/dump.c | 10 ++ > > 1 file changed, 10 i

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

2019-08-11 Thread Limin Wang
On Sat, Aug 10, 2019 at 11:04:37PM +0200, Marton Balint wrote: > > > On Sun, 11 Aug 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >It'll improve about +0.1 threshold for scenecut detect > > > >Signed-off-b

Re: [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 Limin Wang
On Mon, Aug 12, 2019 at 03:05:32PM +0200, Moritz Barsnick wrote: > On Mon, Aug 12, 2019 at 19:21:45 +0800, lance.lmw...@gmail.com wrote: > > +Set the max number frames generated for each tests: > > Grammar nit: > Set the maximum number of frames generated for each test > > (Note: > - use the c

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

2019-08-12 Thread Limin Wang
On Mon, Aug 12, 2019 at 11:03:24PM +0200, Marton Balint wrote: > > > On Mon, 12 Aug 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >Signed-off-by: Limin Wang > >--- > >libavfilter/f_select.c | 3 ++- > >

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

2019-08-14 Thread Limin Wang
On Wed, Aug 14, 2019 at 10:22:26AM +0200, Moritz Barsnick wrote: > On Tue, Aug 13, 2019 at 21:38:41 +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > fftoos/ffmpeg_opt: avoid to display the hwaccels name twice > ^ > Nit: fftools/ffmpeg_opt Sorry, h

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

2019-08-14 Thread Limin Wang
On Wed, Aug 14, 2019 at 01:46:29PM +0200, Carl Eugen Hoyos wrote: > Am Di., 13. Aug. 2019 um 15:39 Uhr schrieb : > > > > From: Limin Wang > > > > videotoolbox and qsv have been defined by hw_type_names[] in hwcontext.c > > Please mention ticket #7464 in the

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

2019-08-17 Thread Limin Wang
ping, please help to merge the code if it's OK. On Thu, Aug 15, 2019 at 09:23:45AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > videotoolbox and qsv have been defined by hw_type_names[] in hwcontext.c > > Fixes ticket #7464 > > Signed-off-by: Li

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

2019-08-17 Thread Limin Wang
ping, please help to merge the code if it's OK. On Tue, Aug 13, 2019 at 09:39:47AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/f_select.c | 6 +- > tests/ref/fate/filter-me

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

2019-08-17 Thread Limin Wang
ping, please help to merge the code if it's OK. On Mon, Aug 12, 2019 at 11:39:51PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/filters.texi | 3 +++ > libavfilter/vsrc_mptestsrc.c | 29 +++

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

2019-08-17 Thread Limin Wang
ping, please help to merge the code if it's OK. On Sat, Aug 10, 2019 at 10:58:30PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > show real information instead of the unknown side data type message for HDR10 > stream > > Signed-off-by: Limin Wan

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

2019-08-17 Thread Limin Wang
ping, please help to merge the code if it's OK. On Sat, Aug 10, 2019 at 11:53:25PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/dump.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff

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

2019-08-17 Thread Limin Wang
On Thu, Jun 06, 2019 at 03:09:59PM +0800, lance.lmw...@gmail.com wrote: ping it also, I can update to master if it's necessary. > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/filters.texi | 3 +++ > 1 file changed, 3 insertions(+) > > diff -

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

2019-08-17 Thread Limin Wang
ping, please help to merge the code. On Sat, Aug 10, 2019 at 10:58:30PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > show real information instead of the unknown side data type message for HDR10 > stream > > Signed-off-by: Limin Wang > --- > libavf

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

2019-08-17 Thread Limin Wang
On Sat, Aug 17, 2019 at 05:27:23PM +0200, Marton Balint wrote: > > On Sat, 17 Aug 2019, Limin Wang wrote: > > >On Thu, Jun 06, 2019 at 03:09:59PM +0800, lance.lmw...@gmail.com wrote: > >ping it also, I can update to master if it's necessary. > > > >>

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

2019-08-17 Thread Limin Wang
On Sat, Aug 17, 2019 at 05:21:33PM +0200, Marton Balint wrote: > > > On Sat, 17 Aug 2019, Limin Wang wrote: > > > > > > >ping, please help to merge the code if it's OK. > > > >On Thu, Aug 15, 2019 at 09:23:45AM +0800, lance.lmw...@gmail.com wrote:

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

2019-08-17 Thread Limin Wang
On Sat, Aug 17, 2019 at 06:35:55PM +0200, Marton Balint wrote: > > > On Sat, 17 Aug 2019, Limin Wang wrote: > > >On Sat, Aug 17, 2019 at 05:21:33PM +0200, Marton Balint wrote: > >> > >> > >>On Sat, 17 Aug 2019, Limin Wang wrote: > >> > &

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

2019-08-17 Thread Limin Wang
On Sat, Aug 17, 2019 at 02:49:29PM -0300, James Almer wrote: > On 8/17/2019 2:44 PM, James Almer wrote: > > On 8/10/2019 11:58 AM, lance.lmw...@gmail.com wrote: > >> From: Limin Wang > >> > >> show real information instead of the unknown side data

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

2019-08-23 Thread Limin Wang
On Thu, Aug 22, 2019 at 03:04:19PM +0200, Moritz Barsnick wrote: > On Mon, Aug 12, 2019 at 23:39:52 +0800, lance.lmw...@gmail.com wrote: > > This looks very wrong. Does it work? > > > -if (tt == TEST_ALL && frame%test->max_frames) /* draw a black frame at > > the beginning of each test */ >

Re: [FFmpeg-devel] [PATCH 1/2] doc/examples/decode_audio: print message about how to play the output file

2019-08-23 Thread Limin Wang
On Wed, Aug 21, 2019 at 07:34:28PM +0800, Steven Liu wrote: > Signed-off-by: Steven Liu > --- > doc/examples/decode_audio.c | 51 + > 1 file changed, 51 insertions(+) > > diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c > index 19dcafd2c8

Re: [FFmpeg-devel] [PATCH v1] avfilter/showinfo: support displaying for webvtt id and setting side data

2019-08-23 Thread Limin Wang
Sorry, just notice the path is using the wrong type, ignore the patch. On Fri, Aug 23, 2019 at 10:25:40PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_showinfo.c | 6 ++ > 1 file changed, 6 insertions(+)

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

2019-08-24 Thread Limin Wang
On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote: > On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > tests/fate/filter-video.mak |

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

2019-08-25 Thread Limin Wang
On Sat, Aug 24, 2019 at 07:38:59PM +0200, Marton Balint wrote: > > > On Sat, 24 Aug 2019, Limin Wang wrote: > > >On Fri, Aug 23, 2019 at 08:27:22PM +0200, Michael Niedermayer wrote: > >>On Fri, Aug 23, 2019 at 08:17:09PM +0800, lance.lmw...@gmail.com wr

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

2019-08-25 Thread Limin Wang
On Sat, Aug 24, 2019 at 08:44:15PM +0200, Carl Eugen Hoyos wrote: > Am Fr., 23. Aug. 2019 um 14:25 Uhr schrieb : > > > +FREEZEDETECT_DEPS = FFPROBE AVDEVICE LAVFI_INDEV MPTESTSRC_FILTER > > SCALE_FILTER FREEZEDETECT_FILTER > > +FATE_METADATA_FILTER-$(call ALLYES, $(FREEZEDETECT_DEPS)) += > > fat

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

2019-08-25 Thread Limin Wang
d and haven't do more information dump. If the side data type will be removed soon, then ignore the patch for qp table.. > On Sat, Aug 24, 2019 at 6:25 PM wrote: > > > From: Limin Wang > > > > Below is the final displaying format for the QP table data and properties

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

2019-08-27 Thread Limin Wang
Add Reviewed-by: only, please help to push it, thanks. On Tue, Aug 27, 2019 at 10:34:54PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > How to check it: > ./ffmpeg -f lavfi -i testsrc -c:v mpeg2video -f null - > master: > Side data: > cpb: bit

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

2019-08-27 Thread Limin Wang
_list_size 10 -master_pl_publish_rate 10 -hls_flags delete_segments+discont_start+split_by_time \ "'~/Movies/vs%v/manifest.m3u8" On Tue, Aug 20, 2019 at 12:15:56AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang >

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

2019-08-27 Thread Limin Wang
ping the patchset. On Tue, Aug 20, 2019 at 07:04:29PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/videotoolboxenc.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/libavcodec/videot

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_delogo: support expr in delogo filter

2019-08-27 Thread Limin Wang
On Tue, Aug 27, 2019 at 03:17:09PM +0800, Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavfilter/vf_delogo.c | 72 ++--- > 1 file changed, 68 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c > index 06

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

2019-08-28 Thread Limin Wang
On Wed, Aug 28, 2019 at 08:36:14PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 28. Aug. 2019 um 17:46 Uhr schrieb : > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/v210enc.c | 7 +-- > > 1 file changed, 1 inse

Re: [FFmpeg-devel] [PATCH v1 6/6] Add myself as v210enc, v210dec maintainer

2019-08-28 Thread Limin Wang
@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 7f60ef0021..4110d38354 100644 > --- a/MAINTAINERS > +++ b/MAINTAINE

Re: [FFmpeg-devel] [PATCH v1] avformat/mxfenc: fix warning: unused function 'klv_ber_length' [-Wunused-function]

2019-08-29 Thread Limin Wang
On Thu, Aug 29, 2019 at 10:12:23AM +0200, Marton Balint wrote: > > On Thu, 29 Aug 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > See https://patchwork.ffmpeg.org/patch/14141/ Haven't notice it, however the patch isn't continue anymore. I submit

Re: [FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_overlay: remove the duplicated framesync option

2020-03-17 Thread Limin Wang
> > On 3/17/20, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > After applied the patch, we can change default eof_action from repeat to > > pass still. > > > > ./ffmpeg -y -filter_complex > > "movie=./input.mkv,setpts=PTS-STARTPTS[main];

Re: [FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread Limin Wang
On Tue, Mar 17, 2020 at 05:25:29PM +, Derek Buitenhuis wrote: > On 17/03/2020 10:54, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/hevc_sei.c | 31 +

Re: [FFmpeg-devel] [PATCH v9 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-03-17 Thread Limin Wang
On Wed, Mar 18, 2020 at 12:13:33AM +, Derek Buitenhuis wrote: > On 17/03/2020 23:11, Limin Wang wrote: > > The user data unregistered allows arbitrary data to be carried in the > > bitstream, > > for example, ROI info, time info etc. For the real support patch, please

Re: [FFmpeg-devel] [PATCH v1] fftools/ffmpeg: set AV_PKT_FLAG_KEY for the subtitle packet

2020-03-20 Thread Limin Wang
On Fri, Mar 20, 2020 at 06:03:53PM +0200, Jan Ekström wrote: > On Fri, Mar 20, 2020 at 5:45 PM wrote: > > > > From: Limin Wang > > > > This fixes webvtt segment output. > > > > Please testing with the following command and check the ou

Re: [FFmpeg-devel] [PATCH v1] avcodec/decode: increase nb_bsfs after av_bsf_alloc in case alloc failed

2020-03-21 Thread Limin Wang
ping for review, thanks. On Tue, Dec 24, 2019 at 09:06:18AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/decode.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcod

Re: [FFmpeg-devel] [PATCH v1 3/3] avfilter/af_adelay: Check sscanf() return value

2020-03-27 Thread Limin Wang
On Fri, Mar 27, 2020 at 08:34:02PM +0100, Michael Niedermayer wrote: > On Thu, Mar 26, 2020 at 07:04:24AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/af_adelay.c | 3 ++- > > 1 fi

Re: [FFmpeg-devel] [PATCH v1 1/2] avfilter/vf_showinfo: check if the s12m data size is valid

2020-03-27 Thread Limin Wang
On Fri, Mar 27, 2020 at 01:42:02AM +0100, Michael Niedermayer wrote: > On Wed, Mar 25, 2020 at 06:45:47PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_showinfo.c | 4 > > 1

Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_mix: Check sscanf() return value

2020-03-28 Thread Limin Wang
On Sat, Mar 28, 2020 at 08:10:51PM +0100, Nicolas George wrote: > lance.lmw...@gmail.com (12020-03-28): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_mix.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_mix: Check sscanf() return value

2020-03-28 Thread Limin Wang
On Sun, Mar 29, 2020 at 12:31:40AM +0100, Nicolas George wrote: > Limin Wang (12020-03-29): > > If av_sscanf failed, s->weights[i] is invalid data and can't be used > > further. > > I think you are mistaken: if av_sscanf() fails, s->weights[i] stays > unchanged

Re: [FFmpeg-devel] [PATCH v2 3/3] avfilter/af_adelay: Check sscanf() return value

2020-03-28 Thread Limin Wang
On Sat, Mar 28, 2020 at 07:06:13PM +0100, Michael Niedermayer wrote: > On Sat, Mar 28, 2020 at 08:17:33AM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/af_adelay.c | 5 - > > 1 fi

Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_mix: Check sscanf() return value

2020-03-28 Thread Limin Wang
On Sun, Mar 29, 2020 at 01:32:59AM +0100, Nicolas George wrote: > Limin Wang (12020-03-29): > > Anyway if the user option is typo, > > the result may be unexpected for user. > > But your change does not address that. For that, you would print a > message and return an

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: skip first char after compare path with path separator

2020-03-29 Thread Limin Wang
t; > > ___ > 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 "unsubscrib

Re: [FFmpeg-devel] [PATCH v1 3/4] avformat: add subtitle support in master playlist m3u8

2020-03-29 Thread Limin Wang
On Sun, Mar 29, 2020 at 04:32:06PM +0800, Steven Liu wrote: > > > > 2020年3月26日 下午9:56,lance.lmw...@gmail.com 写道: > > > > From: Limin Wang > > > > Test with the following command for the webvtt subtitle: > > $ ./ffmpeg -y -i input_with_subtitle.mkv \ &

Re: [FFmpeg-devel] [PATCH v1] fftools/ffmpeg: set AV_PKT_FLAG_KEY for the subtitle packet

2020-04-03 Thread Limin Wang
On Fri, Mar 27, 2020 at 01:47:10AM +0100, Michael Niedermayer wrote: > On Thu, Mar 26, 2020 at 10:47:37AM +0100, Anton Khirnov wrote: > > Quoting Andreas Rheinhardt (2020-03-20 17:51:41) > > > Jan Ekström: > > > > On Fri, Mar 20, 2020 at 5:45 PM wrote: >

Re: [FFmpeg-devel] [PATCH v1 2/2] avcodec/mpeg12enc: Support mpeg2 encoder profile with const options

2020-04-03 Thread Limin Wang
On Fri, Apr 03, 2020 at 04:25:15PM +0200, Hendrik Leppkes wrote: > On Fri, Apr 3, 2020 at 3:12 PM wrote: > > > > From: Limin Wang > > > > make setting profile more user friendly > > > > Please make sure API users can still set it through avctx->profi

Re: [FFmpeg-devel] [PATCH v1 2/2] avcodec/mpeg12enc: Support mpeg2 encoder profile with const options

2020-04-03 Thread Limin Wang
On Fri, Apr 03, 2020 at 03:47:09PM +, Fu, Linjie wrote: > > From: ffmpeg-devel On Behalf Of > > Limin Wang > > Sent: Friday, April 3, 2020 22:55 > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v1 2/2] avcodec/mpeg12enc: Support > &

Re: [FFmpeg-devel] [PATCH v1] avformat/mux: Set AV_PKT_FLAG_KEY for is_intra_only packet

2020-04-03 Thread Limin Wang
On Fri, Apr 03, 2020 at 05:19:08PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/mux.c| 16 > > tests/ref/fate/binsub-movtex

Re: [FFmpeg-devel] [PATCH v1] avformat/mux: Set AV_PKT_FLAG_KEY for is_intra_only packet

2020-04-03 Thread Limin Wang
On Fri, Apr 03, 2020 at 11:23:59PM +0200, Michael Niedermayer wrote: > On Fri, Apr 03, 2020 at 11:05:59PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/mux.c| 16 >

Re: [FFmpeg-devel] [PATCH v1] avformat/mux: Set AV_PKT_FLAG_KEY for is_intra_only packet

2020-04-04 Thread Limin Wang
On Sat, Apr 04, 2020 at 11:42:06AM +0200, Nicolas George wrote: > Limin Wang (12020-04-04): > > I think it's caused by the keyframe flags, so have no clue how to check > > the beneficial for these fate testing. > > Take the actual files produced by the tests, possibly ch

Re: [FFmpeg-devel] [PATCH v3] avutil/frame: Use av_realloc_array()

2020-04-06 Thread Limin Wang
ping. On Thu, Dec 26, 2019 at 08:33:38AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavutil/frame.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/libavutil/frame.c b/libavutil

Re: [FFmpeg-devel] [PATCH] avformat/libsrt: Change latency option to milliseconds

2020-04-07 Thread Limin Wang
uot;, "Enable receiver to send periodic NAK reports", >OFFSET(nakreport),AV_OPT_TYPE_BOOL, { .i64 = > -1 }, -1, 1, .flags = D|E }, > { "connect_timeout", "Connect timeout. Caller default: 3000, rendezvous > (x

Re: [FFmpeg-devel] [PATCH v1] avformat/dashenc: use av_asprintf()

2020-04-07 Thread Limin Wang
On Tue, Apr 07, 2020 at 07:08:56PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/dashenc.c | 23 ++- > > 1 file changed, 6 insertions(+)

Re: [FFmpeg-devel] [PATCH v2] avformat/dashenc: remove the arbitrary restrictions for filename

2020-04-07 Thread Limin Wang
On Wed, Apr 08, 2020 at 01:54:12AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/dashenc.c | 28 > > 1 file changed, 12 insertions(+)

Re: [FFmpeg-devel] [PATCH] avformat/libsrt: Change latency option to milliseconds

2020-04-07 Thread Limin Wang
On Wed, Apr 08, 2020 at 02:16:23AM +0200, pkv wrote: > Hi > > Le 08/04/2020 à 12:33 am, Limin Wang a écrit : > >On Tue, Apr 07, 2020 at 08:25:44PM +0200, pkv wrote: > >>Hi > >> > >>new patch for latency option following the comments from N. George. >

Re: [FFmpeg-devel] [PATCH v1 1/3] doc/protocols: clarify timeout and latency unit of measurement for SRT

2020-04-08 Thread Limin Wang
ping the patchset. On Tue, Mar 31, 2020 at 10:08:06PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/protocols.texi | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/

Re: [FFmpeg-devel] [PATCH] avformat/libsrt: Change latency option to milliseconds

2020-04-08 Thread Limin Wang
On Wed, Apr 08, 2020 at 09:34:45AM +0200, pkv wrote: > > Le 08/04/2020 à 3:45 am, Limin Wang a écrit : > >On Wed, Apr 08, 2020 at 02:16:23AM +0200, pkv wrote: > >>Hi > >> > >>Le 08/04/2020 à 12:33 am, Limin Wang a écrit : > >>>On Tue, Ap

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

2020-04-08 Thread Limin Wang
ping this patch for merge, it'll dump the metadata and don't change API. On Tue, Mar 17, 2020 at 06:54:08PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_showinfo.c | 37 ++

Re: [FFmpeg-devel] [PATCH v1] avfilter/src_movie: Fix the loop function of dynamic logo

2020-04-08 Thread Limin Wang
ping this patch for review. On Tue, Mar 17, 2020 at 06:55:00PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > The following command will attempt to create the input and overlay test > sequence for you. > ./ffmpeg -f lavfi -i color=white:duration=100:r=25:size=1280

Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_mix: Check sscanf() return value

2020-04-08 Thread Limin Wang
On Sun, Mar 29, 2020 at 11:18:11AM +0200, Nicolas George wrote: > Limin Wang (12020-03-29): > > OK, update the patch to print a message and return error. > > Thanks. I have no objection to that new version, but I do not maintain > that code. ping for the patchset for me

Re: [FFmpeg-devel] [PATCH v2 3/7] avformat/hlsenc: Check some unchecked allocations

2020-04-09 Thread Limin Wang
ad. Sorry, it seems that I remove these checking when av_dirname claims to support NULL for path in the API comments like glib dirname function. So I think it's duplicate check if the function claims to support NULL. If have different opinions, please add the checking anyway. I don't know

Re: [FFmpeg-devel] [PATCH v1 1/4] avfilter/af_loudnorm: Add file option for the measured stats

2020-04-09 Thread Limin Wang
On Thu, Apr 09, 2020 at 01:16:16PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-04-09): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi | 3 +++ > > libavfilter/af_loudnorm.c | 54 +

Re: [FFmpeg-devel] [PATCH v1 1/4] avfilter/af_loudnorm: Add file option for the measured stats

2020-04-09 Thread Limin Wang
On Thu, Apr 09, 2020 at 07:57:14PM +0200, Nicolas George wrote: > Limin Wang (12020-04-09): > > My patch set try to make the loudnorm filter easy to use for end user if > > they > > want to process the volume in two pass. > > Yes: you are seeing a problem, and you

Re: [FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_subtitles: add force_style option for ass subtitle filter

2020-04-10 Thread Limin Wang
please help to review, so that we can change the subtitle postion, color by force_style. On Mon, Mar 30, 2020 at 06:52:33PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/filters.texi | 4 > libavfilter/v

Re: [FFmpeg-devel] [PATCH v1] fftools/ffprobe: Use format specifier PRId64 instead of %lld

2020-04-10 Thread Limin Wang
On Fri, Apr 10, 2020 at 07:37:40PM +0200, Michael Niedermayer wrote: > On Fri, Apr 10, 2020 at 07:04:38PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > fftools/ffprobe.c | 14 +++--- > &

Re: [FFmpeg-devel] [PATCH v1] avformat/mux: Set AV_PKT_FLAG_KEY for is_intra_only packet

2020-04-16 Thread Limin Wang
On Thu, Apr 16, 2020 at 05:16:35PM +0200, Nicolas George wrote: > Sorry, forgot to reply to that. > > Limin Wang (12020-04-04): > > the md5 framecrc is generated by libavformat/tests/movenc.c, I have no > > clue how the movenc testing work and how to get the real input to ch

Re: [FFmpeg-devel] [PATCH v1] avformat/mux: Set AV_PKT_FLAG_KEY for is_intra_only packet

2020-04-17 Thread Limin Wang
On Fri, Apr 17, 2020 at 10:24:53AM -0300, James Almer wrote: > On 4/16/2020 10:23 PM, Limin Wang wrote: > > On Thu, Apr 16, 2020 at 05:16:35PM +0200, Nicolas George wrote: > >> Sorry, forgot to reply to that. > >> > >> Limin Wang (12020-04-04): > >>&

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec/mpeg12enc: Support mpeg2 encoder profile with const options

2020-04-17 Thread Limin Wang
ping for merge, please. On Sat, Apr 04, 2020 at 08:25:31AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/encoders.texi | 8 > libavcodec/mpeg12enc.c | 22 +- > libavcodec/mpegvide

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/af_acrossover: Check sscanf() return value

2020-04-17 Thread Limin Wang
ping for merge please. On Sun, Mar 29, 2020 at 08:08:04AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/af_acrossover.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libav

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/af_acrossover: Check sscanf() return value

2020-04-17 Thread Limin Wang
On Fri, Apr 17, 2020 at 04:34:28PM +0200, Paul B Mahol wrote: > On 4/17/20, Limin Wang wrote: > > > > ping for merge please. > > trival patch, apply at will. I can't push it directly, so ping it for developer/maintainer help to apply it. > > > > >

Re: [FFmpeg-devel] [PATCH v1] avcodec/bsf: simplify the code

2020-04-17 Thread Limin Wang
On Fri, Apr 17, 2020 at 04:41:44PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/bsf.c | 10 ++ > > 1 file changed, 2 insertions(+), 8 deletions(-) &

Re: [FFmpeg-devel] [PATCH v1] avcodec/bsf: simplify the code

2020-04-17 Thread Limin Wang
On Fri, Apr 17, 2020 at 05:24:32PM +0200, Paul B Mahol wrote: > On 4/17/20, Limin Wang wrote: > > On Fri, Apr 17, 2020 at 04:41:44PM +0200, Andreas Rheinhardt wrote: > >> lance.lmw...@gmail.com: > >> > From: Limin Wang > >> > > >> > Signed-o

  1   2   3   4   >