Re: [FFmpeg-devel] [PATCH V1] doc/codecs: Add missing documentation for nointra

2019-07-14 Thread myp...@gmail.com
On Mon, Jul 15, 2019 at 2:58 AM Michael Niedermayer wrote: > > On Sun, Jul 14, 2019 at 03:32:59PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Add missing documentation for nointra. > > LGTM > > thx Applied, Thanks ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_filter: use -reinit_filter to disable/enable auto scale

2019-07-11 Thread myp...@gmail.com
On Fri, Jul 12, 2019 at 1:19 PM Linjie Fu wrote: > > Currently, ffmpeg inserts scale filter in the filter graph to force > the whole decoded stream to scale into the same size with the first > frame. It's not quite make sense in resolution changing cases if user > wants the rawvideo without any

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 myp...@gmail.com
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 command will lost interact for the fd > 0 is closed by avio_close_dir. > > > On Tue, Jun 18, 2019 at 06:45:13PM

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc.c Accurrate time output in program_date_time (corrected)

2019-07-09 Thread myp...@gmail.com
On Tue, Jul 9, 2019 at 7:42 PM Pavel Pilar wrote: > > --- > libavformat/hlsenc.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 00c725af18..94fd713834 100644 > --- a/libavformat/hlsenc.c > +++

Re: [FFmpeg-devel] [PATCH] accurrate time output in program_date_time

2019-07-09 Thread myp...@gmail.com
On Tue, Jul 9, 2019 at 4:43 PM Pavel Pilar wrote: > > --- > libavformat/hlsenc.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 057134f410..00c725af18 100644 > --- a/libavformat/hlsenc.c > +++ b/libavformat/hlsenc.c > @@ -23,6

Re: [FFmpeg-devel] [PATCH] avcodec/audiotoolboxdec: Fix decoding 24 Bit ALAC

2019-07-09 Thread myp...@gmail.com
On Tue, Jul 9, 2019 at 12:37 AM Davis wrote: > > "avctx->bits_per_raw_sample" always returns 0. > Tested with 24 Bit ALAC. The result is bit-perfect. > Fix #7287. > --- > libavcodec/audiotoolboxdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH V1 2/2] doc/filters: Document missing options for scale in/out color matrix

2019-07-07 Thread myp...@gmail.com
On Fri, Jul 5, 2019 at 12:48 PM Gyan wrote: > > > > On 05-07-2019 10:06 AM, Jun Zhao wrote: > > From: Jun Zhao > > > > Document missing options for scale in/out color matrix > > > > Signed-off-by: Jun Zhao > > --- > > doc/filters.texi |5 + > > 1 files changed, 5 insertions(+), 0

Re: [FFmpeg-devel] [PATCH v1] lavc/libdavs2.c: optimize frame copy

2019-07-07 Thread myp...@gmail.com
On Fri, Jul 5, 2019 at 9:09 AM Song, Ruiling wrote: > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of hwrenx > > Sent: Wednesday, July 3, 2019 11:24 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: [FFmpeg-devel] [PATCH v1]

Re: [FFmpeg-devel] [PATCH V2 2/2] doc/muxers: fix docs format for DASH muxer

2019-07-04 Thread myp...@gmail.com
On Thu, Jul 4, 2019 at 4:52 PM Gyan wrote: > > > > On 28-06-2019 08:36 PM, Jun Zhao wrote: > > From: Jun Zhao > > > > fix docs format for DASH muxer > > > > Signed-off-by: Jun Zhao > > --- > > doc/muxers.texi | 62 > > -- > > 1 files

Re: [FFmpeg-devel] [PATCH v1] lavc/libdavs2.c: optimize frame copy

2019-07-03 Thread myp...@gmail.com
On Wed, Jul 3, 2019 at 11:24 AM hwrenx wrote: > > Signed-off-by: hwrenx > --- > libavcodec/libdavs2.c | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c > index 218f3ec..15ed3a1 100644 > ---

Re: [FFmpeg-devel] [PATCH V1 1/2] doc/muxers: fix and update docs for HLS muxer

2019-07-02 Thread myp...@gmail.com
On Fri, Jun 28, 2019 at 9:55 PM Gyan wrote: > > > > On 28-06-2019 07:02 PM, Jun Zhao wrote: > > From: Jun Zhao > > > > fix and update docs for HLS muxer > > > > Signed-off-by: Jun Zhao > > --- > > doc/muxers.texi | 68 > > ++ > > 1 files

Re: [FFmpeg-devel] [PATCH V2 0/4] Respect default disposition when select stream

2019-07-02 Thread myp...@gmail.com
On Fri, Jun 28, 2019 at 3:21 PM Jun Zhao wrote: > > V2: - Add FATE test case, the test clip will upload to FATE server > > Jun Zhao (4): > lavf/utils: Respect default disposition when select the AVStream > ffmpeg_opt: Respect default disposition when select audio/video > lavf/dump: More

Re: [FFmpeg-devel] [PATCH]lavc/r210enc: Fix undefined behaviour encoding r10k

2019-07-01 Thread myp...@gmail.com
On Mon, Jul 1, 2019 at 7:08 PM Carl Eugen Hoyos wrote: > > Hi! > > Attached patch fixes an invalid left shift reported in ticket #7982. > > Please comment, Carl Eugen Ha, great catch:), LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH v3] libavcodec/vp8dec: fix the multi-thread HWAccel decode error

2019-07-01 Thread myp...@gmail.com
On Mon, Jul 1, 2019 at 2:38 PM Wang, Shaofei wrote: > > Hello here, > A simple ping about this patch > Please feel free to ask if you have any question Is it this patch https://patchwork.ffmpeg.org/patch/13723/ fix the same issue? ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH V1] lavf/flvenc: add automatic bitstream filtering

2019-06-24 Thread myp...@gmail.com
On Sat, Jun 22, 2019 at 5:54 PM Steven Liu wrote: > > > > > 在 2019年6月22日,17:04,Jun Zhao 写道: > > > > From: Jun Zhao > > > > add automatic bitstream filtering when mux AAC > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/flvenc.c | 27 --- > > 1 files changed, 24

Re: [FFmpeg-devel] [PATCH V1 2/3] ffmpeg_opt: Respect default disposition when select audio/video

2019-06-24 Thread myp...@gmail.com
On Fri, Jun 21, 2019 at 10:36 PM Michael Niedermayer wrote: > > On Thu, Jun 20, 2019 at 12:50:33PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Respect default disposition when select audio/video > > > > Signed-off-by: Jun Zhao > > --- > > fftools/ffmpeg_opt.c |6 -- > > 1 files

Re: [FFmpeg-devel] [PATCH v2] avfilter/vaapi: add overlay_vaapi filter

2019-06-19 Thread myp...@gmail.com
On Wed, Jun 19, 2019 at 5:26 PM Zhou, Zachary wrote: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > myp...@gmail.com > > Sent: Wednesday, June 19, 2019 10:13 AM > > To: FFmpeg developme

Re: [FFmpeg-devel] [PATCH v2] avfilter/vaapi: add overlay_vaapi filter

2019-06-18 Thread myp...@gmail.com
? On Tue, Jun 11, 2019 at 10:52 AM Zachary Zhou wrote: > > --- > configure | 1 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vaapi_vpp.c| 95 + > libavfilter/vaapi_vpp.h| 5 + >

Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: add support for AVC Trellis

2019-06-12 Thread myp...@gmail.com
On Wed, Jun 12, 2019 at 3:28 PM Linjie Fu wrote: > > Add support for VAAPI AVC Trellis Quantization with limitation: > - VA-API version >= (1, 0, 0) > > Use option "-trellis off/I/P/B" to disable or enable Trellis > quantization for I/P/B frames. > > Signed-off-by: Linjie Fu > --- > [v2]:

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

2019-06-10 Thread myp...@gmail.com
On Sat, Jun 8, 2019 at 6:58 AM wrote: > > 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 > ---

Re: [FFmpeg-devel] [PATCH V1 4/5] lavc/webvttenc: fix ffmpeg -h full can't display webvtt encoder

2019-06-04 Thread myp...@gmail.com
On Wed, Jun 5, 2019 at 4:39 AM Michael Niedermayer wrote: > > On Tue, Jun 04, 2019 at 01:38:43PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > fix ffmpeg -h full can't display webvtt encoder > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/webvttenc.c | 13 + > > 1

Re: [FFmpeg-devel] [PATCH V1 4/5] lavc/webvttenc: fix ffmpeg -h full can't display webvtt encoder

2019-06-04 Thread myp...@gmail.com
On Wed, Jun 5, 2019 at 6:36 AM Hendrik Leppkes wrote: > > On Tue, Jun 4, 2019 at 7:39 AM Jun Zhao wrote: > > > > From: Jun Zhao > > > > fix ffmpeg -h full can't display webvtt encoder > > > > Whats the point of adding an empty help section without any options in it? > If you use ffmpeg

Re: [FFmpeg-devel] [PATCH V5 1/2] lavfi/colorlevels: Add slice threading support

2019-06-02 Thread myp...@gmail.com
On Sun, Jun 2, 2019 at 4:19 PM Paul B Mahol wrote: > > On 6/1/19, Jun Zhao wrote: > > From: Jun Zhao > > > > Add slice threading support, use the command like: > > > > ./ffmpeg -i input -vf colorlevels -f null /dev/null > > > > with 1080p h264 clip, the fps from 39 fps to 79 fps > > in the

Re: [FFmpeg-devel] [PATCH V5 2/2] lavfi/lut: Add slice threading support

2019-06-02 Thread myp...@gmail.com
On Sun, Jun 2, 2019 at 4:13 PM Paul B Mahol wrote: > > On 6/1/19, Jun Zhao wrote: > > -- > > 1.7.1 > > > > Should be ok if md5 hash does not change. > Yes, both changes pass the md5 hash test. Will apply, Thanks ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice threading support

2019-05-29 Thread myp...@gmail.com
On Wed, May 29, 2019 at 4:31 PM Paul B Mahol wrote: > > On 5/29/19, Song, Ruiling wrote: > >> -Original Message- > >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > >> Of Jun Zhao > >> Sent: Saturday, May 25, 2019 10:33 AM > >> To: ffmpeg-devel@ffmpeg.org > >>

Re: [FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice threading support

2019-05-29 Thread myp...@gmail.com
On Wed, May 29, 2019 at 4:19 PM Song, Ruiling wrote: > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Jun Zhao > > Sent: Saturday, May 25, 2019 10:33 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Jun Zhao > > Subject: [FFmpeg-devel]

Re: [FFmpeg-devel] [PATCH] libavfilter: Add derain filter.

2019-05-26 Thread myp...@gmail.com
On Fri, May 24, 2019 at 8:40 PM Xuewei Meng wrote: > > Remove the rain in the input image/video by applying the derain > methods based on convolutional neural networks. Training scripts > as well as scripts for model generation are provided in the > repository at

Re: [FFmpeg-devel] [PATCH V2] lavfi/colorlevels: Add slice threading support

2019-05-22 Thread myp...@gmail.com
On Wed, May 22, 2019 at 12:24 PM Li, Zhong wrote: > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Jun Zhao > > Sent: Tuesday, May 21, 2019 7:21 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Jun Zhao > > Subject: [FFmpeg-devel] [PATCH V2] lavfi/colorlevels: Add

Re: [FFmpeg-devel] [PATCH V1 1/2] lavfi/lensfun: Use ff_filter_get_nb_threads() get number of threads

2019-05-22 Thread myp...@gmail.com
On Wed, May 22, 2019 at 4:20 PM Paul B Mahol wrote: > > On 5/22/19, Jun Zhao wrote: > > From: Jun Zhao > > > > ff_filter_get_nb_threads() respect AVFilterContext.nb_threads and > > graph->nb_threads both, in most case, we perfer this API than using > > ctx->graph->nb_threads directly. > > > >

Re: [FFmpeg-devel] [PATCH V1 2/2] doc/writing_filters: Use ff_filter_get_nb_threads() get number of threads

2019-05-22 Thread myp...@gmail.com
On Wed, May 22, 2019 at 4:14 PM Paul B Mahol wrote: > > On 5/22/19, Jun Zhao wrote: > > From: Jun Zhao > > > > ff_filter_get_nb_threads() respect AVFilterContext.nb_threads and > > graph->nb_threads both, in most case, we perfer this API than using > > ctx->graph->nb_threads directly. > > --- >

Re: [FFmpeg-devel] [PATCH V1] lavfi/lut: Add slice threading support

2019-05-21 Thread myp...@gmail.com
On Wed, May 22, 2019 at 11:03 AM Song, Ruiling wrote: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Jun Zhao > > Sent: Wednesday, May 22, 2019 12:29 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Jun Zhao > > Subject:

Re: [FFmpeg-devel] [PATCH] lavfi/colorlevels: Add slice threading support

2019-05-21 Thread myp...@gmail.com
On Tue, May 21, 2019 at 9:49 AM Jun Zhao wrote: > > From: Jun Zhao > > Add slice threading support, use the command like: > > ./ffmpeg -i input -vf colorlevel with 1080p h264 clip, the fps > from 39 fps to 79 fps in the local > > Signed-off-by: Jun Zhao > --- > libavfilter/vf_colorlevels.c |

Re: [FFmpeg-devel] [PATCH v2 02/11] cbs: Ensure that reference fields always follow the associated pointer

2019-05-20 Thread myp...@gmail.com
On Tue, May 21, 2019 at 7:08 AM Mark Thompson wrote: > > Hvaing these together allows us to find both pointers given the address > of only one of them. > --- > libavcodec/cbs_av1.h | 6 +++--- > libavcodec/cbs_h264.h | 18 +- > libavcodec/cbs_h265.h | 16 >

Re: [FFmpeg-devel] [PATCH v2 01/11] cbs: Mention all codecs in unit type comment

2019-05-20 Thread myp...@gmail.com
On Tue, May 21, 2019 at 7:02 AM Mark Thompson wrote: > > --- > libavcodec/cbs.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h > index 967dcd1468..e8b2d41ecb 100644 > --- a/libavcodec/cbs.h > +++ b/libavcodec/cbs.h > @@ -49,6 +49,8 @@ struct

Re: [FFmpeg-devel] [PATCH] libavdevice/gdigrab: fix ffmpeg -devices doesn't show gdigrab

2019-05-17 Thread myp...@gmail.com
On Fri, May 17, 2019 at 7:33 PM Paul B Mahol wrote: > > On 5/17/19, Jun Zhao wrote: > > From: Jun Zhao > > > > missed the category AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT lead to > > ffmpeg -devices doesn't show gdigrab as a input device > > > > FIx #7848 > > > > Found-by: dangibson > >

Re: [FFmpeg-devel] [PATCH] "assert(a && b)" --> "assert(a); assert(b)" for more precise diagnostics, except for libformat

2019-05-14 Thread myp...@gmail.com
On Wed, May 15, 2019 at 7:01 AM Hendrik Leppkes wrote: > > On Tue, May 14, 2019 at 11:25 PM Adam Richter wrote: > > > > Consider, for example, if you agree that columnization makes this range > > check > > more recognizable in a glance and makes it easier to spot what the bounds > > are > >

Re: [FFmpeg-devel] [PATCH 3/6] lavc/bink: Remove the dead code block

2019-05-12 Thread myp...@gmail.com
On Sat, May 11, 2019 at 11:04 AM Peter Ross wrote: > > On Sat, May 11, 2019 at 12:05:51AM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Remove the dead code block > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/bink.c |2 -- > > 1 files changed, 0 insertions(+), 2 deletions(-) >

Re: [FFmpeg-devel] [PATCH 4/6] lavc/libvpxenc: remove redundant condition check

2019-05-12 Thread myp...@gmail.com
On Sat, May 11, 2019 at 3:14 AM Vignesh Venkatasubramanian wrote: > > From: Jun Zhao > Date: Fri, May 10, 2019 at 9:06 AM > To: > Cc: Jun Zhao > > > From: Jun Zhao > > > > Redundant condition: '!A || B' is equivalent to '!A || (A && B)' but > > more clearly. > > > > Signed-off-by: Jun Zhao >

Re: [FFmpeg-devel] [PATCH 2/6] lavc/avpacket: check NULL before using the pointer

2019-05-12 Thread myp...@gmail.com
On Sat, May 11, 2019 at 8:23 AM Michael Niedermayer wrote: > > On Fri, May 10, 2019 at 10:00:54PM +0200, Carl Eugen Hoyos wrote: > > Am Fr., 10. Mai 2019 um 18:13 Uhr schrieb Jun Zhao : > > > > > > From: Jun Zhao > > > > > > Need to check NULL before using the pointer > > > > > > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 6/6] lavc/pngenc: check malloc fail before using the pointer

2019-05-12 Thread myp...@gmail.com
On Sat, May 11, 2019 at 12:06 AM Jun Zhao wrote: > > From: Jun Zhao > > Need to check malloc fail before using the pointer > > Signed-off-by: Jun Zhao > --- > libavcodec/pngenc.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/pngenc.c

Re: [FFmpeg-devel] [PATCH] avfilter/drawtext: make command processing error-resilient

2019-05-12 Thread myp...@gmail.com
On Mon, May 13, 2019 at 4:06 AM Gyan wrote: > > > > On 10-05-2019 07:25 PM, Gyan wrote: > > At present, if the command args passed to drawtext contain any invalid > > values, ffmpeg may crash or, at best, stop drawing any text. > > Attached patch gets the filter to continue with existing

Re: [FFmpeg-devel] [PATCH 1/6] lavc/aacenc_ltp: remove unnecessary condition check.

2019-05-12 Thread myp...@gmail.com
On Sat, May 11, 2019 at 12:06 AM Jun Zhao wrote: > > From: Jun Zhao > > Condition 'sum==2' is always true, so remove the check logic to > make the code clean. > > Signed-off-by: Jun Zhao > --- > libavcodec/aacenc_ltp.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH 5/6] lavc/mlpenc: remove the redundant condition check

2019-05-12 Thread myp...@gmail.com
On Sat, May 11, 2019 at 12:06 AM Jun Zhao wrote: > > From: Jun Zhao > > remove the redundant condition check for 'frame' > > Signed-off-by: Jun Zhao > --- > libavcodec/mlpenc.c |6 ++ > 1 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/mlpenc.c

Re: [FFmpeg-devel] [PATCH 2/3] tools/crypto_bench: check malloc fail before using it

2019-05-09 Thread myp...@gmail.com
On Thu, May 9, 2019 at 4:53 PM Nicolas George wrote: > > Jun Zhao (12019-05-09): > > From: Jun Zhao > > > > Need to check malloc fail before using it, so adjust the location > > in the code. > > > > Signed-off-by: Jun Zhao > > --- > > tools/crypto_bench.c |8 +--- > > 1 files changed,

Re: [FFmpeg-devel] [PATCH 3/3] tools/crypto_bench: update the comment about build command

2019-05-09 Thread myp...@gmail.com
On Thu, May 9, 2019 at 4:55 PM Nicolas George wrote: > > Jun Zhao (12019-05-09): > > From: Jun Zhao > > > > commit cd62f9d557f missing the comment about build > > > > Signed-off-by: Jun Zhao > > --- > > tools/crypto_bench.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > >

Re: [FFmpeg-devel] [PATCH V1 0/2] Use avctx->framerate first for frame rate setting

2019-05-08 Thread myp...@gmail.com
On Tue, May 7, 2019 at 9:54 AM myp...@gmail.com wrote: > > On Sun, May 5, 2019 at 11:23 AM myp...@gmail.com wrote: > > > > On Sun, May 5, 2019 at 9:31 AM Carl Eugen Hoyos wrote: > > > > > > Am So., 5. Mai 2019 um 03:23 Uhr schrieb myp...@gmail.com > >

Re: [FFmpeg-devel] [PATCH V1 0/2] Use avctx->framerate first for frame rate setting

2019-05-06 Thread myp...@gmail.com
On Sun, May 5, 2019 at 11:23 AM myp...@gmail.com wrote: > > On Sun, May 5, 2019 at 9:31 AM Carl Eugen Hoyos wrote: > > > > Am So., 5. Mai 2019 um 03:23 Uhr schrieb myp...@gmail.com > > : > > > > > > On Sun, Apr 28, 2019 at 7:02 PM myp...@gmail.com w

Re: [FFmpeg-devel] [PATCH 5/7] hwcontext_vaapi: Add option to set driver name

2019-05-06 Thread myp...@gmail.com
On Mon, May 6, 2019 at 10:55 PM Mark Thompson wrote: > > For example: -init_hw_device vaapi:/dev/dri/renderD128,driver=foo > > This may be more convenient that using the environment variable, and allows > loading different drivers for different devices in the same process. > --- >

Re: [FFmpeg-devel] [PATCH 6/7] hwcontext_vaapi: Try to create devices via DRM before X11

2019-05-06 Thread myp...@gmail.com
On Mon, May 6, 2019 at 10:56 PM Mark Thompson wrote: > > Opening the device via X11 (DRI2/DRI3) rather than opening a DRM render > node directly is only useful if you intend to use the legacy X11 interop > functions. That's never true for the ffmpeg utility, and a library user > who does want

Re: [FFmpeg-devel] [DECISION] Project policy on closed source components

2019-05-04 Thread myp...@gmail.com
On Mon, Apr 29, 2019 at 4:02 AM Marton Balint wrote: > > Hi All, > > There has been discussion on the mailing list several times about the > inclusion of support for closed source components (codecs, formats, > filters, etc) in the main ffmpeg codebase. > > Also the removal of libNDI happened

Re: [FFmpeg-devel] [PATCH V1 0/2] Use avctx->framerate first for frame rate setting

2019-05-04 Thread myp...@gmail.com
On Sun, May 5, 2019 at 9:31 AM Carl Eugen Hoyos wrote: > > Am So., 5. Mai 2019 um 03:23 Uhr schrieb myp...@gmail.com : > > > > On Sun, Apr 28, 2019 at 7:02 PM myp...@gmail.com wrote: > > > > > > On Sun, Apr 28, 2019 at 5:30 PM Gyan wrote: > > > >

Re: [FFmpeg-devel] [PATCH V1 0/2] Use avctx->framerate first for frame rate setting

2019-05-04 Thread myp...@gmail.com
On Sun, Apr 28, 2019 at 7:02 PM myp...@gmail.com wrote: > > On Sun, Apr 28, 2019 at 5:30 PM Gyan wrote: > > > > > > > > On 28-04-2019 07:19 AM, myp...@gmail.com wrote: > > > On Sat, Apr 27, 2019 at 8:22 PM Gyan wrote: > > >> > >

Re: [FFmpeg-devel] [PATCH V1 0/2] Use avctx->framerate first for frame rate setting

2019-04-28 Thread myp...@gmail.com
On Sun, Apr 28, 2019 at 5:30 PM Gyan wrote: > > > > On 28-04-2019 07:19 AM, myp...@gmail.com wrote: > > On Sat, Apr 27, 2019 at 8:22 PM Gyan wrote: > >> > >> > >> On 27-04-2019 05:25 PM, Carl Eugen Hoyos wrote: > >>> 2019-04-27 13:17 G

Re: [FFmpeg-devel] [PATCH] libavfilter: Add more operation supports in FFmpeg dnn native mode.

2019-04-28 Thread myp...@gmail.com
On Sun, Apr 28, 2019 at 5:27 PM wrote: > > This patch is for the support of derain filter project in GSoC. It adds > supports for the following operations: > > > > > (1) Conv padding method: "SAME" and "VALID" > > (2) Dilation > > (3) Activation: "NONE" and "LEAKY_RELU" > > > > > These

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Remove HLSContext.strict_std_compliance field

2019-04-27 Thread myp...@gmail.com
On Tue, Apr 16, 2019 at 2:04 PM Jun Zhao wrote: > > From: Jun Zhao > > After the commit 9f61abc8111, we can use AVFormatContext.strict_std_compliance > instead of HLSContext.strict_std_compliance to avoid the code redundancy. > > Signed-off-by: Jun Zhao > --- > libavformat/hls.c |4 +--- >

Re: [FFmpeg-devel] [PATCH V1 0/2] Use avctx->framerate first for frame rate setting

2019-04-27 Thread myp...@gmail.com
On Sat, Apr 27, 2019 at 8:22 PM Gyan wrote: > > > > On 27-04-2019 05:25 PM, Carl Eugen Hoyos wrote: > > 2019-04-27 13:17 GMT+02:00, Jun Zhao : > >> perfer avctx->framerate first than use avctx->time_base when > >> setting the frame rate to encoder. 1/time_base is not the > >> average frame rate

Re: [FFmpeg-devel] [PATCH]lavfi/frei0r: Fix union and remove unneeded cast

2019-04-23 Thread myp...@gmail.com
On Wed, Apr 24, 2019 at 5:12 AM Carl Eugen Hoyos wrote: > > Hi! > > I failed to test attached patch but it seems like a more useful fix for > the following (past) warning: > libavfilter/vf_frei0r.c:130:17: warning: assignment to ‘char **’ from > incompatible pointer type ‘char *’ > > Please

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavfi/frei0r: Fixes the compilation warnings

2019-04-23 Thread myp...@gmail.com
On Wed, Apr 24, 2019 at 5:04 AM Carl Eugen Hoyos wrote: > > 2019-04-21 15:21 GMT+02:00, Jun Zhao : > > ffmpeg | branch: master | Jun Zhao | Sun Apr 21 > > 12:37:29 2019 +0800| [b272d5b9b6e189cb855ad393edf8524066bd0d07] | committer: > > Jun Zhao > > > > lavfi/frei0r: Fixes the compilation

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_h264: add support for maxframesize

2019-04-22 Thread myp...@gmail.com
On Tue, Apr 23, 2019 at 11:29 AM Linjie Fu wrote: > > Add support for max frame size: > - max_frame_size (bytes) to indicate the allowed max frame size. > - pass_num to indicate number of passes. > - delta_qp to indicate adjust qp value. > > Currently only AVC encoder can support this

Re: [FFmpeg-devel] [PATCH V2] lavfi/frei0r: Fixes the compilation warnings

2019-04-22 Thread myp...@gmail.com
On Sun, Apr 21, 2019 at 9:03 PM Paul B Mahol wrote: > > On 4/21/19, Jun Zhao wrote: > > From: Jun Zhao > > > > Fixes the compilation warnings > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/vf_frei0r.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH V2] lavf/oggparsevorbis: Fix change the case of metadata keys issue

2019-04-22 Thread myp...@gmail.com
On Mon, Apr 22, 2019 at 10:43 PM Derek Buitenhuis wrote: > > On 22/04/2019 13:19, myp...@gmail.com wrote: > > Ping? > > > > LGTM. > > - Derek Pushed, Thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmp

Re: [FFmpeg-devel] [PATCH] libavcodec: QSV protect GPB code with CO3 define

2019-04-22 Thread myp...@gmail.com
On Mon, Apr 22, 2019 at 8:42 PM Andreas Håkon wrote: > > > ‐‐‐ Original Message ‐‐‐ > On Monday, 22 de April de 2019 14:17, myp...@gmail.com > wrote: > > > On Mon, Apr 22, 2019 at 7:38 PM Li, Zhong zhong...@intel.com wrote: > > > > > > Fr

Re: [FFmpeg-devel] [PATCH] libavcodec: QSV protect GPB code with CO3 define

2019-04-22 Thread myp...@gmail.com
On Mon, Apr 22, 2019 at 7:38 PM Li, Zhong wrote: > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Andreas Håkon via ffmpeg-devel > > Sent: Thursday, April 18, 2019 6:11 PM > > To: FFmpeg development discussions and patches > > > > Cc: Andreas Håkon > > Subject:

Re: [FFmpeg-devel] [PATCH V2] lavf/oggparsevorbis: Fix change the case of metadata keys issue

2019-04-22 Thread myp...@gmail.com
On Wed, Apr 17, 2019 at 12:44 PM Jun Zhao wrote: > > From: Jun Zhao > > The spec in https://xiph.org/vorbis/doc/v-comment.html states that > the metadata keys are case-insensitive, so don't change the case > and update the fate test case. > > Fix #7784 > > Signed-off-by: Jun Zhao > --- >

Re: [FFmpeg-devel] [PATCH V1] lavf/oggparsevorbis: Fix change the case of metadata keys issue

2019-04-16 Thread myp...@gmail.com
On Wed, Apr 17, 2019 at 6:41 AM Michael Niedermayer wrote: > > On Tue, Apr 16, 2019 at 09:33:08AM +0800, myp...@gmail.com wrote: > > On Tue, Apr 16, 2019 at 5:51 AM Michael Niedermayer > > wrote: > > > > > > On Mon, Apr 15, 2019 at 09:58:30AM +0800, Ju

Re: [FFmpeg-devel] [PATCH V1 2/2] lavf: bump version/add Changelog entry when cleanup applehttp

2019-04-16 Thread myp...@gmail.com
On Tue, Apr 16, 2019 at 4:42 PM Hendrik Leppkes wrote: > > On Tue, Apr 16, 2019 at 7:57 AM Jun Zhao wrote: > > > > From: Jun Zhao > > > > commit abfeba9 "lavf/hls: Cleanup the applehttp" missed > > the version bump and Changelog entry. > > > > Signed-off-by: Jun Zhao > > --- > > Changelog

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-15 Thread myp...@gmail.com
On Mon, Apr 15, 2019 at 11:02 PM Carl Eugen Hoyos wrote: > > 2019-04-12 13:20 GMT+02:00, Jun Zhao : > > From: Jun Zhao > > > > Cleanup the applehttp as demuxer name, when use the command : > > > > ffmpeg -formats, get the confused information like: > > " > > E hls Apple HTTP Live

Re: [FFmpeg-devel] [PATCH V1] lavf/oggparsevorbis: Fix change the case of metadata keys issue

2019-04-15 Thread myp...@gmail.com
On Tue, Apr 16, 2019 at 5:51 AM Michael Niedermayer wrote: > > On Mon, Apr 15, 2019 at 09:58:30AM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > The spec in https://xiph.org/vorbis/doc/v-comment.html states that > > the metadata keys are case-insensitive, so don't change the case > > and

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_filter: Fix error when both hwaccel and stream_loop applied

2019-04-14 Thread myp...@gmail.com
On Mon, Apr 15, 2019 at 11:11 AM Leo Zhang wrote: > > For example: > ./ffmpeg -hwaccel cuvid -c:v h264_cuvid -stream_loop -1 -i in.flv -c:v > h264_nvenc out.flv > will print below error messages after one loop: > Impossible to convert between the formats supported by the filter >

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-14 Thread myp...@gmail.com
On Fri, Apr 12, 2019 at 10:08 PM Steven Liu wrote: > > > > > 在 2019年4月12日,19:20,Jun Zhao 写道: > > > > From: Jun Zhao > > > > Cleanup the applehttp as demuxer name, when use the command : > > > > ffmpeg -formats, get the confused information like: > > " > > E hls Apple HTTP Live

Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-08 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 3:29 PM myp...@gmail.com wrote: > > On Mon, Apr 8, 2019 at 9:09 AM myp...@gmail.com wrote: > > > > > > > > On Fri, Apr 5, 2019 at 12:38 AM Andreas Rheinhardt via ffmpeg-devel > > wrote: > > > > > > Jun Zhao: > &g

Re: [FFmpeg-devel] [PATCH RFC v2 1/3] fftools: Add thumbnail output to vaapi_h264 decoder

2019-04-08 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 4:54 PM Zachary Zhou wrote: > > This is sample code for reference > > HW support for decode+scaling in a single HW command (VDBOX+SFC). > The primary target usage is video analytics, but can be used playback, > transcoding, etc. > > For VAAPI - >

Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-08 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 9:09 AM myp...@gmail.com wrote: > > > > On Fri, Apr 5, 2019 at 12:38 AM Andreas Rheinhardt via ffmpeg-devel > wrote: > > > > Jun Zhao: > > > From: Jun Zhao > > > > > > Fix memory leak after write trailer for #7827,

Re: [FFmpeg-devel] [PATCH]lavf/movenc: Pass correct pointer to av_log().

2019-04-07 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 5:30 AM Carl Eugen Hoyos wrote: > > Hi! > > Attached patch is what git grep showed me after seeing ecdaa4b4 by Paul. > > Please comment, Carl Eugen LGTM if pass the fate. Thanks ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] lavfi: add nlmeans_opencl filter

2019-04-07 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 9:33 AM Song, Ruiling wrote: > > > -Original Message- > > From: Song, Ruiling > > Sent: Monday, April 1, 2019 3:53 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Song, Ruiling > > Subject: [PATCH] lavfi: add nlmeans_opencl filter > > > > Signed-off-by: Ruiling Song >

Re: [FFmpeg-devel] [PATCH V1] doc/examples/metadata: fix the example can't dump FLV metadata

2019-04-07 Thread myp...@gmail.com
On Wed, Apr 3, 2019 at 3:26 PM Jun Zhao wrote: > > From: Jun Zhao > > fix the example can't dump FLV metadata. > > Signed-off-by: Jun Zhao > --- > doc/examples/metadata.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/doc/examples/metadata.c

Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-07 Thread myp...@gmail.com
On Fri, Apr 5, 2019 at 12:38 AM Andreas Rheinhardt via ffmpeg-devel < ffmpeg-devel@ffmpeg.org> wrote: > > Jun Zhao: > > From: Jun Zhao > > > > Fix memory leak after write trailer for #7827, only store a audio > > packet whose buffer has size greater than zero in cur_audio_pkt. > > > > Thanks to

Re: [FFmpeg-devel] [PATCH V1] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-04 Thread myp...@gmail.com
On Thu, Apr 4, 2019 at 5:43 PM Hendrik Leppkes wrote: > > On Thu, Apr 4, 2019 at 11:25 AM Jun Zhao wrote: > > > > From: Jun Zhao > > > > Fix memory leak after write trailer for #7827 > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/matroskaenc.c |2 +- > > 1 files changed, 1

Re: [FFmpeg-devel] Patch for Reproducing Issue 7827

2019-04-04 Thread myp...@gmail.com
On Thu, Apr 4, 2019 at 3:12 PM Peter Belkner wrote: > > On 04.04.2019 08:49, myp...@gmail.com wrote: > > On Thu, Apr 4, 2019 at 2:33 PM Peter Belkner wrote: > > This patch does not improve or fix something instead it is meant for > easily reproducing issue 7827 (as r

Re: [FFmpeg-devel] Patch for Reproducing Issue 7827

2019-04-04 Thread myp...@gmail.com
On Thu, Apr 4, 2019 at 2:33 PM Peter Belkner wrote: > > This patch does not improve or fix something instead it is meant for > easily reproducing issue 7827 (as requested, cf. > https://trac.ffmpeg.org/ticket/7827). I've to admit that I don't know > how to produce a patch by "git format-patch"

Re: [FFmpeg-devel] [PATCH V2] lavf/flvdec: Fix AMF NUMBER type to metadata lost precision

2019-04-04 Thread myp...@gmail.com
On Thu, Apr 4, 2019 at 5:21 AM Michael Niedermayer wrote: > > On Thu, Mar 28, 2019 at 09:23:29PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Use %.12g replace %.f when save AMF NUMBER(double) type to > > metadata. And update fate ref. > > > > before this fix, we get FLV metadata like: > >

Re: [FFmpeg-devel] [PATCH] avcodec/packet: initialize payload size to zero

2019-04-03 Thread myp...@gmail.com
On Wed, Apr 3, 2019 at 11:57 AM Andriy Gelman wrote: > > From: Andriy Gelman > > --- > libavcodec/avpacket.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c > index 8f0603df78..6ae092ed31 100644 > --- a/libavcodec/avpacket.c > +++

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/showinfo: support regions of interest sidedata

2019-04-02 Thread myp...@gmail.com
On Sat, Mar 9, 2019 at 11:44 PM Thomas Xu wrote: > > +for (int index = 0; index < nb_rois; index++) { > +av_log(ctx, AV_LOG_INFO, "index: %d, region: (%d %d)/(%d %d), qp > offset: %d/%d", > + index, roi->left, roi->top, roi->right, roi->bottom, > roi->qoffset.num,

Re: [FFmpeg-devel] [PATCH V2] lavf/flvdec: Fix AMF NUMBER type to metadata lost precision

2019-04-02 Thread myp...@gmail.com
On Thu, Mar 28, 2019 at 9:23 PM Jun Zhao wrote: > > From: Jun Zhao > > Use %.12g replace %.f when save AMF NUMBER(double) type to > metadata. And update fate ref. > > before this fix, we get FLV metadata like: > > Metadata: > lasttimestamp : 113 > lastkeyframetimestamp: 112 > > after

Re: [FFmpeg-devel] [PATCH] lavfi: add nlmeans_opencl filter

2019-04-01 Thread myp...@gmail.com
On Mon, Apr 1, 2019 at 3:53 PM Ruiling Song wrote: > Signed-off-by: Ruiling Song > --- > This filter runs about 2x faster on integrated GPU than nlmeans on my > Skylake CPU. > Anybody like to give some comments? > > Ruiling > > configure | 1 + > doc/filters.texi

Re: [FFmpeg-devel] [fixme] avformat/hlsenc.c miss pat info

2019-04-01 Thread myp...@gmail.com
On Mon, Apr 1, 2019 at 12:02 PM lmzeng(曾令明) wrote: > > When I try use ffmpeg 4.1 concat some mp3 files like this: > > >>ffconcat version 1.0 > >> > >>file http://1251953721.vod2.myqcloud.com/0ec02e46vodcq1251953721/8e15b6325285890787361152529/f0.mp3 > >>file

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_decode: add va_profile format map support for HEVC_REXT

2019-03-27 Thread myp...@gmail.com
On Thu, Mar 28, 2019 at 12:03 PM Linjie Fu wrote: > > HEVC_REXT will be map to {VAProfileHEVCMain422_10, VAProfileHEVCMain444, > VAProfileHEVCMain444_10} in vaapi_profile_map[], since need to be > distinguished > to select the exact va_profile. > > Add va_profile -> AV_PIX_FMT map for

Re: [FFmpeg-devel] [PATCH V2] lavfi/showinfo: support regions of interest sidedata

2019-03-10 Thread myp...@gmail.com
On Mon, Mar 11, 2019 at 10:51 AM Guo, Yejun wrote: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Jun Zhao > > Sent: Sunday, March 10, 2019 9:17 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Jun Zhao > > Subject: [FFmpeg-devel]

Re: [FFmpeg-devel] [PATCH V4 1/2] lavfi/nlmeans: Checking number precision when computing integral images

2019-03-08 Thread myp...@gmail.com
On Fri, Mar 8, 2019 at 5:26 PM Paul B Mahol wrote: > > On 3/8/19, Jun Zhao wrote: > > From: Jun Zhao > > > > accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii) > > data type, it will have a risk of an integral value becoming larger than > > the 32-bits integer capacity and

Re: [FFmpeg-devel] [PATCH 2/4] lavfi/tonemap: make use of AVFILTER_DEFINE_CLASS

2019-03-07 Thread myp...@gmail.com
On Fri, Mar 8, 2019 at 4:38 AM Michael Niedermayer wrote: > > On Wed, Mar 06, 2019 at 11:18:25AM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > use AVFILTER_DEFINE_CLASS for defining the filter classes > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/vf_tonemap.c |8 +--- > >

Re: [FFmpeg-devel] [PATCH V3] lavfi/nlmeans: Checking number precision when computing integral images

2019-03-07 Thread myp...@gmail.com
On Fri, Mar 8, 2019 at 4:28 AM Michael Niedermayer wrote: > On Thu, Mar 07, 2019 at 09:18:42PM +0100, Michael Niedermayer wrote: > > On Thu, Mar 07, 2019 at 09:45:12AM +0800, Jun Zhao wrote: > > > From: Jun Zhao > > > > > > accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t >

Re: [FFmpeg-devel] [PATCH 3/4] lavfi/nlmeans: Checking number precision when computing integral images

2019-03-06 Thread myp...@gmail.com
On Wed, Mar 6, 2019 at 9:15 PM Carl Eugen Hoyos wrote: > > 2019-03-06 12:31 GMT+01:00, myp...@gmail.com : > > On Wed, Mar 6, 2019 at 3:55 PM Carl Eugen Hoyos wrote: > >> > >> 2019-03-06 4:18 GMT+01:00, Jun Zhao : > > >> > +// accumulation

Re: [FFmpeg-devel] [PATCH V2] lavfi/nlmeans: Checking number precision when computing integral images

2019-03-06 Thread myp...@gmail.com
On Thu, Mar 7, 2019 at 9:39 AM Jun Zhao wrote: > > From: Jun Zhao > > accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii) > data type, it will have a risk of an integral value becoming larger than > the 32-bits integer capacity and resulting in an integer overflow. For >

Re: [FFmpeg-devel] [PATCH 3/4] lavfi/nlmeans: Checking number precision when computing integral images

2019-03-06 Thread myp...@gmail.com
On Wed, Mar 6, 2019 at 3:55 PM Carl Eugen Hoyos wrote: > > 2019-03-06 4:18 GMT+01:00, Jun Zhao : > > From: Jun Zhao > > > > accumulation of 8-bits uint_8 (uint8_t *src) into 32-bits (uint32_t *ii) > > data type, it will have a risk of an integral value becoming larger than > > the 32-bits

Re: [FFmpeg-devel] [PATCH] use the correct option of pkg-config to check version

2019-03-04 Thread myp...@gmail.com
On Mon, Mar 4, 2019 at 4:06 PM Guo, Yejun wrote: > > I tried pkg-config on my local ubuntu16.04 system, the option like > ">=1.2" or "<3.2" does not work, we have to use option --atleast-version > and --max-version separately. > > Signed-off-by: Guo, Yejun > --- > configure | 57

Re: [FFmpeg-devel] [PATCH 2/5] libx264: Update ROI behaviour to match documentation

2019-02-27 Thread myp...@gmail.com
On Thu, Feb 28, 2019 at 10:53 AM Guo, Yejun wrote: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Mark Thompson > > Sent: Thursday, February 28, 2019 6:00 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: [FFmpeg-devel] [PATCH

Re: [FFmpeg-devel] [PATCH v3 01/12] vaapi_encode: Support more RC modes

2019-02-12 Thread myp...@gmail.com
On Mon, Feb 11, 2019 at 3:47 AM Mark Thompson wrote: > > Allow setting the mode explicitly, and try to make a sensible choice > given the available parameters if not. > --- > doc/encoders.texi | 24 +++ > libavcodec/vaapi_encode.c | 382 +++--- >

Re: [FFmpeg-devel] [PATCH V3] tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts

2019-02-12 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 9:27 PM Michael Niedermayer wrote: > > On Tue, Feb 12, 2019 at 02:31:20PM +0800, Jun Zhao wrote: > > Use av_ts2str() for AVFrame.pkt_dts/pts to avoid print the > > pkt_dts/pts as negative number like: > > "0,3616613, -9223372036854775808, 1001, 3110400,

Re: [FFmpeg-devel] [PATCH V2] tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts

2019-02-11 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 7:38 AM Michael Niedermayer wrote: > > On Mon, Feb 11, 2019 at 11:21:27AM +0800, Jun Zhao wrote: > > Add AV_NOPTS_VALUE check for AVFrame.pkt_dts to avoid print the > > pkt_dts as negative number like: > > "0,3616613, -9223372036854775808, 1001, 3110400,

Re: [FFmpeg-devel] [PATCH] avfilter/tests/integral: Check malloc fail before using it

2019-02-11 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 1:48 AM Michael Niedermayer wrote: > > On Sun, Feb 10, 2019 at 01:07:20PM +0800, Jun Zhao wrote: > > Need to check malloc fail before using it, so adjust the location > > in the code. > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/tests/integral.c |6 +++---

  1   2   3   >