Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Michael Niedermayer
On Mon, Mar 25, 2019 at 12:37:37PM +0200, Lauri Kasanen wrote: > On Mon, 25 Mar 2019 11:17:38 +0100 > Michael Niedermayer wrote: > > > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > > In this function, the exact same clamping happens both in the if and > > > unconditionally.

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Michael Niedermayer
On Mon, Mar 25, 2019 at 12:36:24PM +0100, Hendrik Leppkes wrote: > On Mon, Mar 25, 2019 at 11:35 AM Lauri Kasanen wrote: > > > > On Mon, 25 Mar 2019 11:17:38 +0100 > > Michael Niedermayer wrote: > > > > > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > > > In this function, the

Re: [FFmpeg-devel] [PATCH] avformat/flvdec: added support for KUX container

2019-03-25 Thread Carl Eugen Hoyos
2019-03-19 18:11 GMT+01:00, swarajhota...@gmail.com : > From: Swaraj Hota > > Fixes ticket #4519. I will push this if there are no objections. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-d

[FFmpeg-devel] Patch request to timestamp.h for silencedetect filter

2019-03-25 Thread Allan Cady via ffmpeg-devel
Noob here. I would like to suggest a simple change to libavutil\timestamp.h, that for me makes the difference between silencedetect being very useful, or not useful at all. If there is a better way to submit this, I'm happy to jump through proper hoops... this seems like a good place to start t

[FFmpeg-devel] [PATCH] avformat/matroskadec: disable parsing for AV1 streams

2019-03-25 Thread James Almer
Keyframes are signaled at the container level on Matroska/Webm files, so bitstream parsing for that purpose is unnecessary. Should speed up demuxing a bit. Signed-off-by: James Almer --- libavformat/matroskadec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Tao Zhang
Timo Rothenpieler 于2019年3月25日周一 下午6:31写道: > > On 25/03/2019 09:27, Tao Zhang wrote: > >>> Hi, > >>> > >>> Timo and Mark and I have been discussing this, and we think the right > >>> thing to do is add support to vf_scale_cuda to respect the crop > >>> properties on an input AVFrame. Mark posted a

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power option in H264 QSV

2019-03-25 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Linjie Fu > Sent: Monday, March 25, 2019 9:32 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power option in > H264 QSV > > Always exposes low_power option for

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Timo Rothenpieler > Sent: Monday, March 25, 2019 6:31 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated > video crop filter > > On 2

[FFmpeg-devel] [PATCH 1/3] lavc/qsvdec: add support for gpu_copy

2019-03-25 Thread Linjie Fu
Add support for GPU copy when QSV decoders works in system memory mode. However, memory must be sequent and aligned with 128x64 to enable this feature.(first introduced in FFmpeg 3.3.1) GPUCopy = MFX_GPUCOPY_ON leads to performance improvement up to x10. CMD: ffmpeg -init_hw_device qsv=hw -filter

[FFmpeg-devel] [PATCH, RFC 2/3] lavc/qsvdec: add support for system memory mode

2019-03-25 Thread Linjie Fu
Copy from video to system memory, so output in sysmem memory mode is needed. Signed-off-by: Linjie Fu --- Previously discussed in: https://patchwork.ffmpeg.org/patch/7009/ This mode is needed in gpu_copy, is this feature implemented in current lavc now? libavcodec/qsvdec.c | 3 ++- 1 file change

[FFmpeg-devel] [PATCH 3/3] doc/examples: add QSV decode GPU copy sample

2019-03-25 Thread Linjie Fu
Usage is: ./qsvdec_gpucopy on/off input_stream output_stream For example: - enable/disable gpu copy: ./qsvdec_gpucopy on input.h264 output.yuv ./qsvdec_gpucopy off input.h264 output.yuv Generate fps per second. Signed-off-by: Linjie Fu --- configure | 2 + doc/exam

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power option in H264 QSV

2019-03-25 Thread Fu, Linjie
> -Original Message- > From: Li, Zhong > Sent: Tuesday, March 26, 2019 12:02 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Fu, Linjie > Subject: RE: [FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power option > in H264 QSV > > > From: ffmpeg-devel [mailto:ffmpe

[FFmpeg-devel] [PATCH, v2] lavc/qsvenc: expose low_power option in H264 QSV

2019-03-25 Thread Linjie Fu
Always exposes low_power option for h264 qsv, and reports a warning if VDENC is not supported with current version of MSDK. Signed-off-by: Linjie Fu --- [v2]: repalce "VDENC" with "low_power" to be more understandable. libavcodec/qsvenc.c | 11 ++- libavcodec/qsvenc_h264.c | 2 --

[FFmpeg-devel] [PATCH v2] swscale: Remove duplicated code

2019-03-25 Thread Lauri Kasanen
In this function, the exact same clamping happens both in the if and unconditionally. Signed-off-by: Lauri Kasanen --- libswscale/output.c | 10 -- 1 file changed, 10 deletions(-) v2: Remove the unconditional instead of the if'd clipping. I'll leave changing the bit pattern to others,

[FFmpeg-devel] [PATCH 3/3 v2] swscale/ppc: VSX-optimize yuv2422_X

2019-03-25 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 \ -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 7.2x speedup: yuyv422 126354 UNITS in yuv2packedX, 16384 runs, 0 skips 16383 UNITS in yuv2packedX, 16382 runs, 2 skips yv

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Philip Langdale via ffmpeg-devel > Sent: Monday, March 25, 2019 12:57 PM > To: FFmpeg development discussions and patches > Cc: Philip Langdale > Subject: Re: [FFmpeg-devel] [PATCH][FFmpeg-

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Tobias Rapp
On 24.03.2019 21:14, Jean-Baptiste Kempf wrote: On Sun, 24 Mar 2019, at 20:10, Ronald S. Bultje wrote: The GPL does not mention hardware (instead, they use the word "system library"). Going from here, I don't consider enterprise-level hardware like Matrox $$$ priced stuff to be a system library

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Tao Zhang
Song, Ruiling 于2019年3月25日周一 下午3:26写道: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Philip Langdale via ffmpeg-devel > > Sent: Monday, March 25, 2019 12:57 PM > > To: FFmpeg development discussions and patches > > Cc: Philip

Re: [FFmpeg-devel] [PATCH] configure: include pkgconfig path as vaapi header search

2019-03-25 Thread Li, Zhong
> From: Li, Zhong > Sent: Wednesday, March 20, 2019 3:57 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Li, Zhong > Subject: [PATCH] configure: include pkgconfig path as vaapi header search > > Currectly just standard header path and be found, check_type/struct will fail > if vaapi is installed somewhere

[FFmpeg-devel] [PATCH V1 1/3] lavf/utils: Remove redundancy AVFMT_FLAG_CUSTOM_IO setting

2019-03-25 Thread Jun Zhao
From: Jun Zhao After commit ba631b79, we don't need to re-setting AVFMT_FLAG_CUSTOM_IO in init_input(). Signed-off-by: Jun Zhao --- libavformat/utils.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 9b3f0d2..fe67c8f 1006

[FFmpeg-devel] [PATCH V1 3/3] avformat/avformat.h: Update the Update the comment for AVInputFormat.flags

2019-03-25 Thread Jun Zhao
From: Jun Zhao AVFMT_NOTIMESTAMPS may be using AVInputFormat.flags for demuxing Signed-off-by: Jun Zhao --- libavformat/avformat.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 2907be5..a65c262 100644 --- a/libav

[FFmpeg-devel] [PATCH V1 2/3] avformat/avformat.h: Update the comment for format_probesize

2019-03-25 Thread Jun Zhao
From: Jun Zhao Update the comment for format_probesize. Signed-off-by: Jun Zhao --- libavformat/avformat.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e1b9b11..2907be5 100644 --- a/libavformat/avformat.h +++ b/

[FFmpeg-devel] [PATCH] avformat/avformat.h: Update the comment for AVInputFormat.flags

2019-03-25 Thread Jun Zhao
From: Jun Zhao AVFMT_NOTIMESTAMPS may be using AVInputFormat.flags for demuxing Signed-off-by: Jun Zhao --- libavformat/avformat.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 2907be5..a65c262 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Michael Niedermayer
On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > In this function, the exact same clamping happens both in the if and > unconditionally. > > Signed-off-by: Lauri Kasanen > --- > libswscale/output.c | 14 -- > 1 file changed, 14 deletions(-) The removed code is the o

Re: [FFmpeg-devel] [PATCH] configure: include pkgconfig path as vaapi header search

2019-03-25 Thread Timo Rothenpieler
On 20/03/2019 08:57, Zhong Li wrote: Currectly just standard header path and be found, check_type/struct will fail if vaapi is installed somewhere else. --- configure | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/configure b/configure index eaf543df96.

Re: [FFmpeg-devel] [Patch] beautified + accelerated vf_fillborders – Please review

2019-03-25 Thread Ulf Zibis
Hi again, Am 19.03.19 um 21:44 schrieb Ulf Zibis: > Am 19.03.19 um 17:31 schrieb Carl Eugen Hoyos: >>> 122670 decicycles in fillborders=0:0:5:5:mirror 3p-8bit-1x1, >>> 1 runs, 0 skips >> One run is not good. >> Either use the loop option to filter the same frame again and >> again or feed a

Re: [FFmpeg-devel] Added support for XV video files

2019-03-25 Thread Moritz Barsnick
On Mon, Mar 25, 2019 at 07:57:04 +0530, Shivam Goyal wrote: > which would be intialised at the time of reading header) whenever we > need to read from the input file, Which would recquire more processing > and would make the program slow for both xv  and flv files Good point. I agree that decidin

Re: [FFmpeg-devel] [PATCH v7] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-03-25 Thread Wang, Shaofei
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Saturday, March 23, 2019 9:42 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v7] Improved the performance of 1 > decode + N filter graphs and adapti

Re: [FFmpeg-devel] Added support for XV video files

2019-03-25 Thread Michael Niedermayer
On Sun, Mar 24, 2019 at 04:35:40PM +0530, Shivam Goyal wrote: > The attached patch is for ticket #3720 > >     https://trac.ffmpeg.org/ticket/3720 > > I have tested this demuxer on the files 1.xv and 5.xv attached with the > ticket > > http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket3720/ > >

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Timo Rothenpieler
On 25/03/2019 09:27, Tao Zhang wrote: Hi, Timo and Mark and I have been discussing this, and we think the right thing to do is add support to vf_scale_cuda to respect the crop properties on an input AVFrame. Mark posted a patch to vf_crop to ensure that the properties are set, and then the scale

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Lauri Kasanen
On Mon, 25 Mar 2019 11:17:38 +0100 Michael Niedermayer wrote: > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > In this function, the exact same clamping happens both in the if and > > unconditionally. > > > > Signed-off-by: Lauri Kasanen > > --- > > libswscale/output.c | 14

Re: [FFmpeg-devel] Added support for XV video files

2019-03-25 Thread Shivam Goyal
On 3/25/19 3:59 PM, Michael Niedermayer wrote: On Sun, Mar 24, 2019 at 04:35:40PM +0530, Shivam Goyal wrote: The attached patch is for ticket #3720     https://trac.ffmpeg.org/ticket/3720 I have tested this demuxer on the files 1.xv and 5.xv attached with the ticket http://samples.ffmpeg.or

Re: [FFmpeg-devel] [Patch] beautified + accelerated vf_fillborders – Please review

2019-03-25 Thread Ulf Zibis
Am 24.03.19 um 00:40 schrieb Carl Eugen Hoyos: > There are two patches "1", one with wrong indentation. I intentionally have provided 2 patches with the same number, one for the code base an one with additions for the benchmark. I've catched the wrong indentation, hopefully at the place you meant.

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Hendrik Leppkes
On Mon, Mar 25, 2019 at 11:35 AM Lauri Kasanen wrote: > > On Mon, 25 Mar 2019 11:17:38 +0100 > Michael Niedermayer wrote: > > > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > > In this function, the exact same clamping happens both in the if and > > > unconditionally. > > > >

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Yufei He
Hi Matrox card is very similar to cards from other companies in terms of accesses. I suggest that we should differentiate hardware codec and software codec. Hardware codecs are very strong help to FFmpeg for high resolution video encoding and decoding like 4k. though gradually software codec w

[FFmpeg-devel] [PATCH] lavc/qsvenc: expose low_power option in H264 QSV

2019-03-25 Thread Linjie Fu
Always exposes low_power option for h264 qsv, and reports a warning if VDENC is not supported with current version of MSDK. Signed-off-by: Linjie Fu --- libavcodec/qsvenc.c | 11 ++- libavcodec/qsvenc_h264.c | 2 -- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/li

[FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Yufei He
Hi I think there may be one format missing in AVPixelFormat. AV_PIX_FMT_YUYV210 [cid:part1.002B7405.3138ACFB@matrox.com] The start of each line in the V210 video buffer format must be aligned to a multiple of 48 pixels (128 bytes). This means that if a line is not a multiple of 48, each line

Re: [FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Kieran Kunhya
On Mon, 25 Mar 2019 at 13:53 Yufei He wrote: > Hi > > I think there may be one format missing in AVPixelFormat. > > AV_PIX_FMT_YUYV210 > For various reasons v210 and friends are implemented as a codec in FFmpeg. Kieran ___ ffmpeg-devel mailing list ff

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Kieran Kunhya
On Mon, 25 Mar 2019 at 13:02 Yufei He wrote: > Hardware codecs and software codecs are taking different responsibilities. > > Thanks a lot. > > Yufei. > Hi, You should expose the APIs to the hardware, people will buy more of them if they can program the chip to do things as they want. I appreci

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: Check slice sizes before allocating image

2019-03-25 Thread Michael Niedermayer
On Sat, Mar 16, 2019 at 05:32:11PM +0100, Michael Niedermayer wrote: > Fixes: Timeout (26sec -> 2sec) > Fixes: > 13612/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXTORY_fuzzer-5676845977042944 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projec

Re: [FFmpeg-devel] [PATCH] avcodec/truemotion2: Fix integer overflow in tm2_null_res_block()

2019-03-25 Thread Michael Niedermayer
On Sat, Mar 16, 2019 at 09:39:10AM +0100, Michael Niedermayer wrote: > Fixes: signed integer overflow: 638592 - -2122219136 cannot be > represented in type 'int' > Fixes: > 13441/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5732769815068672 > > Found-by: continuous fu

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Kieran Kunhya
On Mon, 25 Mar 2019 at 13:56 Kieran Kunhya wrote: > On Mon, 25 Mar 2019 at 13:02 Yufei He wrote: > >> Hardware codecs and software codecs are taking different responsibilities. >> >> Thanks a lot. >> >> Yufei. >> > > Hi, > > You should expose the APIs to the hardware, people will buy more of the

Re: [FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Devin Heitmueller
Hello Yufei, > On Mar 25, 2019, at 9:53 AM, Yufei He wrote: > > Hi > > I think there may be one format missing in AVPixelFormat. > > AV_PIX_FMT_YUYV210 > > > [cid:part1.002B7405.3138ACFB@matrox.com] > > > The start of each line in the V210 video buffer format must be > aligned to a multip

Re: [FFmpeg-devel] AVPixelFormat for YUYV 10 bit.

2019-03-25 Thread Yufei He
It's a standard format. I suggest that it should be in AVPixelFormat.  the codec can do the conversion. Yufei. On 03/25/2019 09:55 AM, Kieran Kunhya wrote: > On Mon, 25 Mar 2019 at 13:53 Yufei He wrote: > >> Hi >> >> I think there may be one format missing in AVPixelFormat. >> >> AV_PIX_FMT_YU

Re: [FFmpeg-devel] [PATCH] avformat/mov: Fix potential integer overflow in entry check in mov_read_trun()

2019-03-25 Thread Michael Niedermayer
On Sun, Mar 17, 2019 at 11:34:40AM +0100, Michael Niedermayer wrote: > No testcase > > Signed-off-by: Michael Niedermayer > --- > libavformat/mov.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0F

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/jpeg2000dec: Skip de-quantization of empty areas

2019-03-25 Thread Michael Niedermayer
On Wed, Mar 20, 2019 at 01:02:36AM +0100, Michael Niedermayer wrote: > Fixes: Timeout (26sec -> 18sec) > Fixes: > 13448/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-576903098243481 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/proj

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mpegpicture: Check size of edge_emu_buffer

2019-03-25 Thread Michael Niedermayer
On Mon, Mar 18, 2019 at 12:50:36AM +0100, Michael Niedermayer wrote: > Fixes: OOM > Fixes: > 13710/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5633152942342144 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-of

[FFmpeg-devel] [PATCH 2/3] avcodec/av1_metadata: add an option to remove Padding OBUs

2019-03-25 Thread James Almer
Signed-off-by: James Almer --- libavcodec/av1_metadata_bsf.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavcodec/av1_metadata_bsf.c b/libavcodec/av1_metadata_bsf.c index 2b74b697e4..fe208feaf5 100644 --- a/libavcodec/av1_metadata_bsf.c +++ b/libavcodec/av1_metadata

[FFmpeg-devel] [PATCH 3/3] avcodec/cbs_av1: fix parsing spatial_id

2019-03-25 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c index 22330eabf3..77548084b6 100644 --- a/libavcodec/cbs_av1.c +++ b/libavcodec/cbs_av1.c @@ -964,7 +964,7 @@ static int cbs_av1_read

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix range of values for Mastering Display Color Volume Metadata OBUs

2019-03-25 Thread James Almer
On 3/23/2019 2:30 PM, James Almer wrote: > Signed-off-by: James Almer > --- >> Does something like >> FFMIN(((uint64_t)current->luminance_max << 6) - 1, MAX_UINT_BITS(32)) >> do the right thing? > > Yes. Fixed and a comment added. > > libavcodec/cbs_av1_syntax_template.c | 13 - > 1

[FFmpeg-devel] [PATCH 1/3] avcodec/cbs_av1: add support for Padding OBUs

2019-03-25 Thread James Almer
Based on itut_t35 Matadata OBU parsing code. Signed-off-by: James Almer --- libavcodec/cbs_av1.c | 20 + libavcodec/cbs_av1.h | 7 ++ libavcodec/cbs_av1_syntax_template.c | 32 3 files changed, 59 insertions(+) di

[FFmpeg-devel] [PATCH v2] avcodec: add AV1 frame split bitstream filter

2019-03-25 Thread James Almer
This will be needed by the eventual native AV1 decoder. Signed-off-by: James Almer --- Updated after recent changes to the CBS fragment handling API. configure| 1 + libavcodec/Makefile | 1 + libavcodec/av1_frame_split_bsf.c | 248 ++

Re: [FFmpeg-devel] [PATCHv3] FATE: Add test for HEVC files that claim to have two first slices

2019-03-25 Thread Derek Buitenhuis
On 21/03/2019 21:30, Michael Niedermayer wrote: > about this specific file, > derek should have write access to samples as well I actually don't remember the specifics / servers / etc... - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org htt

[FFmpeg-devel] [PATCH] avcodec/cinepak: check the first slice against the input size before obtaining a frame

2019-03-25 Thread Michael Niedermayer
Fixes: Timeout (16sec -> 0.5sec) Fixes: 13854/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CINEPAK_fuzzer-5641061185093632 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cinepak.c | 14 +

Re: [FFmpeg-devel] [PATCH v2] avcodec: add AV1 frame split bitstream filter

2019-03-25 Thread James Almer
On 3/25/2019 12:29 PM, James Almer wrote: > +ret = ff_cbs_read_packet(s->cbc, td, s->buffer_pkt); > +if (ret < 0) { > +av_log(ctx, AV_LOG_ERROR, "Failed to parse temporal unit.\n"); > +return ret; > +if (split) { > +AV1RawFrameHeader *frame = NUL

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Jean-Baptiste Kempf
On Mon, 25 Mar 2019, at 08:32, Tobias Rapp wrote: > > Most of those hardware libraries are glorified ioctls around the driver and > > shipped with the drivers. > > And I see this with nVidia, Intel MFX and Decklink (lots of "acquire C++ > > interface, set param" there, release the C++ interface).

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Jean-Baptiste Kempf
On Mon, 25 Mar 2019, at 14:02, Yufei He wrote: > Matrox card is very similar to cards from other companies in terms of > accesses. Then why do you have this specific libmvM264Ffmpeg library? What is it? Is it part of the driver? Is it installed at the same time as the driver? -- Jean-Baptiste

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Yufei He
Yes, it's part of the installation for the driver of the card. People who have the card will install it. Thanks. Yufei On 03/25/2019 01:04 PM, Jean-Baptiste Kempf wrote: > On Mon, 25 Mar 2019, at 14:02, Yufei He wrote: >> Matrox card is very similar to cards from other companies in terms of >>

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Nicolas George
Yufei He (12019-03-25): > Yes, it's part of the installation for the driver of the card. People > who have the card will install it. Why does it have "ffmpeg" in its name? It looks like deliberate circumvention; if it is, then no, thanks. > On 03/25/2019 01:04 PM, Jean-Baptiste Kempf wrote: Ple

Re: [FFmpeg-devel] [PATCH v2] avcodec: add AV1 frame split bitstream filter

2019-03-25 Thread Ronald S. Bultje
Hi, On Mon, Mar 25, 2019 at 12:42 PM James Almer wrote: > On 3/25/2019 12:29 PM, James Almer wrote: > > +ret = ff_cbs_read_packet(s->cbc, td, s->buffer_pkt); > > +if (ret < 0) { > > +av_log(ctx, AV_LOG_ERROR, "Failed to parse temporal > unit.\n"); > > +ret

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: Return FFERROR_REDO when receiving a frame of unexpected size

2019-03-25 Thread Stephan Hilb
Alexander Strasser wrote on 21.03.2019 at 23:34: > 3. Return zero-sized packets => This works and is consistent with how >we handle frames flagged to be corrupted (V4L2_BUF_FLAG_ERROR). >See commit 28f20d2ff487aa589643d8f70eaf614b78839685 . I posted a patch for this on Sat, 25 Aug 2018. I

Re: [FFmpeg-devel] [PATCH v2] avcodec: add AV1 frame split bitstream filter

2019-03-25 Thread James Almer
On 3/25/2019 4:30 PM, Ronald S. Bultje wrote: > Hi, > > On Mon, Mar 25, 2019 at 12:42 PM James Almer wrote: > >> On 3/25/2019 12:29 PM, James Almer wrote: >>> +ret = ff_cbs_read_packet(s->cbc, td, s->buffer_pkt); >>> +if (ret < 0) { >>> +av_log(ctx, AV_LOG_ERROR, "Fai

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-25 Thread Moritz Barsnick
On Mon, Mar 25, 2019 at 18:51:15 +0100, Nicolas George wrote: > Yufei He (12019-03-25): > > Yes, it's part of the installation for the driver of the card. People > > who have the card will install it. > Why does it have "ffmpeg" in its name? It looks like deliberate > circumvention; if it is, then

Re: [FFmpeg-devel] [PATCH] Use packet DTS to correct frame PTS for PTS missing video in nvidia cuvid decoder

2019-03-25 Thread Joonsik Baek
Could i get this reviewed? This is about libavcodec/cuviddec.c -Original Message- From: "백준식" To: ; Cc: Sent: 2019-03-21 (목) 08:18:22 (GMT+09:00) Subject: [PATCH] Use packet DTS to correct frame PTS for PTS missing video in nvidia cuvid decoder   - Current Status In cuvid decoder wrap

Re: [FFmpeg-devel] [PATCH v4] avformat/http, icecast, rtsp: Add option to disable send-100-continue

2019-03-25 Thread Jun Li
On Fri, Mar 22, 2019 at 4:12 PM Jun Li wrote: > The current setting for send-100-continue option is either > enabled if applicable or forced enabled, no option to force > disable the header. This change is to expand the option setting > to provide more flexibility, which is useful for rstp case.