Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-09-11 Thread Anthony Delannoy
> > But I'd like to see data decoder in the future to use more easily > > EPG/NIT/BAT etc tables. > > Will it be possible? With modifications if it needs to be? > > I don't see how, as it does not fit into the concept of the libav* > libraries. I feel this belongs to a separate library. A new

Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: grow packet if vaMapBuffer returns multiple buffers

2019-09-11 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Fu, Linjie > Sent: Monday, August 19, 2019 10:04 > To: FFmpeg development discussions and patches de...@ffmpeg.org>; Mark Thompson > Subject: Re: [FFmpeg-devel] [PATCH, v2]

Re: [FFmpeg-devel] [PATCH] cmdutils: promote report level if loglevel is higher

2019-09-11 Thread Gyan
On 09-09-2019 11:44 PM, Gyan wrote: From 9581ee61d2eaeac1cf2a0262d010e95d316228db Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Mon, 9 Sep 2019 23:37:08 +0530 Subject: [PATCH] cmdutils: promote report level if loglevel is higher Plan to push tonight. Gyan

[FFmpeg-devel] [PATCH] lavu/hwcontext_qsv: update crop width/height when mapping frames

2019-09-11 Thread Rodger Combs
This fixes an issue where the context could be configured with one resolution, but incoming frames could have another, and our output AVFrames wouldn't match the underlying surfaces' resolution, which is usually the value that MFX code uses. In particular, this would happen when mapping from

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Fix memleak when using single_file

2019-09-11 Thread Liu Steven
> 在 2019年9月11日,下午8:36,Andreas Rheinhardt 写道: > > This commit fixes a memleak in the hls muxer when one uses a single file > as output. It has been forgotten to free the temporary buffers used to write > the packets so that the size of the leaks basically amounts to the size > of the output

Re: [FFmpeg-devel] [PATCH v1] fate: remove fate-checkasm-opusdsp for the segment fault for mac and linux system

2019-09-11 Thread Limin Wang
On Wed, Sep 11, 2019 at 08:44:47PM -0300, James Almer wrote: > On 9/11/2019 7:51 PM, Limin Wang wrote: > > > > I'm not sure it's my system issue only? Have make distclean to build. > > > > [lmwang@vpn ffmpeg]$ make fate-checkasm-opusdsp SAMPLES=../fate-suite > > TESTcheckasm-opusdsp > >

Re: [FFmpeg-devel] [PATCH 1/2] mpeg4_unpack_bframes: Avoid allocations and copies of packet structures

2019-09-11 Thread Andreas Rheinhardt
Andreas Rheinhardt: > 1. Since bd90a2ec, mpeg4_unpack_bframes caches whole packets instead of > just the pointer to the buffer and the buffer's size in order to be able > to make use of refcounting to avoid copying of data; this unfortunately > introduced copies of packet structures and side data

Re: [FFmpeg-devel] [PATCH 1/3] lavformat: Prepare to make avio_enum_protocols const correct

2019-09-11 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Using avio_enum_protocols works as follows: One initializes a pointer to > void and gives avio_enum_protocols the address of said pointer as > argument; the pointer will be updated to point to a member of the > url_protocols array. Now the address of the pointer can be reused

Re: [FFmpeg-devel] [PATCH] x86/opusdps: clear the high bits from some gprs

2019-09-11 Thread James Almer
On 9/11/2019 8:23 PM, James Almer wrote: > Fixes checkasm on systems like win64. > > Signed-off-by: James Almer > --- > libavcodec/x86/opusdsp.asm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/x86/opusdsp.asm b/libavcodec/x86/opusdsp.asm > index

Re: [FFmpeg-devel] [PATCH v1] fate: remove fate-checkasm-opusdsp for the segment fault for mac and linux system

2019-09-11 Thread James Almer
On 9/11/2019 7:51 PM, Limin Wang wrote: > > I'm not sure it's my system issue only? Have make distclean to build. > > [lmwang@vpn ffmpeg]$ make fate-checkasm-opusdsp SAMPLES=../fate-suite > TESTcheckasm-opusdsp > Test checkasm-opusdsp failed. Look at tests/data/fate/checkasm-opusdsp.err >

[FFmpeg-devel] [PATCH] x86/opusdps: clear the high bits from some gprs

2019-09-11 Thread James Almer
Fixes checkasm on systems like win64. Signed-off-by: James Almer --- libavcodec/x86/opusdsp.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/x86/opusdsp.asm b/libavcodec/x86/opusdsp.asm index f5d206a8b1..53a799d3d6 100644 --- a/libavcodec/x86/opusdsp.asm

Re: [FFmpeg-devel] [PATCH v1] fate: remove fate-checkasm-opusdsp for the segment fault for mac and linux system

2019-09-11 Thread Limin Wang
I'm not sure it's my system issue only? Have make distclean to build. [lmwang@vpn ffmpeg]$ make fate-checkasm-opusdsp SAMPLES=../fate-suite TESTcheckasm-opusdsp Test checkasm-opusdsp failed. Look at tests/data/fate/checkasm-opusdsp.err for details. make: *** [fate-checkasm-opusdsp] Error

Re: [FFmpeg-devel] [PATCH v2] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-11 Thread Limin Wang
On Wed, Sep 11, 2019 at 01:42:38AM +0200, Carl Eugen Hoyos wrote: > Am Do., 5. Sept. 2019 um 00:45 Uhr schrieb : > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/tscc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

[FFmpeg-devel] [PATCH v3] avcodec/tscc: fix for the backward compatibility to use const in the z_stream interface

2019-09-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/tscc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6d03081..9eb17e3 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -88,7 +88,11 @@ static int

Re: [FFmpeg-devel] [REFUND-REQUEST] Packaging and Shipping cost AMD GPU

2019-09-11 Thread Stefano Sabatini
On date Monday 2019-09-02 18:24:08 +0200, Timo Rothenpieler wrote: > I have sent one of my spare AMD GPUs to Rodger Combs for work on AMF and > AMF/Vulkan integration. > > Since there is personal information on the receipts, I won't post them here, > but can send them to the responsible person on

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/g2meet: Check for end of input in jpg_decode_block()

2019-09-11 Thread Michael Niedermayer
On Wed, Sep 11, 2019 at 11:18:47PM +0200, Tomas Härdin wrote: > tis 2019-09-10 klockan 16:16 +0200 skrev Michael Niedermayer: > > On Mon, Sep 09, 2019 at 11:04:32PM +0200, Tomas Härdin wrote: > > > mån 2019-09-09 klockan 22:16 +0200 skrev Michael Niedermayer: > > > > Fixes: Timeout (100sec ->

[FFmpeg-devel] [PATCH 2/2] avcodec/h264_metadata: Add feature to repeat x264 SEI

2019-09-11 Thread Andreas Rheinhardt
x264 adds a user data unregistered SEI containing its version number and encoding parameters to the first access unit. This SEI is mostly informative, but it can also be used by a decoder (like FFmpeg's H.264 decoder) to decide whether to use workarounds for certain bugs in old versions of x264.

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_h264: Automatically free SEI payload on error

2019-09-11 Thread Andreas Rheinhardt
If adding an SEI message to an access unit fails, said SEI message was not touched, so that the caller had to free any data associated with it that might need to be freed. But given that ff_cbs_h264_add_sei_message can simply call cbs_h264_free_sei_payload, one can easily free the content of the

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/g2meet: Check for end of input in jpg_decode_block()

2019-09-11 Thread Tomas Härdin
tis 2019-09-10 klockan 16:16 +0200 skrev Michael Niedermayer: > On Mon, Sep 09, 2019 at 11:04:32PM +0200, Tomas Härdin wrote: > > mån 2019-09-09 klockan 22:16 +0200 skrev Michael Niedermayer: > > > Fixes: Timeout (100sec -> 0.7sec) > > > Fixes: > > >

Re: [FFmpeg-devel] [REFUND-REQUEST] Packaging and Shipping cost AMD GPU

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 17:46 Uhr schrieb Michael Niedermayer : > > On Mon, Sep 02, 2019 at 06:24:08PM +0200, Timo Rothenpieler wrote: > > I have sent one of my spare AMD GPUs to Rodger Combs for work on AMF and > > AMF/Vulkan integration. > > > > Since there is personal information on the

Re: [FFmpeg-devel] [PATCH v4 2/2] avfilter: Add tonemap vaapi filter

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 07:41 Uhr schrieb Zachary Zhou : > > It supports ICL platform. > H2H (HDR to HDR): P010 -> A2R10G10B10 > H2S (HDR to SDR): P010 -> ARGB > +if (ctx->hdr_type == HDR_VAAPI_H2H) { > +vpp_ctx->output_format = AV_PIX_FMT_A2R10G10B10; I believe that even if you

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/htmlsubtitles: Avoid locale dependant isdigit()

2019-09-11 Thread Michael Niedermayer
On Wed, Aug 28, 2019 at 11:17:20PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/htmlsubtitles.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Any

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

2019-09-11 Thread Michael Niedermayer
On Tue, Aug 27, 2019 at 11:21:50PM +0200, Michael Niedermayer wrote: > Fixes: Multiple memleaks > Fixes: ffmpeg-memory-leak > > Found-by: Francis Provencher > Signed-off-by: Michael Niedermayer > --- > libavcodec/mpeg12enc.c | 2 ++ > 1 file changed, 2 insertions(+) will apply [...] --

Re: [FFmpeg-devel] [PATCH v1] avcodec/pngenc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-11 Thread Carl Eugen Hoyos
Am Di., 10. Sept. 2019 um 16:19 Uhr schrieb : > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/pngenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c > index d4d8dc8..e78a829 100644 > ---

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/alsdec: Check k from being outside what our implementation can handle

2019-09-11 Thread Michael Niedermayer
On Sun, Aug 25, 2019 at 08:41:58PM +0200, Michael Niedermayer wrote: > The specification does not seem to list what the maximum valid > value is > > Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int' > Fixes: >

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/takdec: Fix integer overflow in decorrelate()

2019-09-11 Thread Michael Niedermayer
On Sun, Aug 25, 2019 at 08:41:56PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2424832 - 2145653689 cannot be represented > in type 'int' > Fixes: > 16138/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-5643451346976768 > > Found-by: continuous fuzzing

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/aacps: Fix integer overflows in hybrid_synthesis()

2019-09-11 Thread Michael Niedermayer
On Sat, Aug 24, 2019 at 08:18:24PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -822667928 + -1399761199 cannot be > represented in type 'int' > Fixes: > 15756/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5645182051024896 > > Found-by: continuous

[FFmpeg-devel] FW: [PATCH] Add option to log timing

2019-09-11 Thread Soft Works
Michael - you probably missed my question... -Original Message- From: Soft Works Sent: Friday, September 6, 2019 11:44 PM To: FFmpeg development discussions and patches Subject: RE: [FFmpeg-devel] [PATCH] Add option to log timing > From: ffmpeg-devel On Behalf Of > Michael

Re: [FFmpeg-devel] [PATCH v1] libavutil: add A2R10G10B10 & A2B10G10R10

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 07:59 Uhr schrieb Zhou, Zachary : > > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Carl > > Eugen Hoyos > > Sent: Wednesday, September 11, 2019 7:30 AM > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v1]

Re: [FFmpeg-devel] [PATCH 2/4] h264_metadata: Add support for A/53 closed captions

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 20:56 Uhr schrieb Aman Gupta : > > From: Mark Thompson > > Allows insertion (from side data), extraction (to side data), and removal > of closed captions in SEI messages. Please mention ticket #5283. Carl Eugen ___

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/vp56rac: delay signaling an error on truncated input

2019-09-11 Thread Michael Niedermayer
On Tue, Aug 20, 2019 at 11:51:49AM +0200, Michael Niedermayer wrote: > A threshold of 1 is sufficient for simple_dump_cut.webm, 10 is used > just to be sure the next truncated file doesnt cause the same issue > > Obvious alternative fixes are to simply accept that the file is broken or to > write

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 09:35 Uhr schrieb Hendrik Leppkes : > > On Wed, Sep 11, 2019 at 5:20 AM Fu, Linjie wrote: > > > > > -Original Message- > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > > Of Carl Eugen Hoyos > > > Sent: Wednesday, September 11, 2019

Re: [FFmpeg-devel] [PATCH] avcodec/dvdec: correctly set interlaced and tff

2019-09-11 Thread Baptiste Coudurier
Hey Carl, > On Sep 11, 2019, at 12:38 PM, Carl Eugen Hoyos wrote: > > Am Mi., 11. Sept. 2019 um 21:31 Uhr schrieb Baptiste Coudurier > : >> >> --- >> libavcodec/dvdec.c | 13 ++--- >> 1 file changed, 10 insertions(+), 3 deletions(-) >> >> diff --git a/libavcodec/dvdec.c

Re: [FFmpeg-devel] [PATCH] avcodec/dvenc: support encoding dvcprohd

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 21:30 Uhr schrieb Baptiste Coudurier : > > --- > libavcodec/dv.h| 1 + > libavcodec/dvenc.c | 576 - > 2 files changed, 522 insertions(+), 55 deletions(-) Please mention ticket #1370. Thank you, Carl Eugen

Re: [FFmpeg-devel] [PATCH] avcodec/dvdec: correctly set interlaced and tff

2019-09-11 Thread Carl Eugen Hoyos
Am Mi., 11. Sept. 2019 um 21:31 Uhr schrieb Baptiste Coudurier : > > --- > libavcodec/dvdec.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c > index 4345cd9e29..cfa0fb9905 100644 > --- a/libavcodec/dvdec.c > +++

[FFmpeg-devel] [PATCH] avcodec/dvdec: correctly set interlaced and tff

2019-09-11 Thread Baptiste Coudurier
--- libavcodec/dvdec.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index 4345cd9e29..cfa0fb9905 100644 --- a/libavcodec/dvdec.c +++ b/libavcodec/dvdec.c @@ -592,12 +592,19 @@ static int

[FFmpeg-devel] [PATCH] avcodec/dvenc: support encoding dvcprohd

2019-09-11 Thread Baptiste Coudurier
--- libavcodec/dv.h| 1 + libavcodec/dvenc.c | 576 - 2 files changed, 522 insertions(+), 55 deletions(-) diff --git a/libavcodec/dv.h b/libavcodec/dv.h index 7ef5b7c552..0205d72347 100644 --- a/libavcodec/dv.h +++ b/libavcodec/dv.h @@ -83,6

[FFmpeg-devel] [PATCH] avcodec/dvdec: correctly decode bottom mb row in 1080i field mode

2019-09-11 Thread Baptiste Coudurier
--- libavcodec/dv.h| 2 ++ libavcodec/dvdec.c | 90 +++--- 2 files changed, 72 insertions(+), 20 deletions(-) diff --git a/libavcodec/dv.h b/libavcodec/dv.h index 0e97bb200e..7ef5b7c552 100644 --- a/libavcodec/dv.h +++ b/libavcodec/dv.h @@ -31,6 +31,7

[FFmpeg-devel] [PATCH 3/4] h264_metadata: Update documentation

2019-09-11 Thread Aman Gupta
From: Mark Thompson Improve documentation for the delete_filler option, and add the display_orientation and a53_cc options. --- doc/bitstream_filters.texi | 51 +- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/doc/bitstream_filters.texi

[FFmpeg-devel] [PATCH 4/4] mpeg2_metadata: Add support for A/53 closed captions

2019-09-11 Thread Aman Gupta
From: Mark Thompson Allows extraction (to side data) and removal of closed captions in user data blocks. --- doc/bitstream_filters.texi | 12 ++ libavcodec/Makefile | 2 +- libavcodec/mpeg2_metadata_bsf.c | 76 - 3 files changed, 88

[FFmpeg-devel] [PATCH 2/4] h264_metadata: Add support for A/53 closed captions

2019-09-11 Thread Aman Gupta
From: Mark Thompson Allows insertion (from side data), extraction (to side data), and removal of closed captions in SEI messages. --- libavcodec/Makefile| 2 +- libavcodec/h264_metadata_bsf.c | 133 + 2 files changed, 134 insertions(+), 1

[FFmpeg-devel] [PATCH 1/4] cbs: Add some common code for read/write of miscellaneous user data

2019-09-11 Thread Aman Gupta
From: Mark Thompson Supports closed captions, active format and bar data as defined by SCTE 128 part 1 or A/53 part 4, suitable for use with both MPEG-2 and H.264. --- libavcodec/cbs_misc.c | 217 ++ libavcodec/cbs_misc.h | 109

Re: [FFmpeg-devel] [PATCH v2] avformat/rtpdec_rfc4175: support non-zero based line numbers

2019-09-11 Thread Michael Niedermayer
On Wed, Aug 28, 2019 at 11:12:51PM +0800, Kah Goh wrote: > There are differing standards that define different starting line > numbers. For example, VSF TR-03 says the line numbers starts at 1, > whereas SMPTE 2110-20 says it should start at 0. > > This change fixes the following issues when the

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-11 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Michael Niedermayer > Sent: Wednesday, September 11, 2019 23:06 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add

[FFmpeg-devel] [PATCH, v2 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-11 Thread Linjie Fu
Previously, media driver provided planar format(like 420 8 bit), but for HEVC Range Extension (422/444 8/10 bit), the decoded image is produced in packed format because Windows expects it. Add some packed pixel formats for hardware decode support in VAAPI and QSV: 4:2:2 10 bit: Y210 4:4:4 8

[FFmpeg-devel] [PATCH v1] fate: remove fate-checkasm-opusdsp for the segment fault for mac and linux system

2019-09-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/checkasm.mak | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fate/checkasm.mak b/tests/fate/checkasm.mak index 3893245..618bde5 100644 --- a/tests/fate/checkasm.mak +++ b/tests/fate/checkasm.mak @@ -19,7 +19,6 @@ FATE_CHECKASM

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread Gyan
On 11-09-2019 08:19 PM, Moritz Barsnick wrote: On Wed, Sep 11, 2019 at 19:57:43 +0530, Gyan wrote: +ffmpeg -i INPUT -f streamhash -hash md5 - +@end example Since there's no mapping, this will select only one video and audio stream, but more importantly the video will be first, which may not

Re: [FFmpeg-devel] Testing failure paths (Was: Re: [PATCH v2 2/3] avformat/hashenc: use an array of hashes)

2019-09-11 Thread James Almer
On 9/11/2019 11:53 AM, Moritz Barsnick wrote: > On Wed, Sep 11, 2019 at 10:39:40 -0300, James Almer wrote: >>> +static void hash_free(struct AVFormatContext *s) >>> +{ >>> +struct HashContext *c = s->priv_data; >>> +av_hash_freep(>hashes[0]); >> >> AVOutputFormat.deinit() is called when

Re: [FFmpeg-devel] [REFUND-REQUEST] Packaging and Shipping cost AMD GPU

2019-09-11 Thread Michael Niedermayer
On Mon, Sep 02, 2019 at 06:24:08PM +0200, Timo Rothenpieler wrote: > I have sent one of my spare AMD GPUs to Rodger Combs for work on AMF and > AMF/Vulkan integration. > > Since there is personal information on the receipts, I won't post them here, > but can send them to the responsible person on

Re: [FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: refine the code for better readiablity

2019-09-11 Thread Limin Wang
On Wed, Sep 11, 2019 at 10:29:14AM -0300, James Almer wrote: > On 9/10/2019 2:38 AM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/h2645_parse.c | 10 -- > > 1 file changed, 4 insertions(+), 6 deletions(-) > > > > diff

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-11 Thread Michael Niedermayer
Content-Type: text/plain; charset=y error: cannot convert from y to UTF-8 fatal: could not parse patch On Wed, Sep 11, 2019 at 12:05:58AM +0800, Linjie Fu wrote: > Add some packed pixel formats for hardware decode support in VAAPI > and QSV: > > 4:2:2 10 bit: Y210 > 4:4:4 8 bit: AYUV > 4:4:4

[FFmpeg-devel] Testing failure paths (Was: Re: [PATCH v2 2/3] avformat/hashenc: use an array of hashes)

2019-09-11 Thread Moritz Barsnick
On Wed, Sep 11, 2019 at 10:39:40 -0300, James Almer wrote: > > +static void hash_free(struct AVFormatContext *s) > > +{ > > +struct HashContext *c = s->priv_data; > > +av_hash_freep(>hashes[0]); > > AVOutputFormat.deinit() is called when AVOutputFormat.init() fails, so > c->hashes can be

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread Moritz Barsnick
On Wed, Sep 11, 2019 at 19:57:43 +0530, Gyan wrote: > > +ffmpeg -i INPUT -f streamhash -hash md5 - > > +@end example > Since there's no mapping, this will select only one video and audio > stream, but more importantly the video will be first, which may not be > the case in the input. Maybe add

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread Gyan
On 11-09-2019 07:04 PM, Moritz Barsnick wrote: Implemented as a variant of the hash muxer, reusing most functions, and making use of the previously introduced array of hashes. --- Changelog| 1 + doc/muxers.texi | 46 ++ libavformat/Makefile

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread Moritz Barsnick
On Wed, Sep 11, 2019 at 11:08:01 -0300, James Almer wrote: > > +static int streamhash_init(struct AVFormatContext *s) > > +{ > > +int res, i; > > +struct HashContext *c = s->priv_data; > > +c->per_stream = 1; > > +c->hashes = av_mallocz_array(s->nb_streams, sizeof(c->hashes)); > >

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread James Almer
On 9/11/2019 10:34 AM, Moritz Barsnick wrote: > Implemented as a variant of the hash muxer, reusing most functions, > and making use of the previously introduced array of hashes. > --- > Changelog| 1 + > doc/muxers.texi | 46 ++ >

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/hashenc: use an array of hashes

2019-09-11 Thread James Almer
On 9/11/2019 10:53 AM, Moritz Barsnick wrote: > On Wed, Sep 11, 2019 at 10:39:40 -0300, James Almer wrote: >> On 9/11/2019 10:34 AM, Moritz Barsnick wrote: >>> +static void hash_free(struct AVFormatContext *s) >>> +{ >>> +struct HashContext *c = s->priv_data; >>> +

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/hashenc: use an array of hashes

2019-09-11 Thread Moritz Barsnick
On Wed, Sep 11, 2019 at 10:39:40 -0300, James Almer wrote: > On 9/11/2019 10:34 AM, Moritz Barsnick wrote: > > +static void hash_free(struct AVFormatContext *s) > > +{ > > +struct HashContext *c = s->priv_data; > > +av_hash_freep(>hashes[0]); > > AVOutputFormat.deinit() is called when

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/hashenc: use an array of hashes

2019-09-11 Thread James Almer
On 9/11/2019 10:34 AM, Moritz Barsnick wrote: > Only the first element of the array is used currently, the other > elements are in preparation for a new muxer calculating multiple > hashes. > > Also move alloc/init code from the write_header() functions to > dedicated init() functions, and the

Re: [FFmpeg-devel] [REFUND-REQUEST] Packaging and Shipping cost AMD GPU

2019-09-11 Thread Timo Rothenpieler
On 02.09.2019 18:24, Timo Rothenpieler wrote: I have sent one of my spare AMD GPUs to Rodger Combs for work on AMF and AMF/Vulkan integration. Since there is personal information on the receipts, I won't post them here, but can send them to the responsible person on request easily.

[FFmpeg-devel] [PATCH v2 3/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread Moritz Barsnick
Implemented as a variant of the hash muxer, reusing most functions, and making use of the previously introduced array of hashes. --- Changelog| 1 + doc/muxers.texi | 46 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 +

[FFmpeg-devel] [PATCH v2 2/3] avformat/hashenc: use an array of hashes

2019-09-11 Thread Moritz Barsnick
Only the first element of the array is used currently, the other elements are in preparation for a new muxer calculating multiple hashes. Also move alloc/init code from the write_header() functions to dedicated init() functions, and the cleanup code from the write_trailer() functions to dedicated

[FFmpeg-devel] [PATCH v2 1/3] avformat/hashenc: rearrange options definition

2019-09-11 Thread Moritz Barsnick
Only the frame* muxers support the format_version option. Use macros to ease the proliferation of identical options to coming muxers as well. --- libavformat/hashenc.c | 35 +++ 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/libavformat/hashenc.c

[FFmpeg-devel] [PATCH v2 0/3] avformat/hashenc: add streamhash muxer

2019-09-11 Thread Moritz Barsnick
Adds a streamhash muxer, much like the hash muxer, but analyzing each stream independently. I chose not to add a "streammd5" muxer, as the other *md5 muxers are just legacy versions of the *hash muxers with a different default algorithm. The first two patches re-arrange the code in preparation

Re: [FFmpeg-devel] [PATCH] avcodec/h2645_parse: simplify memset call

2019-09-11 Thread James Almer
On 9/7/2019 4:55 PM, Andriy Gelman wrote: > From: Andriy Gelman > > Removed (new_size - pkt->nals_allocated) because this value is always 1 > during the call. > --- > libavcodec/h2645_parse.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/h2645_parse.c

Re: [FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: refine the code for better readiablity

2019-09-11 Thread James Almer
On 9/10/2019 2:38 AM, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/h2645_parse.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c > index

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: ffio_free_dyn_buf the oc->pb at hls_write_trailer

2019-09-11 Thread Andreas Rheinhardt
Steven Liu: > fix memleak at hls_write_trailer > > Found-by: Andreas Rheinhardt > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index f881bb9d60..218bfb2cba 100644 > ---

[FFmpeg-devel] [PATCH] avformat/hlsenc: Fix memleak when using single_file

2019-09-11 Thread Andreas Rheinhardt
This commit fixes a memleak in the hls muxer when one uses a single file as output. It has been forgotten to free the temporary buffers used to write the packets so that the size of the leaks basically amounts to the size of the output file. This commit adds the necessary free. Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-11 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Hendrik Leppkes > Sent: Wednesday, September 11, 2019 15:28 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new

Re: [FFmpeg-devel] [PATCH v4 2/2] avfilter: Add tonemap vaapi filter

2019-09-11 Thread Moritz Barsnick
On Wed, Sep 11, 2019 at 13:39:56 +0800, Zachary Zhou wrote: > +@section tonemap_vappi ^ Typo - the filter has a different name. Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

Re: [FFmpeg-devel] [PATCH v4 1/2] libavuitl: add A2R10G10B10 & A2B10G10R10

2019-09-11 Thread Moritz Barsnick
On Wed, Sep 11, 2019 at 13:39:55 +0800, Zachary Zhou wrote: > Subject: [PATCH v4 1/2] libavuitl: add A2R10G10B10 & A2B10G10R10 ^ Nit: libavutil Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-11 Thread Hendrik Leppkes
On Wed, Sep 11, 2019 at 5:20 AM Fu, Linjie wrote: > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Carl Eugen Hoyos > > Sent: Wednesday, September 11, 2019 03:25 > > To: FFmpeg development discussions and patches >

Re: [FFmpeg-devel] [PATCH, v2 2/4] avc/avcodec: add AV_CODEC_CAP_VARIABLE_DIMENSIONS flag

2019-09-11 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Fu, Linjie > Sent: Saturday, August 31, 2019 12:40 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, v2 2/4] avc/avcodec: add >

Re: [FFmpeg-devel] [PATCH v3] avformat/rtpdec_rfc4175: Fix incorrect copy_offset calculation

2019-09-11 Thread Jacob Siddall
> > > Jacob, can you look into this ? > > > > > > should i revert until this is fixed? > > > > > > Thanks > > > > Michael, yes lets revert this commit for now and come up with a better > > solution that can cater for both starting line number cases. > > ok, will revert Michael, My friend