[FFmpeg-devel] [PATCH] avformat/http: clarify that ffmpeg will attempt to add missing CRLF

2019-01-27 Thread Gyan
From bc08c60761df77b37c83a4c285f3ca45e5045979 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Mon, 28 Jan 2019 12:20:02 +0530 Subject: [PATCH] avformat/http: clarify that ffmpeg will attempt to add missing CRLF --- libavformat/http.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: Skip writing trailer for MP4 output when in streaming mode

2019-01-27 Thread Jeyapal, Karthick
On 1/24/19 11:31 AM, Karthick J wrote: > In streaming mode mp4 trailer is not required for playout. > --- > libavformat/dashenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c > index 9c90cf17e5..6299e179c2 100644 > --- a/li

Re: [FFmpeg-devel] [PATCH v2 01/11] vaapi_encode: Support more RC modes

2019-01-27 Thread Eoff, Ullysses A
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Mark > Thompson > Sent: Sunday, January 27, 2019 3:47 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 01/11] vaapi_encode: Support more RC modes > > Allow setting the mode

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/vdpau: Enable HEVC support for working Nvidia driver versions

2019-01-27 Thread James Almer
On 1/27/2019 3:43 PM, Dominik 'Rathann' Mierzejewski wrote: > On Sunday, 27 January 2019 at 19:29, Carl Eugen Hoyos wrote: >> 2019-01-27 19:06 GMT+01:00, Dominik 'Rathann' Mierzejewski >> : >>> Hello, >>> >>> On Wednesday, 31 October 2018 at 03:44, ManojGuptaBonda wrote: ffmpeg | branch: maste

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add ARBC decoder

2019-01-27 Thread James Almer
> ffmpeg | branch: master | Paul B Mahol | Sun Jan > 20 11:18:38 2019 +0100| [795af110f70bbd12b45ae2d3b08e7f45db5224a0] | > committer: Paul B Mahol > > avcodec: add ARBC decoder > > Thanks Kostya for great help in reversing binary. > > > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=

Re: [FFmpeg-devel] [PATCH v2 01/11] vaapi_encode: Support more RC modes

2019-01-27 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Monday, January 28, 2019 07:47 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 01/11] vaapi_encode: Support more RC > modes > > Allow setting the mode e

[FFmpeg-devel] [PATCHv2] configure: request explicitly enabled components

2019-01-27 Thread Marton Balint
If we enable a component but a dependant library is disabled, then the enabled component get silently disabled. Requesting all explicitly enabled components allows configure to fail and show the missing dependencies instead of ignoring our request. For example if libdav1d is not availble ./configu

[FFmpeg-devel] [PATCH] configure: request explicitly enabled components

2019-01-27 Thread Marton Balint
If we enable a component but a dependant library is disabled, then the enabled component get silently disabled. Requesting all explicitly enabled components allows configure to fail and show the missing dependencies instead of ignoring our request. For example if libdav1d is not availble ./configu

Re: [FFmpeg-devel] [PATCH] avutil: Rename RSHIFT macro to ROUNDED_RSHIFT

2019-01-27 Thread Uoti Urpala
On Mon, 2019-01-28 at 00:04 +0100, Henrik Gramner wrote: > On Mon, Jan 21, 2019 at 9:54 PM James Almer wrote: > > There's also no good way to deprecate a define and replace it with > > another while informing the library user, so for something purely > > cosmetic like this i don't think it's worth

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Michael Niedermayer
On Mon, Jan 28, 2019 at 05:29:41AM +0700, Muhammad Faiz wrote: > On Mon, Jan 28, 2019 at 3:07 AM Michael Niedermayer > wrote: > > > > On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote: > > > On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer > > > wrote: > > > > > > > > On Sun, Jan

[FFmpeg-devel] [PATCH v2 08/11] vaapi_encode_mjpeg: Warn if input is not full range

2019-01-27 Thread Mark Thompson
--- libavcodec/vaapi_encode_mjpeg.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/vaapi_encode_mjpeg.c b/libavcodec/vaapi_encode_mjpeg.c index 350800697f..e52f8b9820 100644 --- a/libavcodec/vaapi_encode_mjpeg.c +++ b/libavcodec/vaapi_encode_mjpeg.c @@ -460,6 +460,11 @@ static

[FFmpeg-devel] [PATCH 1/2] avformat/rtsp: Clear reply in every iteration in ff_rtsp_connect()

2019-01-27 Thread Michael Niedermayer
Fixes: Infinite loop Found-by: Michael Hanselmann Reviewed-by: Michael Hanselmann Signed-off-by: Michael Niedermayer --- libavformat/rtsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ceb770a3a4..82c6c12af5 100644 --- a/li

[FFmpeg-devel] [PATCH 2/2] avformat/rtsp: Check number of streams in sdp_parse_line()

2019-01-27 Thread Michael Niedermayer
Fixes: OOM Found-by: Michael Hanselmann Reviewed-by: Michael Hanselmann Signed-off-by: Michael Niedermayer --- libavformat/rtsp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 82c6c12af5..975637cf54 100644 --- a/libavforma

[FFmpeg-devel] [PATCH v2 09/11] vaapi_encode: Add support for VFR mode

2019-01-27 Thread Mark Thompson
Use the frame-skip feature to maintain a specified framerate from the point of view of the driver. --- doc/encoders.texi | 7 +++ libavcodec/vaapi_encode.c | 116 +++--- libavcodec/vaapi_encode.h | 18 +- 3 files changed, 132 insertions(+), 9 deletion

[FFmpeg-devel] [PATCH v2 04/11] vaapi_encode_mpeg2: Enable support for more RC modes

2019-01-27 Thread Mark Thompson
--- libavcodec/vaapi_encode_mpeg2.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c index 9d42c3e644..174611ff24 100644 --- a/libavcodec/vaapi_encode_mpeg2.c +++ b/libavcodec/vaapi_enco

[FFmpeg-devel] [PATCH v2 07/11] vaapi_encode_mjpeg: Use common quality option

2019-01-27 Thread Mark Thompson
Doesn't change anything, but makes the behaviour better match that of the other codecs (the CONSTANT_QUALITY_ONLY flag already ensures that CQP is the only RC mode selectable for MJPEG). --- libavcodec/vaapi_encode_mjpeg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/li

[FFmpeg-devel] [PATCH v2 10/11] vaapi_encode_h264: Don't include AUD with slice header

2019-01-27 Thread Mark Thompson
Always write it as a RawData block, even if there is no SEI as well. --- libavcodec/vaapi_encode_h264.c | 40 +++--- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index fb55eb7779..b65ee4b

[FFmpeg-devel] [PATCH v2 11/11] vaapi_encode: Support limiting slice size

2019-01-27 Thread Mark Thompson
--- doc/encoders.texi | 4 +++ libavcodec/vaapi_encode.c | 57 --- libavcodec/vaapi_encode.h | 9 ++- 3 files changed, 65 insertions(+), 5 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index b8322c4e95..07d9b46b2a 100644 --- a/do

[FFmpeg-devel] [PATCH v2 05/11] vaapi_encode_vp8: Enable support for more RC modes

2019-01-27 Thread Mark Thompson
--- libavcodec/vaapi_encode_vp8.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/vaapi_encode_vp8.c b/libavcodec/vaapi_encode_vp8.c index 166636cd84..ddbe4c9075 100644 --- a/libavcodec/vaapi_encode_vp8.c +++ b/libavcodec/vaapi_encode_vp8.c @@ -161,

[FFmpeg-devel] [PATCH v2 06/11] vaapi_encode_vp9: Enable support for more RC modes

2019-01-27 Thread Mark Thompson
--- libavcodec/vaapi_encode_vp9.c | 41 +-- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/libavcodec/vaapi_encode_vp9.c b/libavcodec/vaapi_encode_vp9.c index 97142dcc49..f89fd0d07a 100644 --- a/libavcodec/vaapi_encode_vp9.c +++ b/libavcodec/vaapi_e

[FFmpeg-devel] [PATCH v2 03/11] vaapi_encode_h265: Enable support for more RC modes

2019-01-27 Thread Mark Thompson
Also fixes QP going out of range when modified by the quant factor/offset values, and clarifies the QP behaviour for >8-bit modes. --- libavcodec/vaapi_encode_h265.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.

[FFmpeg-devel] [PATCH v2 02/11] vaapi_encode_h264: Enable support for more RC modes

2019-01-27 Thread Mark Thompson
Also fixes QP going out of range when modified by the quant factor/offset values. --- libavcodec/vaapi_encode_h264.c | 31 +++ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index 4ea62d96f

[FFmpeg-devel] [PATCH v2 01/11] vaapi_encode: Support more RC modes

2019-01-27 Thread Mark Thompson
Allow setting the mode explicitly, and try to make a sensible choice given the available parameters if not. --- doc/encoders.texi | 24 +++ libavcodec/vaapi_encode.c | 370 +++--- libavcodec/vaapi_encode.h | 65 +++ 3 files changed, 351 insertions(+),

Re: [FFmpeg-devel] [PATCH] avutil: Rename RSHIFT macro to ROUNDED_RSHIFT

2019-01-27 Thread Henrik Gramner
On Mon, Jan 21, 2019 at 9:54 PM James Almer wrote: > There's also no good way to deprecate a define and replace it with > another while informing the library user, so for something purely > cosmetic like this i don't think it's worth the trouble. Would it be possible to create a deprecated inline

Re: [FFmpeg-devel] [PATCH] vaapi_encode_h265: Ensure that ref pics are always in the RPS

2019-01-27 Thread Mark Thompson
On 25/01/2019 20:40, Eoff, Ullysses A wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of >> Mark Thompson >> Sent: Friday, January 25, 2019 12:05 PM >> To: FFmpeg development discussions and patches >> Subject: [FFmpeg-devel] [PATCH] v

Re: [FFmpeg-devel] [PATCH 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-27 Thread Muhammad Faiz
On Mon, Jan 28, 2019 at 2:52 AM Michael Niedermayer wrote: > > On Sun, Jan 27, 2019 at 04:36:16PM +0700, Muhammad Faiz wrote: > > Fix inconsistent checksums between gbrap10be > > and gbrap10le on fate-filter-pixfmts. > > > > Signed-off-by: Muhammad Faiz > > --- > > libswscale/swscale_unscaled.c

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Mon, Jan 28, 2019 at 3:07 AM Michael Niedermayer wrote: > > On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote: > > On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer > > wrote: > > > > > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote: > > > > regardless of the ac

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: Add discard_sample_percentage

2019-01-27 Thread Michael Niedermayer
On Sat, Jan 19, 2019 at 12:00:48AM +0100, Michael Niedermayer wrote: > Suggested-by: BBB > Signed-off-by: Michael Niedermayer > --- > doc/APIchanges | 3 +++ > libavcodec/avcodec.h | 8 > libavcodec/options_table.h | 1 + > tests/ref/fate/a

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/rscc: Avoid returning frames that have nearly no undamaged pixels in them

2019-01-27 Thread Michael Niedermayer
On Fri, Jan 18, 2019 at 11:41:35PM +, Matthew Fearnley wrote: > > > On 18 Jan 2019, at 23:00, Michael Niedermayer > > wrote: > > > > Fixes: Timeout > > Fixes: > > 12192/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 > > > > Before: > > clusterfuzz-testcase

Re: [FFmpeg-devel] [PATCH] tools/target_dec_fate.list: add entries upto 1214

2019-01-27 Thread Michael Niedermayer
On Sat, Jan 19, 2019 at 02:09:56AM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > tools/target_dec_fate.list | 63 ++ > 1 file changed, 63 insertions(+) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF1

Re: [FFmpeg-devel] [PATCH] avcodec/huffyuvdec: Check slice_offset/size

2019-01-27 Thread Michael Niedermayer
On Mon, Jan 21, 2019 at 01:08:41AM +0100, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 12447/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HYMT_fuzzer-5201623956062208 > Fixes: > 12458/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HYMT_fuzzer-5705567736168448 > > Fo

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ilbcdec: Fix integer overflow in construct_vector()

2019-01-27 Thread Michael Niedermayer
On Tue, Jan 15, 2019 at 12:29:42AM +0100, Michael Niedermayer wrote: > webrtc contains explicit code to ignore the undefined behavior > (RTC_NO_SANITIZE / OverflowingAddS32S32ToS32()) > > Probably fixes: Integer overflow (unreproducable here) > Probably fixes: > 12215/clusterfuzz-testcase-minimi

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add AVS2 section

2019-01-27 Thread Michael Niedermayer
On Sat, Jul 28, 2018 at 11:20:48AM +0800, hwren wrote: > Signed-off-by: hwren > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) will apply thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship naturally arises out of democracy, and t

[FFmpeg-devel] [PATCH]lavf:Constify AVInputFormat pointer

2019-01-27 Thread Carl Eugen Hoyos
Hi! Attached patch was requested in ticket #7220 iiuc. Please review, Carl Eugen From a713b58767e8d77b641d1b87e68de11c176fd454 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 27 Jan 2019 22:35:51 +0100 Subject: [PATCH] lavf: Constify AVInputFormat pointer. --- libavformat/avformat.h

Re: [FFmpeg-devel] libass cannot be detected in centos 7

2019-01-27 Thread Moritz Barsnick
On Sun, Jan 27, 2019 at 23:48:51 +0300, Dennis Mungai wrote: > I'm building ffmpeg on centos 7 and one issue keeps cropping up: This mailing list (ffmpeg-devel) covers topics around the development of ffmpeg. Your question belongs on ffmpeg-user. > libass. Yes, its' installed. But ffmpeg's ./conf

[FFmpeg-devel] [PATCH v2 1/1] libavdevice/v4l2enc: support additional v4l2 output formats

2019-01-27 Thread james . hilliard1
From: James Hilliard The purpose of this patch is to fix a bug where ffmpeg would only output rawvideo to a v4l2loopback device even though v4l2loopback accepts other formats such as mjpeg. Signed-off-by: James Hilliard --- libavdevice/v4l2enc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 de

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Michael Niedermayer
On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote: > On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer > wrote: > > > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote: > > > regardless of the actual supported formats. > > > This allows filters to support only native-e

Re: [FFmpeg-devel] [PATCH 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-27 Thread Michael Niedermayer
On Sun, Jan 27, 2019 at 04:36:16PM +0700, Muhammad Faiz wrote: > Fix inconsistent checksums between gbrap10be > and gbrap10le on fate-filter-pixfmts. > > Signed-off-by: Muhammad Faiz > --- > libswscale/swscale_unscaled.c| 3 +++ > tests/ref/fate/filter-pixfmts-copy | 2 +- > te

Re: [FFmpeg-devel] gdigrab: fix HIDPI support for mouse positioning

2019-01-27 Thread Dilshod Mukhtarov
New version, which uses integer arithmetics -- With the best regards, Dilshod >From 586d4b3ed3406b66e3d0bd69806bc33beaddc026 Mon Sep 17 00:00:00 2001 From: Dilshod Mukhtarov Date: Sun, 27 Jan 2019 23:10:37 +0400 Subject: [PATCH 2/2] libavdevice/gdigrab: fix HIDPI support for mouse positioning

Re: [FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-27 Thread Dilshod Mukhtarov
On 27.01.2019 22:51, Carl Eugen Hoyos wrote: 2019-01-27 1:45 GMT+01:00, Carl Eugen Hoyos : 2019-01-26 18:53 GMT+01:00, Dilshod Mukhtarov : HI, this is the patch that fixes HIDPI support in gdigrab +double h_dpr; // Horizontal device pixel ratio +double v_dpr; // Vertical device pix

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/vdpau: Enable HEVC support for working Nvidia driver versions

2019-01-27 Thread Hendrik Leppkes
On Sun, Jan 27, 2019 at 7:43 PM Dominik 'Rathann' Mierzejewski wrote: > > If you're trying to say we can upgrade 4.0.x to 4.1.x without > recompiling any dependent packages and you guarantee everything will > work just like with 4.0.x, then I would be willing to entertain that > option, though we

[FFmpeg-devel] [PATCH] avformat/async: fix assertion condition when draining buffer

2019-01-27 Thread Marton Balint
Fixes some random assertion failures with ffprobe -show_packets async:samples/ffmpeg-bugs/trac/ticket6132/Samsung_HDR_-_Chasing_the_Light.ts > /dev/null Signed-off-by: Marton Balint --- libavformat/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/async.c

Re: [FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 1:45 GMT+01:00, Carl Eugen Hoyos : > 2019-01-26 18:53 GMT+01:00, Dilshod Mukhtarov : >> HI, this is the patch that fixes HIDPI support in gdigrab > >> +double h_dpr; // Horizontal device pixel ratio >> +double v_dpr; // Vertical device pixel ratio > > I would expect these to

[FFmpeg-devel] [PATCH] MAINTAINERS: add myself to the PPC section

2019-01-27 Thread Lauri Kasanen
Signed-off-by: Lauri Kasanen --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) Ref http://ffmpeg.org/pipermail/ffmpeg-devel/2019-January/239357.html Requesting commit access so I don't have to constantly bug Michael. diff --git a/MAINTAINERS b/MAINTAINERS index bc2ae13..e3a80e9 100644 --- a

[FFmpeg-devel] gdigrab: fix HIDPI support for mouse positioning

2019-01-27 Thread Dilshod Mukhtarov
-- With the best regards, Dilshod >From 0d8ee5aca28655baf0e6954063ad61a422443d38 Mon Sep 17 00:00:00 2001 From: Dilshod Mukhtarov Date: Sun, 27 Jan 2019 22:30:01 +0400 Subject: [PATCH 2/2] libavdevice/gdigrab: fix HIDPI support for mouse positioning Mouse position was not calculated properly

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/vdpau: Enable HEVC support for working Nvidia driver versions

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 19:43 GMT+01:00, Dominik 'Rathann' Mierzejewski : > On Sunday, 27 January 2019 at 19:29, Carl Eugen Hoyos wrote: >> 2019-01-27 19:06 GMT+01:00, Dominik 'Rathann' Mierzejewski >> : >> > Hello, >> > >> > On Wednesday, 31 October 2018 at 03:44, ManojGuptaBonda wrote: >> >> ffmpeg | branch:

Re: [FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 19:40 GMT+01:00, Dilshod Mukhtarov : > Thanks for advices. I split the patch to two distinct parts. The > first part is here and the next one in a new message. I am quite sure that this has to be implemented without av_q2d(). Please avoid top-posting here, Carl Eugen _

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/vdpau: Enable HEVC support for working Nvidia driver versions

2019-01-27 Thread Dominik 'Rathann' Mierzejewski
On Sunday, 27 January 2019 at 19:29, Carl Eugen Hoyos wrote: > 2019-01-27 19:06 GMT+01:00, Dominik 'Rathann' Mierzejewski > : > > Hello, > > > > On Wednesday, 31 October 2018 at 03:44, ManojGuptaBonda wrote: > >> ffmpeg | branch: master | ManojGuptaBonda | Mon Oct 29 > >> 13:57:54 2018 +0530| [4a6

Re: [FFmpeg-devel] gdigrab: fix HIDPI support

2019-01-27 Thread Dilshod Mukhtarov
Hi Carl, Thanks for advices. I split the patch to two distinct parts. The first part is here and the next one in a new message. On 27.01.2019 4:45, Carl Eugen Hoyos wrote: 2019-01-26 18:53 GMT+01:00, Dilshod Mukhtarov : HI, this is the patch that fixes HIDPI support in gdigrab +double h

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/vdpau: Enable HEVC support for working Nvidia driver versions

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 19:06 GMT+01:00, Dominik 'Rathann' Mierzejewski : > Hello, > > On Wednesday, 31 October 2018 at 03:44, ManojGuptaBonda wrote: >> ffmpeg | branch: master | ManojGuptaBonda | Mon Oct 29 >> 13:57:54 2018 +0530| [4a6d5f3cadaabefe6c3548e575bb7e713997762f] | >> committer: Philip Langdale >> >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/vdpau: Enable HEVC support for working Nvidia driver versions

2019-01-27 Thread Dominik 'Rathann' Mierzejewski
Hello, On Wednesday, 31 October 2018 at 03:44, ManojGuptaBonda wrote: > ffmpeg | branch: master | ManojGuptaBonda | Mon Oct 29 > 13:57:54 2018 +0530| [4a6d5f3cadaabefe6c3548e575bb7e713997762f] | committer: > Philip Langdale > > avcodec/vdpau: Enable HEVC support for working Nvidia driver versi

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 17:38 GMT+01:00, Muhammad Faiz : > On Sun, Jan 27, 2019 at 11:02 PM Carl Eugen Hoyos > wrote: >> >> 2019-01-27 16:18 GMT+01:00, Muhammad Faiz : >> > On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: >> >> >> >> On Sun, 27 Jan 2019, Muhammad Faiz wrote: >> >> > +static int is_native

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 11:21 PM Marton Balint wrote: > > > > On Sun, 27 Jan 2019, Muhammad Faiz wrote: > > > On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: > >> > >> > >> > >> On Sun, 27 Jan 2019, Muhammad Faiz wrote: > >> > >> > Signed-off-by: Muhammad Faiz > >> > --- > >> > Old thread i

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 17:27 GMT+01:00, Muhammad Faiz : > Can you give me an example how the output should be? I have no suggestion, I simply wanted to point out that with your change it would be very difficult to understand how future differences are caused. Carl Eugen _

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 11:02 PM Carl Eugen Hoyos wrote: > > 2019-01-27 16:18 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: > >> > >> > >> > >> On Sun, 27 Jan 2019, Muhammad Faiz wrote: > >> > >> > Signed-off-by: Muhammad Faiz > >> > --- > >> > Old thread is

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 10:54 PM Carl Eugen Hoyos wrote: > > 2019-01-27 16:07 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos wrote: > >> > >> 2019-01-27 15:05 GMT+01:00, Muhammad Faiz : > >> > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos > >> > wrote: > >> >>

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer wrote: > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote: > > regardless of the actual supported formats. > > This allows filters to support only native-endian formats, > > and also allows consistency checks between little-endian

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Marton Balint
On Sun, 27 Jan 2019, Muhammad Faiz wrote: On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: On Sun, 27 Jan 2019, Muhammad Faiz wrote: > Signed-off-by: Muhammad Faiz > --- > Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html > Need someone test it on

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 16:18 GMT+01:00, Muhammad Faiz : > On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: >> >> >> >> On Sun, 27 Jan 2019, Muhammad Faiz wrote: >> >> > Signed-off-by: Muhammad Faiz >> > --- >> > Old thread is here: >> > https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html >> >

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 16:12 GMT+01:00, Muhammad Faiz : > On Sun, Jan 27, 2019 at 9:17 PM Carl Eugen Hoyos wrote: >> >> 2019-01-27 15:07 GMT+01:00, Muhammad Faiz : >> > On Sun, Jan 27, 2019 at 7:19 PM Carl Eugen Hoyos >> > wrote: >> >> >> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : >> >> > Fix mismatched

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 16:07 GMT+01:00, Muhammad Faiz : > On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos wrote: >> >> 2019-01-27 15:05 GMT+01:00, Muhammad Faiz : >> > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos >> > wrote: >> >> >> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : >> >> >> >> > -bgra64be

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Michael Niedermayer
On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote: > regardless of the actual supported formats. > This allows filters to support only native-endian formats, > and also allows consistency checks between little-endian > and big-endian implementation. > > This also reveals bugs on gbrap1

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: > > > > On Sun, 27 Jan 2019, Muhammad Faiz wrote: > > > Signed-off-by: Muhammad Faiz > > --- > > Old thread is here: > > https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html > > Need someone test it on big-endian machine. > > > > li

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 9:17 PM Carl Eugen Hoyos wrote: > > 2019-01-27 15:07 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 7:19 PM Carl Eugen Hoyos wrote: > >> > >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > >> > Fix mismatched checksum on fate-filter-pixfmts-super2xsai. > >> > >> I b

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos wrote: > > 2019-01-27 15:05 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos wrote: > >> > >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > >> > >> > -bgra64bec8d3217bf58d34f080ac88c0b0012c77 > >> > +bgra6

[FFmpeg-devel] [PATCH]lavc/arbc: Use AV_WB24() where applicable

2019-01-27 Thread Carl Eugen Hoyos
Hi! Minimal simplification attached. Please comment, Carl Eugen From e767b19ed1f87758ab777b70b6bb08ad44a6cf33 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 27 Jan 2019 15:10:04 +0100 Subject: [PATCH] lavc/arbc: Use AV_WB24() where applicable. --- libavcodec/arbc.c | 20 -

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 15:07 GMT+01:00, Muhammad Faiz : > On Sun, Jan 27, 2019 at 7:19 PM Carl Eugen Hoyos wrote: >> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : >> > Fix mismatched checksum on fate-filter-pixfmts-super2xsai. >> >> I believe this patch and 2/5 are unrelated and should be >> committed indepe

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 15:05 GMT+01:00, Muhammad Faiz : > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos wrote: >> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : >> >> > -bgra64bec8d3217bf58d34f080ac88c0b0012c77 >> > +bgra64leb71d75a928aac14cb768403e6f6a9910 >> > bgra64le

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add ARBC decoder

2019-01-27 Thread James Almer
On 1/27/2019 10:06 AM, Paul B Mahol wrote: > On 1/27/19, Carl Eugen Hoyos wrote: >> 2019-01-27 13:55 GMT+01:00, Paul B Mahol : >> >>> +frame->data[0][frame->linesize[0] * (h - j) + 3 * k + >>> 0] = color[0]; >>> +frame->data[0][frame->linesize[0] * (h - j) +

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos wrote: > > 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > > > -bgra64bec8d3217bf58d34f080ac88c0b0012c77 > > +bgra64leb71d75a928aac14cb768403e6f6a9910 > > bgra64leb71d75a928aac14cb768403e6f6a9910 > > I believe the

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 7:19 PM Carl Eugen Hoyos wrote: > > 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > > Fix mismatched checksum on fate-filter-pixfmts-super2xsai. > > I believe this patch and 2/5 are unrelated and should be > committed independently of the patchset. No. [2/5] and [3/5] depend

Re: [FFmpeg-devel] [PATCH]lavf/cafdec: Do not fail for unknown atoms with negative size.

2019-01-27 Thread Carl Eugen Hoyos
2019-01-26 15:38 GMT+01:00, Paul B Mahol : > On 1/26/19, Carl Eugen Hoyos wrote: >> 2019-01-25 17:49 GMT+01:00, Paul B Mahol : >>> On 1/23/19, Carl Eugen Hoyos wrote: Hi! Attached patch allows to read a user's file that plays fine with QT. The patch duplicates the behaviour of

Re: [FFmpeg-devel] [PATCH] avfilter/buffersrc: print relevant info when skipping filter reinit

2019-01-27 Thread Gyan
On 27-01-2019 09:57 AM, Gyan wrote: On 26-01-2019 08:23 PM, Carl Eugen Hoyos wrote: 2019-01-26 15:42 GMT+01:00, Gyan : On 26-01-2019 07:49 PM, Carl Eugen Hoyos wrote: 2019-01-26 15:10 GMT+01:00, Gyan : Try feeding a few images of different sizes to the crop filter with reinit disabled

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add ARBC decoder

2019-01-27 Thread Paul B Mahol
On 1/27/19, Carl Eugen Hoyos wrote: > 2019-01-27 13:55 GMT+01:00, Paul B Mahol : > >> +frame->data[0][frame->linesize[0] * (h - j) + 3 * k + >> 0] = color[0]; >> +frame->data[0][frame->linesize[0] * (h - j) + 3 * k + >> 1] = color[1]; >> +

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec: add ARBC decoder

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 13:55 GMT+01:00, Paul B Mahol : > +frame->data[0][frame->linesize[0] * (h - j) + 3 * k + > 0] = color[0]; > +frame->data[0][frame->linesize[0] * (h - j) + 3 * k + > 1] = color[1]; > +frame->data[0][frame->linesize[0] * (h - j)

Re: [FFmpeg-devel] [PATCH 1/1] libavdevice/v4l2enc: support additional v4l2 output formats

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 7:52 GMT+01:00, James Hilliard : > The purpose of this patch is to fix a bug where ffmpeg would only > output rawvideo to a v4l2loopback device even though v4l2loopback > accepts other formats such as mjpeg. I believe this (or a short variant) should be part of the commit message. Carl

Re: [FFmpeg-devel] [PATCH] avutil/ppc/cpu: Fix power8 linux detection

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 9:32 GMT+01:00, Lauri Kasanen : > Given the low interest in power patches, should I be applying for > commit rights? Definitely! Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > Fix mismatched checksum on fate-filter-pixfmts-super2xsai. I believe this patch and 2/5 are unrelated and should be committed independently of the patchset. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-de

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Carl Eugen Hoyos
2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > -bgra64bec8d3217bf58d34f080ac88c0b0012c77 > +bgra64leb71d75a928aac14cb768403e6f6a9910 > bgra64leb71d75a928aac14cb768403e6f6a9910 I believe the output should be changed to make it less confusing. Carl Eugen ___

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Marton Balint
On Sun, 27 Jan 2019, Muhammad Faiz wrote: Signed-off-by: Muhammad Faiz --- Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html Need someone test it on big-endian machine. libavfilter/drawutils.c | 48 + libavfilter/vf_ro

[FFmpeg-devel] [PATCH 4/5] avfilter/vf_lut: support native-endian instead of little-endian

2019-01-27 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html Need someone test it on big-endian machine. libavfilter/vf_lut.c | 95 1 file changed, 42 insertions(+), 53 deletions(-) diff --git

[FFmpeg-devel] [PATCH 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-27 Thread Muhammad Faiz
Fix inconsistent checksums between gbrap10be and gbrap10le on fate-filter-pixfmts. Signed-off-by: Muhammad Faiz --- libswscale/swscale_unscaled.c| 3 +++ tests/ref/fate/filter-pixfmts-copy | 2 +- tests/ref/fate/filter-pixfmts-crop | 2 +- tests/ref/fate/filter-pixfmts-fi

[FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html Need someone test it on big-endian machine. libavfilter/drawutils.c | 48 + libavfilter/vf_rotate.c | 26 ++-- libavfi

[FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Muhammad Faiz
Fix mismatched checksum on fate-filter-pixfmts-super2xsai. Signed-off-by: Muhammad Faiz --- libavfilter/vf_super2xsai.c | 4 ++-- tests/ref/fate/filter-pixfmts-super2xsai | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_super2xsai.c b/libav

Re: [FFmpeg-devel] [PATCH] avutil/ppc/cpu: Fix power8 linux detection

2019-01-27 Thread Lauri Kasanen
On Thu, 17 Jan 2019 09:40:09 +0200 Lauri Kasanen wrote: > On Tue, 8 Jan 2019 11:08:04 +0200 > Lauri Kasanen wrote: > > > The existing code was in no released kernel that I can see. The corrected > > code > > was added in 3.9. > > > > Signed-off-by: Lauri Kasanen > > --- > > libavutil/ppc/cp

Re: [FFmpeg-devel] [PATCH v6] libswscale/ppc: VSX-optimize 9-16 bit yuv2planeX

2019-01-27 Thread Lauri Kasanen
On Mon, 14 Jan 2019 16:13:52 +0100 Michael Niedermayer wrote: > On Sun, Jan 13, 2019 at 10:26:20AM +0200, Lauri Kasanen wrote: > > ./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt > > yuv420p16be \ > > -s 1920x1728 -f null -vframes 100 -v error -nostats - > > > > 9-14 bit f