Re: [FFmpeg-devel] [PATCH] avdevice/decklink: adjust for timecode lag

2019-08-13 Thread Gyan
On 09-08-2019 04:59 PM, Ilinca Tudose wrote: Hi Marton, The issue with the out of sync TC was reproducible on all tapes and decks that we tested. I don't have the exact number now, but a few dozens, less than 100. They all had between 7 and 17 frames out of sync. We were not able to obtain

[FFmpeg-devel] [PATCH V3] avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9 support

2019-08-13 Thread Guo, Yejun
example command line to verify it: ./ffmpeg -i input.stream -vf addroi=0:0:iw/3:ih/3:-0.8 -c:v libvpx -b:v 2M tmp.webm Signed-off-by: Guo, Yejun --- libavcodec/libvpxenc.c | 197 + 1 file changed, 197 insertions(+) diff --git

Re: [FFmpeg-devel] [PATCH V2] avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9 support

2019-08-13 Thread Guo, Yejun
> -Original Message- > From: James Zern [mailto:jz...@google.com] > Sent: Wednesday, August 14, 2019 7:32 AM > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V2] avcodec/libvpxenc: add ROI-based > encoding support for VP8/VP9

[FFmpeg-devel] [PATCH] Change libaom default to crf=28.

2019-08-13 Thread elliottk
Current default is 256kbps, which produces inconsistent results (too high for low-res, too low for hi-res). Use CRF instead, which will adapt. --- libavcodec/libaomenc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c

Re: [FFmpeg-devel] [PATCH] lavf/vf_deinterlace_vaapi: flush queued frame in field mode

2019-08-13 Thread Aman Gupta
On Tue, Aug 13, 2019 at 7:01 PM Fu, Linjie wrote: > > -Original Message- > > From: Fu, Linjie > > Sent: Friday, August 2, 2019 17:54 > > To: ffmpeg-devel@ffmpeg.org > > Cc: Fu, Linjie > > Subject: [PATCH] lavf/vf_deinterlace_vaapi: flush queued frame in field > > mode > > > > Add

Re: [FFmpeg-devel] [PATCH] lavf/vf_deinterlace_vaapi: flush queued frame in field mode

2019-08-13 Thread Fu, Linjie
> -Original Message- > From: Fu, Linjie > Sent: Friday, August 2, 2019 17:54 > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [PATCH] lavf/vf_deinterlace_vaapi: flush queued frame in field > mode > > Add deint_vaapi_request_frame for deinterlace_vaapi, send NULL frame > to flush

Re: [FFmpeg-devel] [PATCH] lavu/hwcontext_vaapi: cope with race map for YUV420P

2019-08-13 Thread Fu, Linjie
> -Original Message- > From: Fu, Linjie > Sent: Thursday, August 1, 2019 12:45 > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [PATCH] lavu/hwcontext_vaapi: cope with race map for YUV420P > > There is a race condition for AV_PIX_FMT_YUV420P when mapping from > pix_fmt > to

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-13 Thread Ross Nicholson
Ping. If I’m missing something I should have provided for this patch please let me know. It’s my first patch to FFmpeg. > On 11 Aug 2019, at 10:39, Ross Nicholson wrote: > > 3rd time lucky, can anyone take a look at this? It’s a minor patch and is > required for kodi. > > Thanks in advance

[FFmpeg-devel] [PATCH v2 1/3] avfilter: add v360 filter

2019-08-13 Thread Eugene Lyapustin
Signed-off-by: Eugene Lyapustin --- doc/filters.texi | 137 +++ libavfilter/Makefile |1 + libavfilter/allfilters.c |1 + libavfilter/vf_v360.c| 1847 ++ 4 files changed, 1986 insertions(+) create mode 100644 libavfilter/vf_v360.c

[FFmpeg-devel] [PATCH v2 3/3] avfilter/vf_v360: add dual fisheye format

2019-08-13 Thread Eugene Lyapustin
Signed-off-by: Eugene Lyapustin --- doc/filters.texi | 20 +++ libavfilter/vf_v360.c | 60 +++ 2 files changed, 80 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 6c70ffceb1..feb3a123b6 100644 --- a/doc/filters.texi

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_v360: add padding option for cubemap

2019-08-13 Thread Eugene Lyapustin
Signed-off-by: Eugene Lyapustin --- doc/filters.texi | 18 +++- libavfilter/vf_v360.c | 100 -- 2 files changed, 93 insertions(+), 25 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 6168a3502a..6c70ffceb1 100644 ---

Re: [FFmpeg-devel] [PATCH, RFC, v2 3/3] lavc/libvpxenc: add dynamic resolution encode support for libvpx

2019-08-13 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of James Zern > Sent: Wednesday, August 14, 2019 07:37 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, RFC, v2 3/3] lavc/libvpxenc: add >

Re: [FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread Juan De León
On Tue, Aug 13, 2019 at 4:49 PM James Almer wrote: > I'm fairly sure this was discussed before, but invalid arguments > shouldn't crash an user's application. They even have their own > standardized errno value for this purpose. > asserts() are to catch bugs in our code, not in theirs. Returning

Re: [FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread James Almer
On 8/13/2019 7:29 PM, Nicolas George wrote: > Juan De León (12019-08-13): >> The array is there so that the structure isn't opaque, it should be >> accessed with the function. > > I realize you need it, but not for the reason you say. It is needed for > alignment: if blocks needs more alignment

Re: [FFmpeg-devel] [PATCH, RFC, v2 3/3] lavc/libvpxenc: add dynamic resolution encode support for libvpx

2019-08-13 Thread James Zern
Hi, On Tue, Aug 13, 2019 at 2:30 AM Linjie Fu wrote: > > According to spec, libvpx should support dynamic resolution changes. > > Add dynamic resolution encoding support in libvpx. > > Only single pass mode with no look ahead is supported for variable > resolution encoding without

Re: [FFmpeg-devel] [PATCH V2] avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9 support

2019-08-13 Thread James Zern
Hi, On Tue, Aug 13, 2019 at 1:18 AM Guo, Yejun wrote: > > example command line to verify it: > ./ffmpeg -i input.stream -vf addroi=0:0:iw/3:ih/3:-0.8 -c:v libvpx -b:v 2M > tmp.webm > > Signed-off-by: Guo, Yejun > --- > configure | 7 ++ > libavcodec/libvpxenc.c | 197 >

[FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread Juan De León
AVEncodeInfoFrame data structure to store as AVFrameSideData of type AV_FRAME_DATA_ENCODE_INFO. The structure stores quantization index for each plane, DC/AC deltas for luma and chroma planes, and an array of AVEncodeInfoBlock type denoting position, size, and delta quantizer for each block in the

Re: [FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread Nicolas George
Juan De León (12019-08-13): > The array is there so that the structure isn't opaque, it should be > accessed with the function. I realize you need it, but not for the reason you say. It is needed for alignment: if blocks needs more alignment than info, info+sizeof(info) is not a valid pointer for

Re: [FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread Juan De León
On Tue, Aug 13, 2019 at 2:49 PM Nicolas George wrote: > > +info->blocks_offset = offsetof(AVEncodeInfoFrame, blocks); > > You can use sizeof(AVEncodeInfoFrame) and dispense with the blocks final > array entirely. > The array is there so that the structure isn't opaque, it should be accessed

Re: [FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread Nicolas George
Juan De León (12019-08-13): > AVEncodeInfoFrame data structure to store as AVFrameSideData of type > AV_FRAME_DATA_ENCODE_INFO. > The structure stores quantization index for each plane, DC/AC deltas > for luma and chroma planes, and an array of AVEncodeInfoBlock type > denoting position, size, and

[FFmpeg-devel] [PATCH] libavutil: AVEncodeInfo data structures

2019-08-13 Thread Juan De León
AVEncodeInfoFrame data structure to store as AVFrameSideData of type AV_FRAME_DATA_ENCODE_INFO. The structure stores quantization index for each plane, DC/AC deltas for luma and chroma planes, and an array of AVEncodeInfoBlock type denoting position, size, and delta quantizer for each block in the

[FFmpeg-devel] [PATCH] ffplay: properly detect all window size changes

2019-08-13 Thread Marton Balint
SDL_WINDOWEVENT_SIZE_CHANGED should be used instead of SDL_WINDOWEVENT_RESIZED because SDL_WINDOWEVENT_RESIZED is only emitted if the resize happened due to an external event. Fixes ticket #8072. Additional references: https://bugzilla.libsdl.org/show_bug.cgi?id=4760

Re: [FFmpeg-devel] [PATCH 0/1] Parsing quicktime tracks in matroska containers

2019-08-13 Thread Carl Eugen Hoyos
> Am 13.08.2019 um 21:16 schrieb Stanislav Ionascu > : > > Hi All, > > when remuxing some of the mp4 files into the mkv container, not all > video codecs can be properly represented. As such, to make the codec > configuration complete, mkvtoolnix muxes in the full stsd box. > > I also

Re: [FFmpeg-devel] [PATCH 1/1] avformat/matroska: fully parse stsd atom in v_quicktime tracks

2019-08-13 Thread Andreas Rheinhardt
Stanislav Ionascu: > Per matroska spec, v_quicktime contains the complete stsd atom, after > the mandatory size + fourcc. By properly parsing the hvcc sub-atoms of > the track, it becomes possible to demux/decode mp4/mov tracks stored as is > in matroska containers. > > Also dvh1 in stsd in

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/indeo2: Check remaining input more often

2019-08-13 Thread Michael Niedermayer
On Thu, Aug 01, 2019 at 02:26:22AM +0200, Michael Niedermayer wrote: > Fixes: Timeout (95sec -> 30ms) > Fixes: > 14765/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO2_fuzzer-5692455527120896 > > Found-by: continuous fuzzing process >

[FFmpeg-devel] [PATCH] libavformat/mxfenc: Allow more bitrates for NTSC IMX50

2019-08-13 Thread Thomas Mundt
Hi, attached patch fixes ticket #8077. Please comment. Regards, Thomas 0001-libavformat-mxfenc-Allow-more-bitrates-for-NTSC-IMX5.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 0/1] Parsing quicktime tracks in matroska containers

2019-08-13 Thread Kieran O Leary
On Tue, 13 Aug 2019, 20:25 Stanislav Ionascu, wrote: > Hi All, > > when remuxing some of the mp4 files into the mkv container, not all > video codecs can be properly represented. Purely out of curiosity, what other codes does this affect? Best, Kieran O'Leary Irish Film Institute

[FFmpeg-devel] [PATCH 1/1] avformat/matroska: fully parse stsd atom in v_quicktime tracks

2019-08-13 Thread Stanislav Ionascu
Per matroska spec, v_quicktime contains the complete stsd atom, after the mandatory size + fourcc. By properly parsing the hvcc sub-atoms of the track, it becomes possible to demux/decode mp4/mov tracks stored as is in matroska containers. Also dvh1 in stsd in matroska is more likely hevc codec

[FFmpeg-devel] [PATCH 0/1] Parsing quicktime tracks in matroska containers

2019-08-13 Thread Stanislav Ionascu
Hi All, when remuxing some of the mp4 files into the mkv container, not all video codecs can be properly represented. As such, to make the codec configuration complete, mkvtoolnix muxes in the full stsd box. I also switched "detecting" DVH1 in a v_quicktime track in an mkv file, as a HEVC

Re: [FFmpeg-devel] [PATCH 2/2] convert_from_tensorflow.py: support conv2d with dilation

2019-08-13 Thread Pedro Arthur
LGTM. Should push soon. BTW I just noticed that the tensorflow backend is failling to load SR filter models. $ python tools/python/convert.py sr_models/srcnn.pb $ ./ffmpeg -i input.jpg -vf sr=model=srcnn.model:dnn_backend=tensorflow out_srcnn_tf.png The above command fails. It seems commit

[FFmpeg-devel] [PATCH v6] avfilter/avf_aphasemeter: Add out-of-phase and mono detection

2019-08-13 Thread Romane Lafon
This patch extends aphasemeter to detect out of phase or mono sequences in stereo streams, with its associated documentation. From f7f627e48282c4aefa5229925454f97747822deb Mon Sep 17 00:00:00 2001 From: Romane Lafon Date: Tue, 13 Aug 2019 17:39:36 +0200 Subject: [PATCH] avfilter/avf_aphasemeter:

Re: [FFmpeg-devel] [PATCH v5] avfilter/avf_aphasemeter: Add out-of-phase and mono detection

2019-08-13 Thread Romane Lafon
Ok, did it in v6. I also removed unused variables in uninit function : +float tolerance = 1.0f - s->tolerance; +float angle = cosf(s->angle/180.0f*M_PI); Le lun. 5 août 2019 à 17:18, Paul B Mahol a écrit : > This should be applied with sdtbool.h include removed. > > On Mon,

Re: [FFmpeg-devel] [PATCH] libavformat/subfile: Fix SEEK_CUR and SEEK_END seeking

2019-08-13 Thread Nicolas George
Andreas Rheinhardt (12019-08-08): > Ping. I just pushed your patch and mine. Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

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

Re: [FFmpeg-devel] [PATCH V1] lavf/mov: fix fMP4 tfdt box lead to dts reset issue

2019-08-13 Thread myp...@gmail.com
On Tue, Aug 13, 2019 at 7:08 PM Carl Eugen Hoyos wrote: > > Am Di., 13. Aug. 2019 um 12:36 Uhr schrieb Jun Zhao : > > > > From: Jun Zhao > > > > In fMP4 format, traf maybe have zero or more trun box, in this case, > > we just used tfdt as dts once. The sample layout like this: > > > > [moof]

[FFmpeg-devel] [PATCH] avutil/mips: remove redundant code in TRANSPOSE16x8_UB_UB.

2019-08-13 Thread Shiyou Yin
--- libavutil/mips/generic_macros_msa.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavutil/mips/generic_macros_msa.h b/libavutil/mips/generic_macros_msa.h index 9ac0583..219ff07 100644 --- a/libavutil/mips/generic_macros_msa.h +++ b/libavutil/mips/generic_macros_msa.h @@ -2523,8

Re: [FFmpeg-devel] [PATCH V1] lavf/mov: fix fMP4 tfdt box lead to dts reset issue

2019-08-13 Thread Carl Eugen Hoyos
Am Di., 13. Aug. 2019 um 12:36 Uhr schrieb Jun Zhao : > > From: Jun Zhao > > In fMP4 format, traf maybe have zero or more trun box, in this case, > we just used tfdt as dts once. The sample layout like this: > > [moof] size=8+1392 > [mfhd] size=12+4 > sequence number = 29 > [traf]

Re: [FFmpeg-devel] avformat/flvdec: delete unused code

2019-08-13 Thread Tao Zhang
Carl Eugen Hoyos 于2019年8月13日周二 下午5:37写道: > > Am Di., 13. Aug. 2019 um 09:06 Uhr schrieb leozhang : > > > > Signed-off-by: leozhang > > --- > > libavformat/flvdec.c | 16 > > 1 file changed, 16 deletions(-) > > > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > >

[FFmpeg-devel] [PATCH V1] libavdevice: Update the class name as uniform style

2019-08-13 Thread Jun Zhao
From: Jun Zhao Update the class name to uniform indev/outdev style. Signed-off-by: Jun Zhao --- libavdevice/alsa_dec.c|2 +- libavdevice/alsa_enc.c|2 +- libavdevice/avfoundation.m|2 +- libavdevice/bktr.c|2 +- libavdevice/caca.c|

[FFmpeg-devel] [PATCH]lavf/chromaprint: Silence compilation warnings

2019-08-13 Thread Carl Eugen Hoyos
Hi! Attached patch fixes several compilation warnings when building with chromapring. Please comment, Carl Eugen From 96eb4a33e8b256ee3ae75f3600ba26e6cd9b3bf2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 13 Aug 2019 12:42:27 +0200 Subject: [PATCH] lavf/chromaprint: Silence

[FFmpeg-devel] [PATCH V1] lavf/mov: fix fMP4 tfdt box lead to dts reset issue

2019-08-13 Thread Jun Zhao
From: Jun Zhao In fMP4 format, traf maybe have zero or more trun box, in this case, we just used tfdt as dts once. The sample layout like this: [moof] size=8+1392 [mfhd] size=12+4 sequence number = 29 [traf] size=8+1368 [tfhd] size=12+16, flags=20038 track ID = 1 default

Re: [FFmpeg-devel] [PATCH 1/2] avutil: Add Simple loop detector

2019-08-13 Thread Lynne
Aug 12, 2019, 20:53 by mich...@niedermayer.cc: > On Sun, Aug 11, 2019 at 08:30:51PM +0200, Reimar Döffinger wrote: > >> On 08.08.2019, at 10:36, Michael Niedermayer wrote: >> >> > This provides an alternative to retry counters. >> > Useful if there is no reasonable maximum number of iterations

Re: [FFmpeg-devel] [PATCH 08/13] avformat/avformat.h: Correct some comments

2019-08-13 Thread Carl Eugen Hoyos
Am Di., 13. Aug. 2019 um 04:49 Uhr schrieb Andreas Rheinhardt : > > 1. When set_parameters was removed from AVOutputFormat in 2fb75019, it > was forgotten to remove the comment pertaining to it. Said comment now > appeared to apply to interleave_packet; it is of course nonsense and has > been

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_scale: Ensure scaled video is divisible by n

2019-08-13 Thread Michael Niedermayer
On Mon, Aug 12, 2019 at 03:58:14PM +0200, Lars Kiesow wrote: > This patch adds a new option to the scale filter which ensures that the > output resolution is divisible by the given integer when used together > with `force_original_aspect_ratio`. This works similar to using `-n` in > the `w` and

Re: [FFmpeg-devel] avformat/flvdec: delete unused code

2019-08-13 Thread Carl Eugen Hoyos
Am Di., 13. Aug. 2019 um 09:06 Uhr schrieb leozhang : > > Signed-off-by: leozhang > --- > libavformat/flvdec.c | 16 > 1 file changed, 16 deletions(-) > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > index b531a39..4e8faed 100644 > --- a/libavformat/flvdec.c > +++

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/vp56: Consider the alpha start as end of the prior header

2019-08-13 Thread Michael Niedermayer
On Mon, Aug 12, 2019 at 09:03:41PM +1000, Peter Ross wrote: > On Sun, Aug 11, 2019 at 05:02:47PM +0200, Michael Niedermayer wrote: > > On Sun, Aug 11, 2019 at 09:29:14AM +1000, Peter Ross wrote: > > > On Tue, Aug 06, 2019 at 11:30:02PM +0200, Michael Niedermayer wrote: > > > > Fixes: Timeout

Re: [FFmpeg-devel] [PATCH v4] avutil/mips: refine msa macros CLIP_*.

2019-08-13 Thread Michael Niedermayer
On Mon, Aug 12, 2019 at 01:23:09PM +0800, Shiyou Yin wrote: > >-Original Message- > >From: ffmpeg-devel-boun...@ffmpeg.org > >[mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > >Michael Niedermayer > >Sent: Friday, August 9, 2019 12:07 AM > >To: FFmpeg development discussions and

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/4xm: Check for end of input in decode_p_block()

2019-08-13 Thread Michael Niedermayer
On Mon, Aug 12, 2019 at 11:53:20AM +0200, Paul B Mahol wrote: > LGTM will apply thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates signature.asc Description:

[FFmpeg-devel] [PATCH, RFC, v2 3/3] lavc/libvpxenc: add dynamic resolution encode support for libvpx

2019-08-13 Thread Linjie Fu
According to spec, libvpx should support dynamic resolution changes. Add dynamic resolution encoding support in libvpx. Only single pass mode with no look ahead is supported for variable resolution encoding without initialization. cmdline: ffmpeg -noautoscale -y -i

Re: [FFmpeg-devel] [PATCH 2/6] avcodec/hevcdec: Check delta_luma_weight_l0/1

2019-08-13 Thread Michael Niedermayer
On Sun, Aug 11, 2019 at 11:07:24PM -0300, James Almer wrote: > On 8/11/2019 9:17 PM, Michael Niedermayer wrote: > > Fixes: signed integer overflow: 1 + 2147483647 cannot be represented in > > type 'int' > > Fixes: > >

Re: [FFmpeg-devel] [PATCH 2/5] avcodec/vc1: Fix overflow in aspect ratio calculation

2019-08-13 Thread Jean-Baptiste Kempf
Are those values even acceptable according to spec? Shouldn't 16k*16K be the maximum allowed? On Fri, Aug 9, 2019, at 01:26, Michael Niedermayer wrote: > Fixes: signed integer overflow: 393215 * 14594 cannot be represented in > type 'int' > Fixes: >

[FFmpeg-devel] [PATCH V2] avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9 support

2019-08-13 Thread Guo, Yejun
example command line to verify it: ./ffmpeg -i input.stream -vf addroi=0:0:iw/3:ih/3:-0.8 -c:v libvpx -b:v 2M tmp.webm Signed-off-by: Guo, Yejun --- configure | 7 ++ libavcodec/libvpxenc.c | 197 + 2 files changed, 204

Re: [FFmpeg-devel] [REQUEST] ffmpeg-security subscription

2019-08-13 Thread Paul B Mahol
On Mon, Aug 12, 2019 at 6:15 PM Michael Niedermayer wrote: > Hi Paul > > On Mon, Aug 05, 2019 at 11:50:04AM +0200, Paul B Mahol wrote: > > Hi, > > > > I here hereby request from lead FFmpeg entity to give me subscription to > > ffmpeg-security mailing list. > > I am not sure who or what a "lead

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-08-13 Thread sharpbai
On iOS 11, encoding a frame may return error with log "Error encoding frame 0", which means vtenc_output_callback is called with status=0 and sample_buffer=NULL. Then the encoding session will be crashed on next callback wether or not closing the codec context. Let us look through the link below

[FFmpeg-devel] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-08-13 Thread sharpbai
On iOS 11, encoding a frame may return error with log "Error encoding frame 0", which means vtenc_output_callback is called with status=0 and sample_buffer=NULL. Then the encoding session will be crashed on next callback wether or not closing the codec context. Let us look through the link below

Re: [FFmpeg-devel] [PATCH] hevc_mp4toannexb: Do not duplicate parameter sets

2019-08-13 Thread Andreas Rheinhardt
Andriy Gelman: > Andreas, > > On Sun, 21. Jul 10:47, Andreas Rheinhardt wrote: >> Andriy Gelman: >>> From: Andriy Gelman >>> >>> Fixes #7799 >>> >>> Currently, the mp4toannexb filter always inserts extradata at the start >>> of each IRAP unit. This can lead to duplication of parameter sets if

[FFmpeg-devel] [PATCH 4/6] lavc/qsvdec: remove orignal parser code since not needed now

2019-08-13 Thread Zhong Li
Signed-off-by: Zhong Li --- configure | 10 +- libavcodec/qsvdec.c | 28 +--- libavcodec/qsvdec.h | 3 --- 3 files changed, 6 insertions(+), 35 deletions(-) diff --git a/configure b/configure index 3fb8f35..ddaaf80 100755 --- a/configure +++

[FFmpeg-devel] [PATCH 5/6] lavc/qsvdec: Add mjpeg decoder support

2019-08-13 Thread Zhong Li
Signed-off-by: Zhong Li --- Changelog | 3 +++ configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 1 + libavcodec/qsvdec_other.c | 28 +++- 5 files changed, 33 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 6/6] lavc/qsvdec: Add VP9 decoder support

2019-08-13 Thread Zhong Li
VP9 decoder is support on Intel kabyLake+ platforms with MSDK Version 1.19+ Signed-off-by: Zhong Li --- Changelog | 1 + configure | 1 + libavcodec/allcodecs.c| 1 + libavcodec/qsv.c | 5 + libavcodec/qsvdec_other.c | 46

[FFmpeg-devel] [PATCH 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-08-13 Thread Zhong Li
Using MSDK parser can improve qsv decoder pass rate in some cases (E.g: sps declares a wrong level_idc, smaller than it should be). And it is necessary for adding new qsv decoders such as MJPEG and VP9 since current parser can't provide enough information. Actually using

[FFmpeg-devel] [PATCH 2/6] lavc/qsv: make function qsv_map_fourcc() can be called externally

2019-08-13 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsv.c | 4 ++-- libavcodec/qsv_internal.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 437ef7c..533804a 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -207,7 +207,7 @@ int

[FFmpeg-devel] [PATCH 1/6] lavc/qsvdec: add function ff_qsv_map_picstruct()

2019-08-13 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsv.c | 18 ++ libavcodec/qsv_internal.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 986d4f6..437ef7c 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -245,6 +245,24 @@