[FFmpeg-devel] [PATCH] lavc/vaapi_encode_h265: add low_delay_b option for HEVC

2020-04-12 Thread Linjie Fu
Low delay B-frame is supported on ICL+ platform. For low power encoding, low_delay_b should be enabled by default. Low delay B: There is an on-going work in libva and media-driver to add querys suppor

[FFmpeg-devel] [PATCH] lavc/vaapi_encode_h265: fix max_transform_hierarchy_depth_inter/intra

2020-04-12 Thread Linjie Fu
Set the max_transform_hierarchy_depth_inter/intra to 2 by default based on the Programmer's Reference Manuals (PRM) in [1]. Intel Encoder only supports 2 levels of quad-tree. That is: - max_transform_hierarchy_depth_inter/intra <= 2. [1]

Re: [FFmpeg-devel] [PATCH 00/20] Matroska muxer patches

2020-04-12 Thread Andreas Rheinhardt
Andreas Rheinhardt: > This patchset is sort-of a revival of the part of a patchset I sent > earlier [1], but which couldn't be applied fully because the way the > webm_chunk muxer bypassed the API [2]. Now that this has been fixed [3], > I have taken the opportunity to resend this patchset in an up

[FFmpeg-devel] FFMPEG On YouTube

2020-04-12 Thread ffmpeg-devel
On this YouTube Channel I cover different Tech Topics: https://www.youtube.com/channel/UCyoHzQ_ePBPct3qbB-J7dMQ As part of the Content I create, I will follow this and the ffmpeg-user list and answer questions, follow threads, etc. I have been participating in these mailing lists off and on for

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Zane van Iperen
On Sun, 12 Apr 2020 16:38:06 +0200 "Paul B Mahol" wrote: > On 4/12/20, Zane van Iperen wrote: > > On Sun, 12 Apr 2020 15:01:39 +0200 > > "Paul B Mahol" wrote: > > > >> > > >> > I probably should have mentioned that yes, I had already added > >> > the appropriate SSI code to adpcm_compress_tre

Re: [FFmpeg-devel] [PATCH v2] avutil/log: update text requesting samples

2020-04-12 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 02:19 Uhr schrieb Marton Balint : > > > > On Mon, 13 Apr 2020, Carl Eugen Hoyos wrote: > > > Am Mo., 13. Apr. 2020 um 00:45 Uhr schrieb Marton Balint : > >> > >> Signed-off-by: Marton Balint > >> --- > >> libavutil/log.c | 6 +++--- > >> 1 file changed, 3 insertions(+), 3

Re: [FFmpeg-devel] [PATCH v2] avutil/log: update text requesting samples

2020-04-12 Thread Marton Balint
On Mon, 13 Apr 2020, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 00:45 Uhr schrieb Marton Balint : Signed-off-by: Marton Balint --- libavutil/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/log.c b/libavutil/log.c index 8d4945249e..965dbca5e1

Re: [FFmpeg-devel] [PATCH v2 4/4] avformat/mpegtsenc: use the correct stream_types and write HDMV descriptors for m2ts

2020-04-12 Thread Marton Balint
On Mon, 13 Apr 2020, Carl Eugen Hoyos wrote: Am Mo., 13. Apr. 2020 um 00:38 Uhr schrieb Marton Balint : Fixes ticket #2622. Signed-off-by: Marton Balint --- Changelog | 1 + libavformat/mpegtsenc.c | 58 - 2 files changed, 58

Re: [FFmpeg-devel] [PATCH v2 4/4] avformat/mpegtsenc: use the correct stream_types and write HDMV descriptors for m2ts

2020-04-12 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 00:38 Uhr schrieb Marton Balint : > > Fixes ticket #2622. > > Signed-off-by: Marton Balint > --- > Changelog | 1 + > libavformat/mpegtsenc.c | 58 > - > 2 files changed, 58 insertions(+), 1 deletion(-) > > d

Re: [FFmpeg-devel] [PATCH v2] avutil/log: update text requesting samples

2020-04-12 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 00:45 Uhr schrieb Marton Balint : > > Signed-off-by: Marton Balint > --- > libavutil/log.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavutil/log.c b/libavutil/log.c > index 8d4945249e..965dbca5e1 100644 > --- a/libavutil/log.c > +++

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Andreas Rheinhardt
Carl Eugen Hoyos: > Am Mo., 13. Apr. 2020 um 00:20 Uhr schrieb James Almer : >> >> On 4/12/2020 7:07 PM, Carl Eugen Hoyos wrote: >>> Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 23:52 Uhr schrieb Jame

[FFmpeg-devel] [PATCH v2] avutil/log: update text requesting samples

2020-04-12 Thread Marton Balint
Signed-off-by: Marton Balint --- libavutil/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/log.c b/libavutil/log.c index 8d4945249e..965dbca5e1 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -466,9 +466,9 @@ static void missing_feature_sample(int s

[FFmpeg-devel] [PATCH v2 4/4] avformat/mpegtsenc: use the correct stream_types and write HDMV descriptors for m2ts

2020-04-12 Thread Marton Balint
Fixes ticket #2622. Signed-off-by: Marton Balint --- Changelog | 1 + libavformat/mpegtsenc.c | 58 - 2 files changed, 58 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 6dfe750d81..4ba44e5e2d 100644 --- a/Chan

Re: [FFmpeg-devel] [PATCH 1/8] fftools/ffmpeg: also flush encoders which have a variable frame size

2020-04-12 Thread Marton Balint
On Wed, 8 Apr 2020, Marton Balint wrote: On Sat, 28 Mar 2020, Marton Balint wrote: Signed-off-by: Marton Balint --- fftools/ffmpeg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index aaaf241314..6cc3c5a14d 100644 --- a/fftools/ffmpeg.c +++ b/ff

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread James Almer
On 4/12/2020 7:26 PM, Carl Eugen Hoyos wrote: > Am Mo., 13. Apr. 2020 um 00:20 Uhr schrieb James Almer : >> >> On 4/12/2020 7:07 PM, Carl Eugen Hoyos wrote: >>> Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 20

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 00:20 Uhr schrieb James Almer : > > On 4/12/2020 7:07 PM, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : > >> > >> On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: > >>> Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer > >>> : > >>>

[FFmpeg-devel] [PATCH 2/2] avcodec/cbs_jpeg_syntax_template: Check array index in huffman_table()

2020-04-12 Thread Michael Niedermayer
Fixes: index 224 out of bounds for type 'uint8_t [224]' Fixes: 21534/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-6291612167831552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavc

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_jpeg_syntax_template: Check table index before use in dht()

2020-04-12 Thread Michael Niedermayer
Fixes: out of array access Fixes: 21515/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5766121576988672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cbs_jpeg_syntax_template

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread James Almer
On 4/12/2020 7:07 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : >> >> On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: >>> Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer : On 4/12/2020 5:55 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 20

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Carl Eugen Hoyos
Am Mo., 13. Apr. 2020 um 00:17 Uhr schrieb Andreas Rheinhardt : > > Carl Eugen Hoyos: > > Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : > >> > >> On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: > >>> Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer > >>> : > > On 4/12/2020

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Andreas Rheinhardt
Carl Eugen Hoyos: > Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : >> >> On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: >>> Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer : On 4/12/2020 5:55 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 22:48 Uhr schrieb Jame

Re: [FFmpeg-devel] [PATCH 4/4] avformat/mpegtsenc: use the correct stream_types and write HDMV descriptors for m2ts

2020-04-12 Thread Carl Eugen Hoyos
Am Fr., 10. Apr. 2020 um 21:45 Uhr schrieb Marton Balint : > > Fixes ticket #2622. > > Signed-off-by: Marton Balint > --- > libavformat/mpegtsenc.c | 58 > - > 1 file changed, 57 insertions(+), 1 deletion(-) > > diff --git a/libavformat/mpegtsenc.c

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: fix compilation with MIPS16

2020-04-12 Thread Rosen Penev
On Sun, Apr 12, 2020 at 7:40 AM Michael Niedermayer wrote: > > On Sat, Apr 11, 2020 at 06:54:32PM -0700, Rosen Penev wrote: > > get_cabac_inline for mips uses inline asm that relies on mips32 > > instructions. > > > > Signed-off-by: Rosen Penev > > --- > > libavcodec/mips/cabac.h | 2 ++ > > 1 f

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 23:58 Uhr schrieb James Almer : > > On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer : > >> > >> On 4/12/2020 5:55 PM, Carl Eugen Hoyos wrote: > >>> Am So., 12. Apr. 2020 um 22:48 Uhr schrieb James Almer > >>> : > >>>

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread James Almer
On 4/12/2020 6:53 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer : >> >> On 4/12/2020 5:55 PM, Carl Eugen Hoyos wrote: >>> Am So., 12. Apr. 2020 um 22:48 Uhr schrieb James Almer : On 4/11/2020 8:53 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 20

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 23:52 Uhr schrieb James Almer : > > On 4/12/2020 5:55 PM, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 22:48 Uhr schrieb James Almer : > >> > >> On 4/11/2020 8:53 PM, Carl Eugen Hoyos wrote: > >>> Am So., 12. Apr. 2020 um 00:44 Uhr schrieb Carl Eugen Hoyos > >>> : >

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread James Almer
On 4/12/2020 5:55 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 22:48 Uhr schrieb James Almer : >> >> On 4/11/2020 8:53 PM, Carl Eugen Hoyos wrote: >>> Am So., 12. Apr. 2020 um 00:44 Uhr schrieb Carl Eugen Hoyos >>> : Am So., 5. Apr. 2020 um 14:03 Uhr schrieb Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] avcodec/cbs: Avoid leaving the ... out in calls to variadic macros

2020-04-12 Thread Andreas Rheinhardt
Mark Thompson: > On 23/03/2020 00:52, Andreas Rheinhardt wrote: >> According to C99, there has to be at least one argument for every ... >> in a variadic function-like macro. In practice most (all?) compilers also >> allow to leave it completely out, but it is nevertheless required: In a >> variadi

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Kieran Kunhya
On Sun, 12 Apr 2020 at 14:41, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 15:16 Uhr schrieb Paul B Mahol >: > > > > On 4/12/20, Carl Eugen Hoyos wrote: > > > Am So., 12. Apr. 2020 um 15:00 Uhr schrieb Paul B Mahol < > one...@gmail.com>: > > >> > > >> On 4/12/20, Carl Eugen Hoyos wrote:

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 22:48 Uhr schrieb James Almer : > > On 4/11/2020 8:53 PM, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 00:44 Uhr schrieb Carl Eugen Hoyos > > : > >> > >> Am So., 5. Apr. 2020 um 14:03 Uhr schrieb Michael Niedermayer > >> : > >>> > >>> On Sat, Apr 04, 2020 at 12:46:3

Re: [FFmpeg-devel] Stereo 3D frame packing or HDMI checkerboard input (capture from screen)

2020-04-12 Thread fireYtail3DYTnow livestreamer
I want to live stream from my computer which has those two 3D formats, to SBS format. The stereo3d filter only allows frame packing and checkerboard as output, not input, and not sure if there is any way to capture frame packing video in the first place. Nvidia 3D vision shuts down if it detects sc

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread James Almer
On 4/11/2020 8:53 PM, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 00:44 Uhr schrieb Carl Eugen Hoyos > : >> >> Am So., 5. Apr. 2020 um 14:03 Uhr schrieb Michael Niedermayer >> : >>> >>> On Sat, Apr 04, 2020 at 12:46:36AM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch makes

Re: [FFmpeg-devel] [PATCH]lavf/gdv: Improve palette saturation

2020-04-12 Thread Carl Eugen Hoyos
Am Do., 7. Sept. 2017 um 15:40 Uhr schrieb Ronald S. Bultje : > > Hi Carl, > > On Mon, Aug 28, 2017 at 10:49 AM, Carl Eugen Hoyos > wrote: > > > 2017-08-27 9:03 GMT+02:00 Paul B Mahol : > > > On 8/26/17, Carl Eugen Hoyos wrote: > > > > >> Attached patch slightly improves the saturation of the > >

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 16:32 Uhr schrieb Michael Niedermayer : > > On Sun, Apr 12, 2020 at 01:53:51AM +0200, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 00:44 Uhr schrieb Carl Eugen Hoyos > > : > > > > > > Am So., 5. Apr. 2020 um 14:03 Uhr schrieb Michael Niedermayer > > > : > > > > > >

Re: [FFmpeg-devel] Stereo 3D frame packing or HDMI checkerboard input (capture from screen)

2020-04-12 Thread Vittorio Giovara
On Sun, Apr 12, 2020 at 8:35 AM fireYtail3DYTnow livestreamer < permanentswi...@gmail.com> wrote: > Hello, good morning. I'm a Nvidia 3D vision user and due to having to use > outdated drivers and software after the discontinuation of the feature a > year ago I request that the feature to use Ster

[FFmpeg-devel] [PATCH] avformat/spdifenc: handle long TrueHD input_timing gaps

2020-04-12 Thread Anssi Hannula
Some TrueHD streams contain frames that have very long gaps in input_timing fields, while output_timing remains constant-rate. These are likely due to encoding discontinuities of some sort as the TrueHD substream terminator marker is observed before the gap. Such frames trigger a sanity check in t

Re: [FFmpeg-devel] [PATCH] vaapi_decode: Improve logging around codec/profile selection

2020-04-12 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of > Mark Thompson > Sent: Sunday, April 12, 2020 21:00 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] vaapi_decode: Improve logging around > codec/profile selection > > --- > On 12/04/2020 13:14, Mark Thompson wrote: > > ... This does rather sugge

Re: [FFmpeg-devel] [PATCH] avformat/Makefile: Add missing rawenc dependency for iLBC muxer

2020-04-12 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> Forgotten in ab502fab. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> Sorry for this mistake in ab502fab. >> >> 054ce5f786f0bff2491bda5497850d2390621176 is not a real fix, because >> --disable-everything --enable-muxer=ilbc would still fail. >> >> l

[FFmpeg-devel] [PATCH 2/2] avformat/flacenc: Don't allocate updated streaminfo separately

2020-04-12 Thread Andreas Rheinhardt
It is a small buffer of a known, fixed size and so it should simply be put into the muxer's context. Signed-off-by: Andreas Rheinhardt --- libavformat/flacenc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c index 42

[FFmpeg-devel] [PATCH 1/2] avformat/flacenc: Only update streaminfo if it has changed

2020-04-12 Thread Andreas Rheinhardt
An AVStream's codecpar is supposed to be filled by the caller before avformat_write_header(); if the CodecParameters change, the caller should signal this via packet side data, but not touch the AVStream's codecpar. The FLAC muxer checks for packet side data containing updated extradata, yet if no

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-12 Thread Ross Nicholson
User testing has been completed successfully so this is ready to be applied. Thanks > On 7 Apr 2020, at 23:50, Ross Nicholson wrote: > >  > Thank you for the explanation Marton. It's make perfect sense to me know. So > UNLIMITED would be the right choice here. > > All of your other comments

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_decode: fix the build failure when hevc_vaapi is disabled

2020-04-12 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of > Mark Thompson > Sent: Sunday, April 12, 2020 20:14 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavc/vaapi_decode: fix the build failure > when hevc_vaapi is disabled > > On 12/04/2020 12:55, Andreas Rheinhardt wrote: > > Linjie Fu: > >>

[FFmpeg-devel] [PATCH v2] lavc/vaapi_decode: fix the build failure when hevc_vaapi is disabled

2020-04-12 Thread Linjie Fu
Verified with ./configure --enable-vaapi --disable-hwaccel=hevc_vaapi Failure reported in: http://fate.ffmpeg.org/report.cgi?time=20200401135031&slot=x86_64-archlinux-gcc-random Signed-off-by: Linjie Fu --- libavcodec/vaapi_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[FFmpeg-devel] [PATCH] kmsgrab: Drop DRM master if running as root

2020-04-12 Thread Mark Thompson
If we have both root and DRM master then drop the latter because we don't need both and holding onto it can interfere with running other programs. From a discussion with deltasquared on IRC. --- It would be marginally better to check whether we have CAP_SYS_ADMIN rather than just whether we are e

Re: [FFmpeg-devel] [PATCH 1/2] swscale/yuv2rgb: Fix vertical dither offset with slices

2020-04-12 Thread Michael Niedermayer
On Thu, Apr 02, 2020 at 10:56:32PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libswscale/yuv2rgb.c | 43 ++- > 1 file changed, 22 insertions(+), 21 deletions(-) will apply [...] -- Michael GnuPG fingerprint: 9FF212

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: fix get_cabac_inline_mips function name

2020-04-12 Thread Michael Niedermayer
On Sat, Apr 11, 2020 at 06:54:33PM -0700, Rosen Penev wrote: > On other platforms, the functions are named get_cabac_inline_xxx but not > this one. There's also a define. > > Signed-off-by: Rosen Penev > --- > libavcodec/mips/cabac.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will

Re: [FFmpeg-devel] [PATCH] avformat/oggdec: Check for EOF after page header

2020-04-12 Thread Michael Niedermayer
On Wed, Apr 01, 2020 at 09:29:14PM +0200, Michael Niedermayer wrote: > Fixes: Infinite loop > Fixes: Ticket8594 > > Signed-off-by: Michael Niedermayer > --- > libavformat/oggdec.c | 3 +++ > 1 file changed, 3 insertions(+) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BA

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: fix compilation with MIPS16

2020-04-12 Thread Michael Niedermayer
On Sat, Apr 11, 2020 at 06:54:32PM -0700, Rosen Penev wrote: > get_cabac_inline for mips uses inline asm that relies on mips32 > instructions. > > Signed-off-by: Rosen Penev > --- > libavcodec/mips/cabac.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/mips/cabac.h b/liba

Re: [FFmpeg-devel] [PATCH 1/2] tools/target_dec_fuzzer: Adjust threshold for zerocodec

2020-04-12 Thread Michael Niedermayer
On Sun, Feb 23, 2020 at 06:27:25PM +0100, Michael Niedermayer wrote: > Fixes: Timeout (147sec -> 1sec) > Fixes: > 20764/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZEROCODEC_fuzzer-5068274603917312 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/pr

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Paul B Mahol
On 4/12/20, Zane van Iperen wrote: > On Sun, 12 Apr 2020 15:01:39 +0200 > "Paul B Mahol" wrote: > >> > >> > I probably should have mentioned that yes, I had already added the >> > appropriate SSI code to adpcm_compress_trellis(). >> >> The one that updates node predictor? >> > >> > > Yep, whereve

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mv30: use aandcttables for quantizer scaling

2020-04-12 Thread Michael Niedermayer
On Sun, Apr 12, 2020 at 12:33:50PM +1000, Peter Ross wrote: > --- > configure | 2 +- > libavcodec/mv30.c | 22 ++ > 2 files changed, 3 insertions(+), 21 deletions(-) assuming these are the same, the patch should be ok and assuming noone objects of course thx [...]

Re: [FFmpeg-devel] [PATCH]lavu/mem: Make alloc array functions more similar to av_malloc

2020-04-12 Thread Michael Niedermayer
On Sun, Apr 12, 2020 at 01:53:51AM +0200, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 00:44 Uhr schrieb Carl Eugen Hoyos > : > > > > Am So., 5. Apr. 2020 um 14:03 Uhr schrieb Michael Niedermayer > > : > > > > > > On Sat, Apr 04, 2020 at 12:46:36AM +0200, Carl Eugen Hoyos wrote: > > > > Hi! >

Re: [FFmpeg-devel] [PATCH] avcodec/cbs: Avoid leaving the ... out in calls to variadic macros

2020-04-12 Thread Andreas Rheinhardt
Mark Thompson: > On 23/03/2020 00:52, Andreas Rheinhardt wrote: >> According to C99, there has to be at least one argument for every ... >> in a variadic function-like macro. In practice most (all?) compilers also >> allow to leave it completely out, but it is nevertheless required: In a >> variadi

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 15:16 Uhr schrieb Paul B Mahol : > > On 4/12/20, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 15:00 Uhr schrieb Paul B Mahol : > >> > >> On 4/12/20, Carl Eugen Hoyos wrote: > >> > Am So., 12. Apr. 2020 um 11:35 Uhr schrieb Paul B Mahol > >> > : > >> >> > >> >> On

Re: [FFmpeg-devel] [PATCH] avcodec/cbs: Avoid leaving the ... out in calls to variadic macros

2020-04-12 Thread Mark Thompson
On 23/03/2020 00:52, Andreas Rheinhardt wrote: > According to C99, there has to be at least one argument for every ... > in a variadic function-like macro. In practice most (all?) compilers also > allow to leave it completely out, but it is nevertheless required: In a > variadic macro "there shall

Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: add hls_fmp4_init_resend option

2020-04-12 Thread Steven Liu
> 2020年4月7日 下午5:31,Steven Liu 写道: > > add option for resend init file after m3u8 refresh everytime. > > Signed-off-by: Steven Liu > --- > doc/muxers.texi | 3 +++ > libavformat/hlsenc.c | 41 - > 2 files changed, 39 insertions(+), 5 deletions(-) >

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Zane van Iperen
On Sun, 12 Apr 2020 15:01:39 +0200 "Paul B Mahol" wrote: > > > > I probably should have mentioned that yes, I had already added the > > appropriate SSI code to adpcm_compress_trellis(). > > The one that updates node predictor? > > > > Yep, wherever there was a check for QT, I added a check for

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Paul B Mahol
On 4/12/20, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 15:00 Uhr schrieb Paul B Mahol : >> >> On 4/12/20, Carl Eugen Hoyos wrote: >> > Am So., 12. Apr. 2020 um 11:35 Uhr schrieb Paul B Mahol >> > : >> >> >> >> On 4/12/20, Carl Eugen Hoyos wrote: >> >> > Am So., 12. Apr. 2020 um 10:38 Uhr

Re: [FFmpeg-devel] [PATCH v2 2/7] lavutil: add dolby vision related header

2020-04-12 Thread myp...@gmail.com
On Sun, Apr 12, 2020 at 9:06 PM Jean-Baptiste Kempf wrote: > > > > On Sun, Apr 12, 2020, at 03:22, myp...@gmail.com wrote: > > On Sat, Apr 11, 2020 at 10:18 PM Jean-Baptiste Kempf > > wrote: > > > > > > I really do not think it is a good idea to have a header with the name > > > dolby in it. >

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 15:00 Uhr schrieb Paul B Mahol : > > On 4/12/20, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 11:35 Uhr schrieb Paul B Mahol : > >> > >> On 4/12/20, Carl Eugen Hoyos wrote: > >> > Am So., 12. Apr. 2020 um 10:38 Uhr schrieb Paul B Mahol > >> > : > >> >> > >> >> On

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Jean-Baptiste Kempf
On Sun, Apr 12, 2020, at 15:00, Paul B Mahol wrote: > You are very ignorant or very stupid or both. Whatever the technical merit, please do not insult people. -- Jean-Baptiste Kempf - President +33 672 704 734 ___ ffmpeg-devel mailing list ffmpeg-deve

Re: [FFmpeg-devel] [PATCH v2 2/7] lavutil: add dolby vision related header

2020-04-12 Thread Jean-Baptiste Kempf
On Sun, Apr 12, 2020, at 03:22, myp...@gmail.com wrote: > On Sat, Apr 11, 2020 at 10:18 PM Jean-Baptiste Kempf > wrote: > > > > I really do not think it is a good idea to have a header with the name > > dolby in it. > > > Can you give some details, I don't why is a bad idea. Dolby is a tradem

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Paul B Mahol
On 4/12/20, Zane van Iperen wrote: > On Sun, 12 Apr 2020 11:41:40 +0200 > "Paul B Mahol" wrote: > >> On 4/12/20, Zane van Iperen wrote: >> > On Sat, 11 Apr 2020 22:02:26 +0200 >> > "Paul B Mahol" wrote: >> > >> >> > >> >> > Ping. >> >> > >> >> > Also, could someone please clarify something for

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Paul B Mahol
On 4/12/20, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 11:35 Uhr schrieb Paul B Mahol : >> >> On 4/12/20, Carl Eugen Hoyos wrote: >> > Am So., 12. Apr. 2020 um 10:38 Uhr schrieb Paul B Mahol >> > : >> >> >> >> On 4/11/20, Paul B Mahol wrote: >> >> > On 4/11/20, Carl Eugen Hoyos wrote: >

[FFmpeg-devel] [PATCH] vaapi_decode: Improve logging around codec/profile selection

2020-04-12 Thread Mark Thompson
--- On 12/04/2020 13:14, Mark Thompson wrote: > ... This does rather suggest that the error messages in that file should be > clearer, though - it would be nice if it could distinguish between "this > codec isn't supported by libavcodec at all", "this codec might work but > hasn't built into th

Re: [FFmpeg-devel] [PATCH] avcodec/cbs: Avoid leaving the ... out in calls to variadic macros

2020-04-12 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> Andreas Rheinhardt: >>> According to C99, there has to be at least one argument for every ... >>> in a variadic function-like macro. In practice most (all?) compilers also >>> allow to leave it completely out, but it is nevertheless required: In a >>> va

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_decode: fix the build failure when hevc_vaapi is disabled

2020-04-12 Thread Mark Thompson
On 12/04/2020 12:55, Andreas Rheinhardt wrote: > Linjie Fu: >> Verified with ./configure --enable-vaapi --disable-hwaccel=hevc_vaapi >> >> Failure reported in: >> http://fate.ffmpeg.org/report.cgi?time=20200401135031&slot=x86_64-archlinux-gcc-random >> >> Signed-off-by: Linjie Fu >> --- >> libavc

[FFmpeg-devel] Stereo 3D frame packing or HDMI checkerboard input (capture from screen)

2020-04-12 Thread fireYtail3DYTnow livestreamer
Hello, good morning. I'm a Nvidia 3D vision user and due to having to use outdated drivers and software after the discontinuation of the feature a year ago I request that the feature to use Stereo 3D frame packing (from screen) preferably, or alternatively HDMI checkerboard input for live streaming

[FFmpeg-devel] [PATCH v3] avformat/mux: Make uncoded frames av_packet_unref() compatible

2020-04-12 Thread Andreas Rheinhardt
Currently uncoded frames (i.e. packets whose data actually points to an AVFrame) are not refcounted. As a consequence, calling av_packet_unref() on them will not free them, but may simply make sure that they leak by losing the pointer to the frame. This commit changes this by actually making uncod

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_decode: fix the build failure when hevc_vaapi is disabled

2020-04-12 Thread Andreas Rheinhardt
Linjie Fu: > Verified with ./configure --enable-vaapi --disable-hwaccel=hevc_vaapi > > Failure reported in: > http://fate.ffmpeg.org/report.cgi?time=20200401135031&slot=x86_64-archlinux-gcc-random > > Signed-off-by: Linjie Fu > --- > libavcodec/vaapi_decode.c | 2 ++ > 1 file changed, 2 inserti

[FFmpeg-devel] [RFC PATCH] RFC -> JPEG-XL: Image format header reader

2020-04-12 Thread Varun Gupta
Hi everyone, I made some improvements to the header reader for JPEG-XL, the patch for which I had submitted earlier. The improvements include writing separate functions for all the datatypes to minimize code redundancy. All this information regarding headers will have to be read in the parser itse

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Zane van Iperen
On Sun, 12 Apr 2020 11:41:40 +0200 "Paul B Mahol" wrote: > On 4/12/20, Zane van Iperen wrote: > > On Sat, 11 Apr 2020 22:02:26 +0200 > > "Paul B Mahol" wrote: > > > >> > > >> > Ping. > >> > > >> > Also, could someone please clarify something for me? > >> > > >> > When encoding, there's no inh

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 11:35 Uhr schrieb Paul B Mahol : > > On 4/12/20, Carl Eugen Hoyos wrote: > > Am So., 12. Apr. 2020 um 10:38 Uhr schrieb Paul B Mahol : > >> > >> On 4/11/20, Paul B Mahol wrote: > >> > On 4/11/20, Carl Eugen Hoyos wrote: > >> >> Am Sa., 11. Apr. 2020 um 15:10 Uhr schrieb

[FFmpeg-devel] OpenColorIO - Google Summer of Code

2020-04-12 Thread Rashil Gandhi
Hi, I'm a student applying for Google Summer of Code this year in the organization Academy Software Foundation. One of the projects that come under them is OpenColorIO, a color management framework for visual effects and animation. The project idea that I'd like to work on is 'Adding OpenColorIO s

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Paul B Mahol
On 4/12/20, Zane van Iperen wrote: > On Sat, 11 Apr 2020 22:02:26 +0200 > "Paul B Mahol" wrote: > >> > >> > Ping. >> > >> > Also, could someone please clarify something for me? >> > >> > When encoding, there's no inherit differences between trellis and >> > non-trellis other then a potentially mo

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Paul B Mahol
On 4/12/20, Hendrik Leppkes wrote: > On Sun, Apr 12, 2020 at 10:38 AM Paul B Mahol wrote: >> >> On 4/11/20, Paul B Mahol wrote: >> > On 4/11/20, Carl Eugen Hoyos wrote: >> >> Am Sa., 11. Apr. 2020 um 15:10 Uhr schrieb Paul B Mahol >> >> : >> >>> >> >>> On 4/11/20, Carl Eugen Hoyos wrote: >> >>

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Paul B Mahol
On 4/12/20, Carl Eugen Hoyos wrote: > Am So., 12. Apr. 2020 um 10:38 Uhr schrieb Paul B Mahol : >> >> On 4/11/20, Paul B Mahol wrote: >> > On 4/11/20, Carl Eugen Hoyos wrote: >> >> Am Sa., 11. Apr. 2020 um 15:10 Uhr schrieb Paul B Mahol >> >> : >> >>> >> >>> On 4/11/20, Carl Eugen Hoyos wrote:

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Hendrik Leppkes
On Sun, Apr 12, 2020 at 10:38 AM Paul B Mahol wrote: > > On 4/11/20, Paul B Mahol wrote: > > On 4/11/20, Carl Eugen Hoyos wrote: > >> Am Sa., 11. Apr. 2020 um 15:10 Uhr schrieb Paul B Mahol > >> : > >>> > >>> On 4/11/20, Carl Eugen Hoyos wrote: > >>> > Am So., 5. Apr. 2020 um 02:05 Uhr schrieb

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Carl Eugen Hoyos
Am So., 12. Apr. 2020 um 10:38 Uhr schrieb Paul B Mahol : > > On 4/11/20, Paul B Mahol wrote: > > On 4/11/20, Carl Eugen Hoyos wrote: > >> Am Sa., 11. Apr. 2020 um 15:10 Uhr schrieb Paul B Mahol > >> : > >>> > >>> On 4/11/20, Carl Eugen Hoyos wrote: > >>> > Am So., 5. Apr. 2020 um 02:05 Uhr schr

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add adpcm_ima_ssi encoder

2020-04-12 Thread Zane van Iperen
On Sat, 11 Apr 2020 22:02:26 +0200 "Paul B Mahol" wrote: > > > > Ping. > > > > Also, could someone please clarify something for me? > > > > When encoding, there's no inherit differences between trellis and > > non-trellis other then a potentially more-accurate set of nibbles? > > > > And the deco

Re: [FFmpeg-devel] [PATCH]lavfi/telecine: Mark telecined frames as interlaced

2020-04-12 Thread Paul B Mahol
On 4/11/20, Paul B Mahol wrote: > On 4/11/20, Carl Eugen Hoyos wrote: >> Am Sa., 11. Apr. 2020 um 15:10 Uhr schrieb Paul B Mahol >> : >>> >>> On 4/11/20, Carl Eugen Hoyos wrote: >>> > Am So., 5. Apr. 2020 um 02:05 Uhr schrieb Carl Eugen Hoyos >>> > : >>> >> >>> >> Am So., 5. Apr. 2020 um 01:02 U