Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread myp...@gmail.com
On Mon, Jun 29, 2020 at 4:52 AM Alexander Strasser wrote: > > On 2020-06-28 22:23 +0200, Marton Balint wrote: > > > > > > On Sun, 28 Jun 2020, Michael Niedermayer wrote: > > > > > On Sun, Jun 28, 2020 at 01:22:58PM +0100, Derek Buitenhuis wrote: > > > > On 26/06/2020 14:49, Nicolas George wrote: >

[FFmpeg-devel] [PATCH] avcodec: Add an SVT-AV1 encoder wrapper

2020-06-28 Thread James Almer
From: Daryl Seah Signed-off-by: Daryl Seah Signed-off-by: Jing SUN Signed-off-by: ZhiZhen Tang Signed-off-by: Zhong Li Signed-off-by: Xu Guangxin Signed-off-by: James Almer --- configure | 4 + doc/encoders.texi | 36 +++ doc/general.texi| 10 +- libavcodec/

Re: [FFmpeg-devel] [PATCH 2/4] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-28 Thread lance . lmwang
On Mon, Jun 29, 2020 at 04:53:21AM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/APIchanges| 3 +++ > > libavcodec/avpacket.c | 1 + > > libavcodec/decode.c | 1 + > > libavcodec/packet.h | 8 +++

Re: [FFmpeg-devel] [PATCH V2 2/2] vf_dnn_processing.c: add dnn backend openvino

2020-06-28 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of Pedro > Arthur > Sent: 2020年6月28日 23:29 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 2/2] vf_dnn_processing.c: add dnn > backend openvino > > Hi, > > Em qua., 24 de jun. de 2020 às 03:40

Re: [FFmpeg-devel] [PATCH 2/4] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-28 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/APIchanges| 3 +++ > libavcodec/avpacket.c | 1 + > libavcodec/decode.c | 1 + > libavcodec/packet.h | 8 > libavcodec/version.h | 2 +- > libavformat/dump.c| 22 +

Re: [FFmpeg-devel] [PATCH v3 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Moritz Barsnick
On Sun, Jun 28, 2020 at 20:13:28 +0530, gautamr...@gmail.com wrote: > +int val; > +if (bytestream2_get_bytes_left(&s->g) < 1) > +return AVERROR_INVALIDDATA; > +if (sign) { > +val = bytestream2_get_byte(&s->g) + (1 << (depth - 1));

[FFmpeg-devel] [PATCH]lavc/dnxhddata: Improve experimental profile message

2020-06-28 Thread Carl Eugen Hoyos
Hi! Attached patch is meant to ease using an experimental profile for less experienced users. Please comment, Carl Eugen From 8e9f5ec1a2989ed53a30db131ae881c41b2b75e5 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 29 Jun 2020 00:51:40 +0200 Subject: [PATCH] lavc/dnxhddata: Improve ex

Re: [FFmpeg-devel] FFMPEG convert keeping metadata

2020-06-28 Thread Moritz Barsnick
Hi Luys On Sat, Jun 27, 2020 at 00:25:38 +0800, Luys8611 wrote: > I'm luys and I need a help for ffmpeg converting. > I have a .m4a file which has metadata such as speaker channel data. > I need a command line to convert it to .wav file preserving all metadata. > Or, it's also good that I can read

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread C Hanish Menon
Hi Mark, A small additional clarification to my last email, where I have responded to your queries/thoughts. The additional flexible generic logic which I am experimenting currently, allows the more complex Tile-Yf to be detiled with around 50% overhead compared to the targetted Tile-X or Tile-Y

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread C Hanish Menon
Hi Mark, hwdownload vs separate filter True, for kmsgrab use-case one could potentially do this transform as part of the drm_transfer_data logic (which currently mmaps and does a linear copy, if even I remember correctly). But like what I had mentioned in my previous email, as this is done

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix memleak

2020-06-28 Thread Dave Rice
Hi Andreas, > On Jun 27, 2020, at 5:09 PM, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> Remove the check on dv_demux since dv_fctx will leak if allocate >> dv_demux failed. >> --- >> libavformat/mov.c | 7 +++ >> 1 file changed, 3 insertions(+), 4 deletions(-) >> >> diff --git a/libavform

Re: [FFmpeg-devel] [PATCH v3] avformat/icecast: Add option to use TLS connection

2020-06-28 Thread Marvin Scholz
Ping On 18 Jun 2020, at 23:16, Marvin Scholz wrote: Ping? Anything else needed to get this merged? On 14 Jun 2020, at 22:23, Marvin Scholz wrote: On 14 Jun 2020, at 15:42, Michael Niedermayer wrote: On Sun, Jun 14, 2020 at 12:52:44AM +0200, Marvin Scholz wrote: --- doc/protocols.texi

Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel format

2020-06-28 Thread Carl Eugen Hoyos
Am So., 28. Juni 2020 um 23:01 Uhr schrieb Mark Thompson : > FFmpeg has always used pixfmt as defining both the memory layout > and which bits are used in that (so, for example, ARGB and 0RGB > are not the same thing) But they have the same bitdepth per component... Carl Eugen __

Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel format

2020-06-28 Thread Mark Thompson
On 19/06/2020 08:21, Hendrik Leppkes wrote: On Fri, Jun 19, 2020 at 3:53 AM Fei Wang wrote: P012 is 12bit planner format which is similar to NV12. It using two bytes to store 12bit valid data and 4bit zero in LSB. This format will be used for hardware decode/encode in VAAPI and QSV. P012 is

[FFmpeg-devel] [PATCH v2] ffprobe: Allow unknown format private AVOptions

2020-06-28 Thread Derek Buitenhuis
This useful, because by ffprobe's very nature, you use it to probe a file and find out what it is. Requiring every format private option to be known to the demuxer forces one to run ffprobe twice, if one wants to use ffprobe in a generic way. For example, say one wants to probe all user-uploaded f

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread Mark Thompson
On 27/06/2020 20:57, hanishkvc wrote: v02-20200627IST2331 Unrolled Intel Legacy Tile-Y detiling logic. Also a consolidated patch file, instead of the previous development flow based multiple patch files. v01-20200627IST1308 Implemented Intel Legacy Tile-X and Tile-Y detiling logic NOTES: Th

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Alexander Strasser
On 2020-06-28 22:23 +0200, Marton Balint wrote: > > > On Sun, 28 Jun 2020, Michael Niedermayer wrote: > > > On Sun, Jun 28, 2020 at 01:22:58PM +0100, Derek Buitenhuis wrote: > > > On 26/06/2020 14:49, Nicolas George wrote: > > > > Probably a good idea, but these explanation should probably go in >

Re: [FFmpeg-devel] [PATCH v3 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Alexander Strasser
On 2020-06-28 22:44 +0200, Michael Niedermayer wrote: > On Sun, Jun 28, 2020 at 08:13:28PM +0530, gautamr...@gmail.com wrote: > > From: Gautam Ramakrishnan > > > > This patch adds a pgx decoder. > > --- > > Changelog | 1 + > > doc/general.texi| 2 + > > libavcodec/Makef

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Derek Buitenhuis
On 28/06/2020 21:23, Marton Balint wrote: > I try to keep track of most ffprobe changes, so fine by me if people > agree. No argument from me. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH v3 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Michael Niedermayer
On Sun, Jun 28, 2020 at 08:13:28PM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch adds a pgx decoder. > --- > Changelog | 1 + > doc/general.texi| 2 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/code

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/aac_ac3_parser: improve the raw AAC file bit rate calculation

2020-06-28 Thread Alexander Strasser
On 2020-06-28 21:10 +0800, myp...@gmail.com wrote: > On Sun, Jun 28, 2020 at 5:30 AM Alexander Strasser wrote: > > > > On 2020-06-26 01:56 +, Jun Zhao wrote: > > > ffmpeg | branch: master | Jun Zhao | Sun May 17 > > > 12:10:05 2020 +0800| [60d79b1df9d4c6030010ccb0c134ede9e33158c2] | > > > c

Re: [FFmpeg-devel] [PATCH 1/2] fix the bug that AV_PKT_FLAG_CORRUPT flags lost after parse_packet()

2020-06-28 Thread Marton Balint
On Sat, 13 Jun 2020, Andreas Rheinhardt wrote: leviz...@live.cn: From: zhaoyi --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 667249362c..a74c0f74a2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -15

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Marton Balint
On Sun, 28 Jun 2020, Michael Niedermayer wrote: On Sun, Jun 28, 2020 at 01:22:58PM +0100, Derek Buitenhuis wrote: On 26/06/2020 14:49, Nicolas George wrote: Probably a good idea, but these explanation should probably go in doc/ffprobe.texi. Good point. Will add that during when I send v2.

Re: [FFmpeg-devel] [PATCH] avdevice/decklink_dec: extracting and outputing klv from vanc

2020-06-28 Thread Marton Balint
On Mon, 22 Jun 2020, Zivkovic, Milos wrote: Hello, I've attached another patch with the latest changes. Sorry for sending it as an attachment again, I'll figure something out for the future patches. Anyhow, this patch removes the reordering and the unused HANC constant. It also checks if PSC

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Nicolas George
Derek Buitenhuis (12020-06-28): > I have not seen Stefano active in a long time. Do you suggest I CC him on the > v2 patch? I was just emphasizing that my comment did not have the weight of maintainership. Stefano does not seem very interested, probably not very useful to Cc him. Regards, --

Re: [FFmpeg-devel] [PATCH v2] lavf/movenc: Use a dynamic buffer when writing the mfra box

2020-06-28 Thread Derek Buitenhuis
On 28/06/2020 13:25, Derek Buitenhuis wrote: > Will push tonight barring any objections. Pushed. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email f

Re: [FFmpeg-devel] [PATCH 1/5] libavcodec/jpeg2000.c: Precinct size check removed

2020-06-28 Thread Michael Niedermayer
On Sat, Jun 27, 2020 at 09:14:26PM +0530, Gautam Ramakrishnan wrote: > On Sat, Jun 27, 2020 at 7:36 PM Michael Niedermayer > wrote: > > > > On Sat, Jun 27, 2020 at 04:49:49PM +0530, Gautam Ramakrishnan wrote: > > > On Sat, Jun 27, 2020 at 3:13 PM Michael Niedermayer > > > wrote: > > > > > > > > O

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Michael Niedermayer
On Sun, Jun 28, 2020 at 01:22:58PM +0100, Derek Buitenhuis wrote: > On 26/06/2020 14:49, Nicolas George wrote: > > Probably a good idea, but these explanation should probably go in > > doc/ffprobe.texi. > > Good point. Will add that during when I send v2. > > > And I do not maintain ffprobe. > >

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread C Hanish Menon
Hi Paul, At one level I agree that compared to using gpu for doing the detiling, this will be slower. However, what I have seen from some discussions online, the extensions in vulkan and opengl with the format modifier aware export weren't fully there yet. Also in case of intel, it potentially req

[FFmpeg-devel] [PATCH v3 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread gautamramk
From: Gautam Ramakrishnan This patch adds a pgx decoder. --- Changelog | 1 + doc/general.texi| 2 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/codec_id.h | 1 + libavcodec/pgxdec.c | 205 ++

[FFmpeg-devel] [PATCH 12/12] dnn-layer-math-unary-test: add unit test for atanh

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- tests/dnn/dnn-layer-mathunary-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index 5587e47ad5..1815f79f34 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-l

[FFmpeg-devel] [PATCH 11/12] dnn_backend_native_layer_mathunary: add atanh support

2020-06-28 Thread Ting Fu
It can be tested with the model generated with below python script: import tensorflow as tf import numpy as np import imageio in_img = imageio.imread('input.jpeg') in_img = in_img.astype(np.float32)/255.0 in_data = in_img[np.newaxis, :] x = tf.placeholder(tf.float32, shape=[1, None, None, 3], na

[FFmpeg-devel] [PATCH 09/12] dnn_backend_native_layer_mathunary: add acosh support

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_backend_native_layer_mathunary.c | 4 libavfilter/dnn/dnn_backend_native_layer_mathunary.h | 1 + tools/python/convert_from_tensorflow.py | 2 +- tools/python/convert_header.py | 2 +- 4 files changed, 7 insert

[FFmpeg-devel] [PATCH 10/12] dnn-layer-math-unary-test: add unit test for acosh

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- tests/dnn/dnn-layer-mathunary-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index 90fce71a0c..5587e47ad5 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-l

[FFmpeg-devel] [PATCH 06/12] dnn-layer-math-unary-test: add unit test for tanh

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- tests/dnn/dnn-layer-mathunary-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index 0280debc0b..6885b4d318 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-l

[FFmpeg-devel] [PATCH 07/12] dnn_backend_native_layer_mathunary: add asinh support

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_backend_native_layer_mathunary.c | 4 libavfilter/dnn/dnn_backend_native_layer_mathunary.h | 1 + tools/python/convert_from_tensorflow.py | 2 +- tools/python/convert_header.py | 2 +- 4 files changed, 7 insert

[FFmpeg-devel] [PATCH 04/12] dnn-layer-math-unary-test: add unit test for cosh

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- tests/dnn/dnn-layer-mathunary-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index a1ff05e5fb..0280debc0b 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-l

[FFmpeg-devel] [PATCH 01/12] dnn_backend_native_layer_mathunary: add sinh support

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_backend_native_layer_mathunary.c | 4 libavfilter/dnn/dnn_backend_native_layer_mathunary.h | 1 + tools/python/convert_from_tensorflow.py | 2 +- tools/python/convert_header.py | 2 +- 4 files changed, 7 insert

[FFmpeg-devel] [PATCH 08/12] dnn-layer-math-unary-test: add unit test for asinh

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- tests/dnn/dnn-layer-mathunary-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index 6885b4d318..90fce71a0c 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-l

[FFmpeg-devel] [PATCH 03/12] dnn_backend_native_layer_mathunary: add cosh support

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_backend_native_layer_mathunary.c | 4 libavfilter/dnn/dnn_backend_native_layer_mathunary.h | 1 + tools/python/convert_from_tensorflow.py | 2 +- tools/python/convert_header.py | 2 +- 4 files changed, 7 insert

[FFmpeg-devel] [PATCH 05/12] dnn_backend_native_layer_mathunary: add tanh support

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_backend_native_layer_mathunary.c | 4 libavfilter/dnn/dnn_backend_native_layer_mathunary.h | 1 + tools/python/convert_from_tensorflow.py | 2 +- tools/python/convert_header.py | 2 +- 4 files changed, 7 insert

[FFmpeg-devel] [PATCH 02/12] dnn-layer-math-unary-test: add unit test for sinh

2020-06-28 Thread Ting Fu
Signed-off-by: Ting Fu --- tests/dnn/dnn-layer-mathunary-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/dnn/dnn-layer-mathunary-test.c b/tests/dnn/dnn-layer-mathunary-test.c index bf77c44bbe..a1ff05e5fb 100644 --- a/tests/dnn/dnn-layer-mathunary-test.c +++ b/tests/dnn/dnn-l

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vaapi: try VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_2 firstly when importing a DMABuf

2020-06-28 Thread Xiang, Haihao
On Thu, 2020-06-25 at 00:32 +0200, Lynne wrote: > Jun 19, 2020, 07:47 by haihao.xi...@intel.com: > > > User should provide the modifier when importing a DMABuf if this DMABuf > > has modifier. > > > > Signed-off-by: Haihao Xiang > > --- > > libavutil/hwcontext_vaapi.c | 137

Re: [FFmpeg-devel] [PATCH V2 2/2] vf_dnn_processing.c: add dnn backend openvino

2020-06-28 Thread Pedro Arthur
Hi, Em qua., 24 de jun. de 2020 às 03:40, Guo, Yejun escreveu: > > > > -Original Message- > > From: Guo, Yejun > > Sent: 2020年6月11日 21:01 > > To: ffmpeg-devel@ffmpeg.org > > Cc: Guo, Yejun > > Subject: [PATCH V2 2/2] vf_dnn_processing.c: add dnn backend openvino > > > > We can try with

Re: [FFmpeg-devel] [PATCH v2 1/2] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-06-28 Thread lance . lmwang
On Sat, Jun 20, 2020 at 10:25:50PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/APIchanges| 3 +++ > libavcodec/avpacket.c | 1 + > libavcodec/decode.c | 1 + > libavcodec/packet.h | 8 > libavcodec/version.h | 2 +-

Re: [FFmpeg-devel] [PATCH v3 2/2] libavformat/img2dec: Added pgx demuxer

2020-06-28 Thread Gautam Ramakrishnan
On Sun, Jun 28, 2020 at 8:16 PM Carl Eugen Hoyos wrote: > > Am So., 28. Juni 2020 um 16:43 Uhr schrieb : > > > > From: Gautam Ramakrishnan > > > > This patch adds support to demux pgx file > > format. > > Has anything changed compared to earlier versions? No change. I didnt realize that it is exc

Re: [FFmpeg-devel] [PATCH v3 2/2] libavformat/img2dec: Added pgx demuxer

2020-06-28 Thread Carl Eugen Hoyos
Am So., 28. Juni 2020 um 16:43 Uhr schrieb : > > From: Gautam Ramakrishnan > > This patch adds support to demux pgx file > format. Has anything changed compared to earlier versions? > --- > libavformat/allformats.c | 1 + > libavformat/img2dec.c| 10 ++ > libavformat/version.h|

[FFmpeg-devel] [PATCH v3 2/2] libavformat/img2dec: Added pgx demuxer

2020-06-28 Thread gautamramk
From: Gautam Ramakrishnan This patch adds support to demux pgx file format. --- libavformat/allformats.c | 1 + libavformat/img2dec.c| 10 ++ libavformat/version.h| 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/allformats.c b/libavformat/allfo

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Carl Eugen Hoyos
Am So., 28. Juni 2020 um 16:24 Uhr schrieb Gautam Ramakrishnan : > Oh got it, just need to ignore the text then. You *can* Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Gautam Ramakrishnan
On Sun, Jun 28, 2020 at 6:09 PM Nicolas George wrote: > > Gautam Ramakrishnan (12020-06-28): > > This is what I do not understand. Suppose the file does not start > > with the bytes "PG ML ", how is that to be handled? > > The same way as if it did. > > Take a valid PGX file. Replace these six oct

Re: [FFmpeg-devel] [PATCH] avfilter: add v360_vulkan filter

2020-06-28 Thread James Almer
On 6/27/2020 7:54 AM, Paul B Mahol wrote: > On 6/26/20, James Almer wrote: >> On 6/26/2020 4:16 PM, Lynne wrote: >>> Jun 26, 2020, 19:05 by jamr...@gmail.com: >>> On 6/26/2020 1:58 PM, Paul B Mahol wrote: > On 6/26/20, James Almer wrote: > >> On 6/26/2020 1:13 PM, Paul B Mah

Re: [FFmpeg-devel] [PATCH] avformat/smacker: Support seeking to first frame

2020-06-28 Thread Andreas Rheinhardt
Timotej Lazar: > Add .read_seek function to the smacker demuxer for the special case of > seeking to ts=0. This is useful because smacker – like bink, with a > similar implementation – was mostly used to encode clips in video > games, where random seeks are rare but looping media are common. > > S

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/aac_ac3_parser: improve the raw AAC file bit rate calculation

2020-06-28 Thread myp...@gmail.com
On Sun, Jun 28, 2020 at 5:30 AM Alexander Strasser wrote: > > On 2020-06-26 01:56 +, Jun Zhao wrote: > > ffmpeg | branch: master | Jun Zhao | Sun May 17 > > 12:10:05 2020 +0800| [60d79b1df9d4c6030010ccb0c134ede9e33158c2] | > > committer: Jun Zhao > > > > lavc/aac_ac3_parser: improve the raw

[FFmpeg-devel] [PATCH] avcodec/internal: fix the outdating comments for ff_add_cpb_side_data()

2020-06-28 Thread lance . lmwang
From: Limin Wang It's used for decode and encode in fact, so it's more proper to change the encodenig to codec for the comments. Signed-off-by: Limin Wang --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h

Re: [FFmpeg-devel] [PATCH] add support to Android ndk MediaCodec for encoding/decoding

2020-06-28 Thread Olivier Ayache
Thank for your replies I choose the NDK approach in order to be able to be independant from the JVM, to maximize performance and to be sure to detect compatibility issues (using JNI approach can compile and crash at runtime). Concerning the version of Android it is compatible from API 21 (94% of d

[FFmpeg-devel] [PATCH v2] avcodec/mpeg12dec: Fix uninitialized data in fate-sub-cc-scte20

2020-06-28 Thread lance . lmwang
From: Limin Wang The issue is introduced from a705bcd763e344fa, please tested with below command line: make V=1 fate-sub-cc-scte20 TARGET_EXEC="valgrind --error-exitcode=1" Reported-by: Martin Storsjö Signed-off-by: Limin Wang --- libavcodec/mpeg12dec.c | 2 ++ 1 file changed, 2 insertions

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Nicolas George
Gautam Ramakrishnan (12020-06-28): > This is what I do not understand. Suppose the file does not start > with the bytes "PG ML ", how is that to be handled? The same way as if it did. Take a valid PGX file. Replace these six octets with FOOBAR: why should it make any difference for your decoder?

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Gautam Ramakrishnan
On Sun, Jun 28, 2020 at 4:21 PM Nicolas George wrote: > > Gautam Ramakrishnan (12020-06-28): > > I shall change this. I do not understand how the check can be > > removed. It is compulsory that a PGX file must have these bytes > > In case it was not clear, I think Carl Eugen was suggesting you inc

Re: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_colorconstancy.c : Adding weighted greyedge

2020-06-28 Thread Mina
On 6/18/20 3:52 PM, Yatendra Singh wrote: Signed-off-by: Yatendra Singh --- doc/filters.texi| 36 ++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_colorconstancy.c | 215 4 files chang

Re: [FFmpeg-devel] [PATCH v2] lavf/movenc: Use a dynamic buffer when writing the mfra box

2020-06-28 Thread Derek Buitenhuis
On 26/06/2020 13:58, Derek Buitenhuis wrote: > When doing streamed output, with e.g. +dash, if the mfra box ended > up being larger than the AVIOContext write buffer, the (unchecked) > seeking back to update the box size would silently fail and produce > an invalid mfra box. > > This is similar to

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Derek Buitenhuis
On 26/06/2020 14:49, Nicolas George wrote: > Probably a good idea, but these explanation should probably go in > doc/ffprobe.texi. Good point. Will add that during when I send v2. > And I do not maintain ffprobe. I have not seen Stefano active in a long time. Do you suggest I CC him on the v2 p

Re: [FFmpeg-devel] [PATCH 1/2] libavfilter/vf_colorconstancy.c : Cleanup code for new filter

2020-06-28 Thread Mina
On 6/18/20 3:52 PM, Yatendra Singh wrote: Signed-off-by: Yatendra Singh --- libavfilter/vf_colorconstancy.c | 47 ++--- 1 file changed, 14 insertions(+), 33 deletions(-) LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@f

Re: [FFmpeg-devel] [PATCH] ffprobe: Add option to allow unknown format private AVOptions

2020-06-28 Thread Derek Buitenhuis
On 27/06/2020 09:27, Michael Niedermayer wrote: > You explain why allow_unknown_format_opts = 1 is needed > > does allow_unknown_format_opts = 0 have a use case too ? > because if not, this can be simplified I thought so too, but I thought a change in the behavior like that might break peoples' s

Re: [FFmpeg-devel] [PATCH] add support to Android ndk MediaCodec for encoding/decoding

2020-06-28 Thread Matthieu Bouron
On Sat, Jun 27, 2020 at 09:54:58PM +0300, Martin Storsjö wrote: > On Sat, 27 Jun 2020, Olivier Ayache wrote: > > > Hi everyone this is the first time I post on this mailing list. I am > > working since several years on a fork of Xuggler for manipulating ffmpeg > > API with Java/Kotlin. > > This wo

[FFmpeg-devel] [PATCH v2] avdevice/xcbgrab: Add select_region option.

2020-06-28 Thread Omar Emara
This patch adds a select_region option to the xcbgrab input device. If set to 1, the user will be prompted to select the grabbing area graphically by clicking and dragging. A rectangle will be drawn to mark the grabbing area. A single click with no dragging will select the whole screen. The option

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Nicolas George
Gautam Ramakrishnan (12020-06-28): > I shall change this. I do not understand how the check can be > removed. It is compulsory that a PGX file must have these bytes In case it was not clear, I think Carl Eugen was suggesting you include the string directly in the comparison. But you do not need t

Re: [FFmpeg-devel] [PATCH v2 1/2] libavcodec/pgxdec: Add PGX decoder

2020-06-28 Thread Gautam Ramakrishnan
On Sun, Jun 28, 2020 at 12:41 AM Carl Eugen Hoyos wrote: > > Am Sa., 27. Juni 2020 um 20:11 Uhr schrieb : > > > +static int ff_pgx_decode_header(AVCodecContext *avctx, PGXContext * s, > > +int *depth, int *width, int *height, > > +int

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread Paul B Mahol
On 6/27/20, C Hanish Menon wrote: > Hi, > > It is a new video filter which I created to do detailing of the Intel > Tile-X and Tile-Y framebuffer layouts into linear layout using a logic > which runs on the cpu. It can be used if one uses kmsgrab and hwdownload to > capture screen on a Intel GPU b

Re: [FFmpeg-devel] [PATCH] avfilter: add v360_vulkan filter

2020-06-28 Thread Paul B Mahol
On 6/27/20, Paul B Mahol wrote: > On 6/26/20, James Almer wrote: >> On 6/26/2020 4:16 PM, Lynne wrote: >>> Jun 26, 2020, 19:05 by jamr...@gmail.com: >>> On 6/26/2020 1:58 PM, Paul B Mahol wrote: > On 6/26/20, James Almer wrote: > >> On 6/26/2020 1:13 PM, Paul B Mahol wrote: