Re: [FFmpeg-devel] [PATCH 2/3] lavf/hls: Add missed side data/disposition

2020-06-17 Thread myp...@gmail.com
On Thu, Jun 4, 2020 at 10:39 PM Jun Zhao wrote: > > From: vacingfang > > hls demuxer get the strem info form sub-stream, but missed sida > data/disposition part, e,g, missed the DOVI sida data when the > stream is Dolby Vision streams. > > Signed-off-by: vacingfang > --- > libavformat/hls.c |

[FFmpeg-devel] [PATCH 1/5] lavf: matroska subtitle muxer

2020-06-17 Thread rcombs
--- configure | 1 + libavformat/allformats.c | 1 + libavformat/matroskaenc.c | 30 ++ libavformat/version.h | 4 ++-- 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 7495f35faa..28686ce2e8 100755 ---

[FFmpeg-devel] [PATCH 2/5] lavf/webvtt: preserve comments

2020-06-17 Thread rcombs
--- libavcodec/avpacket.c | 1 + libavcodec/packet.h | 6 ++ libavformat/webvttdec.c | 25 ++--- libavformat/webvttenc.c | 10 -- 4 files changed, 37 insertions(+), 5 deletions(-) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index

[FFmpeg-devel] [PATCH 4/5] lavf/matroskaenc: mux WebVTT using standard (non-WebM) formatting

2020-06-17 Thread rcombs
--- libavformat/matroskaenc.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 63d6b50e6a..94e6cc542a 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -2117,22

[FFmpeg-devel] [PATCH 3/5] lavf/matroskadec: support standard (non-WebM) WebVTT formatting

2020-06-17 Thread rcombs
Fixes ticket #5641 --- libavformat/matroska.c| 11 ++-- libavformat/matroskadec.c | 111 -- 2 files changed, 77 insertions(+), 45 deletions(-) diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 7c56aba403..962fa496f4 100644 ---

[FFmpeg-devel] [PATCH 5/5] lavf/webvttdec: ignore unrecognized blocks

2020-06-17 Thread rcombs
The WebVTT spec expects this behavior and it fixes some files --- libavformat/webvttdec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c index 38c281fe00..2e832b86eb 100644 --- a/libavformat/webvttdec.c +++

[FFmpeg-devel] [PATCH] area changed: hevc_amf set default gops_per_idr 1

2020-06-17 Thread 2rd bunji
Signed-off-by: Lu Jiao --- libavcodec/amfenc_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/amfenc_hevc.c b/libavcodec/amfenc_hevc.c index 77e57d2461..b0cb57cb96 100644 --- a/libavcodec/amfenc_hevc.c +++ b/libavcodec/amfenc_hevc.c @@ -69,7 +69,7 @@ static

[FFmpeg-devel] [PATCH v3 5/5] avcodec/nvenc: support for HEVC timecode passthrough

2020-06-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc.c | 17 + libavcodec/nvenc.h | 1 + libavcodec/nvenc_hevc.c | 1 + 3 files changed, 19 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index e4356ce..81e8338 100644 ---

Re: [FFmpeg-devel] [PATCH v5 3/3] fate: add yuv420p10 and yuv422p10 tests for overlay filter

2020-06-17 Thread lance . lmwang
On Tue, Jun 16, 2020 at 06:51:03PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > tested on x86_64, x86_32, qemu mips 32bit > > tests/fate/filter-video.mak | 8 > tests/filtergraphs/overlay_yuv420p10| 5 + >

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Fix integer overflow in computation of max and avg bitrate

2020-06-17 Thread lance . lmwang
On Mon, Jun 08, 2020 at 11:02:38PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/libx265.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c > index

[FFmpeg-devel] [PATCH v3 4/5] avcodec/utils: add ff_alloc_timecode_sei() for hevc timecode sei

2020-06-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/internal.h | 15 libavcodec/utils.c| 63 +++ 2 files changed, 78 insertions(+) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 0a72a0e..09eb102 100644

Re: [FFmpeg-devel] [PATCH 1/3] lavc/avcodec: Add caps for the support of variable dimension encoding

2020-06-17 Thread Fu, Linjie
> From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Tuesday, June 9, 2020 17:02 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/3] lavc/avcodec: Add caps for the > support of variable dimension encoding > > > From: ffmpeg-devel On

Re: [FFmpeg-devel] [PATCH v2 4/4] avcodec/nvenc: support for HEVC timecode passthrough

2020-06-17 Thread lance . lmwang
On Wed, Jun 17, 2020 at 06:41:45PM +0200, Timo Rothenpieler wrote: > On 17.06.2020 18:07, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > I failed to find any document about nvenc so that I can update for new > > option. > > > >

Re: [FFmpeg-devel] [PATCH] mailmap: add entry for myself

2020-06-17 Thread Ridley Combs
> On Jun 17, 2020, at 12:16, Josh de Kock wrote: > > On 17/06/2020 15:16, Zhong Li wrote: >> Signed-off-by: Zhong Li >> --- >> .mailmap | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> diff --git a/.mailmap b/.mailmap >> index d1925bfab0..f14770d800 100644 >> --- a/.mailmap >>

[FFmpeg-devel] [PATCH 2/2] avcodec/hcadec: get intensity from correct channel

2020-06-17 Thread t
Fixes an issue with one output channel being slightly louder than the other. The output now matches other public HCA decoders. Signed-off-by: t --- libavcodec/hcadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hcadec.c b/libavcodec/hcadec.c index

[FFmpeg-devel] [PATCH 1/2] avcodec/hcadec: fix decoding of hfr channels

2020-06-17 Thread t
I suspect this was originally broken by b7e5c8f , but even then, it only worked because it read out of bounds from intensity_ratio_table. Signed-off-by: t --- libavcodec/hca_data.h | 14 -- libavcodec/hcadec.c | 3 ++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/2 v5] avcodec/encode: restructure the core encoding code

2020-06-17 Thread James Almer
On 6/9/2020 7:22 PM, James Almer wrote: > This commit follows the same logic as 061a0c14bb, but for the encode API: The > new public encoding API will no longer be a wrapper around the old deprecated > one, and the internal API used by the encoders now consists of a single > receive_packet()

Re: [FFmpeg-devel] query on pixel formats

2020-06-17 Thread Carl Eugen Hoyos
Am Mi., 17. Juni 2020 um 13:00 Uhr schrieb Gautam Ramakrishnan : > > Hi all, > > I am working on the JPEG2000 decoder. However I am having trouble > understanding pixel formats correctly. > For example, from my understanding, the reference file p1_01.j2k pixel > format does not get recognized by

Re: [FFmpeg-devel] query on pixel formats

2020-06-17 Thread Carl Eugen Hoyos
Am Mi., 17. Juni 2020 um 23:30 Uhr schrieb Carl Eugen Hoyos : > (A wild guess is that gray8 has to be added to RGB_PIXEL_FORMATS) If this is the issue, GRAY_PIXEL_FORMATS have to be added to yuv_pix_fmts[] Carl Eugen ___ ffmpeg-devel mailing list

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

2020-06-17 Thread Devin Heitmueller
Hello Milos, A few additional comments in addition to what Marton found. Please in the future send patches as in-line rather than attachments. On Sun, Jun 14, 2020 at 10:27 AM Marton Balint wrote: > > > On Tue, 9 Jun 2020, Zivkovic, Milos wrote: > > > Hello, > > > > I've attached a patch that

Re: [FFmpeg-devel] query on pixel formats

2020-06-17 Thread Michael Niedermayer
On Wed, Jun 17, 2020 at 04:22:06PM +0530, Gautam Ramakrishnan wrote: > Hi all, > > I am working on the JPEG2000 decoder. However I am having trouble > understanding pixel formats correctly. > For example, from my understanding, the reference file p1_01.j2k pixel > format does not get recognized

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

2020-06-17 Thread 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. Signed-off-by: Timotej

Re: [FFmpeg-devel] [PATCH v3 1/7] avformat/apm: check codec tag in probe and add constant

2020-06-17 Thread Michael Niedermayer
On Fri, Jun 12, 2020 at 11:46:15AM +, Zane van Iperen wrote: > Signed-off-by: Zane van Iperen > --- > libavformat/apm.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB During

Re: [FFmpeg-devel] [PATCH] mailmap: add entry for myself

2020-06-17 Thread Josh de Kock
On 17/06/2020 18:16, Josh de Kock wrote: On 17/06/2020 15:16, Zhong Li wrote: Signed-off-by: Zhong Li ---   .mailmap | 3 ++-   1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index d1925bfab0..f14770d800 100644 --- a/.mailmap +++ b/.mailmap @@ -15,7 +15,8 @@  

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: Write 'av01' as a compatible brand when muxing AV1

2020-06-17 Thread Derek Buitenhuis
On 17/06/2020 15:45, James Almer wrote: > nit: I'd prefer it after the cmfc and iso6 compat brands instead. Done. > LGTM either way. Pushed, thanks. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] mailmap: add entry for myself

2020-06-17 Thread Josh de Kock
On 17/06/2020 15:16, Zhong Li wrote: Signed-off-by: Zhong Li --- .mailmap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index d1925bfab0..f14770d800 100644 --- a/.mailmap +++ b/.mailmap @@ -15,7 +15,8 @@ - + + Is better if you

Re: [FFmpeg-devel] [PATCH v2 4/4] avcodec/nvenc: support for HEVC timecode passthrough

2020-06-17 Thread Timo Rothenpieler
On 17.06.2020 18:07, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- I failed to find any document about nvenc so that I can update for new option. libavcodec/nvenc.c | 53 + libavcodec/nvenc.h | 1 +

[FFmpeg-devel] [PATCH v2 4/4] avcodec/nvenc: support for HEVC timecode passthrough

2020-06-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- I failed to find any document about nvenc so that I can update for new option. libavcodec/nvenc.c | 53 + libavcodec/nvenc.h | 1 + libavcodec/nvenc_hevc.c | 1 + 3 files changed, 55

Re: [FFmpeg-devel] [PATCH] avformat/isom: enable extended language for mov

2020-06-17 Thread Yongle Lin
Dear FFmpeg Development Team, I am an intern at Google working on FFmpeg open source project this summer. I sent a patch in my previous email last week. Could you please take a look at it and review the patch? I really appreciate it. Best, Yongle On Thu, Jun 11, 2020 at 11:35 PM Yongle Lin

[FFmpeg-devel] [PATCH v2 3/4] avcodec/nvenc: add more sei data support

2020-06-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc.c | 36 ++-- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index e269c71..e4356ce 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c

[FFmpeg-devel] [PATCH v2 1/4] avcodec/hevc_sei: support HEVC timecode decode

2020-06-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 49 + libavcodec/hevc_sei.h | 21 + 2 files changed, 70 insertions(+) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index 1736891..bf92de6

[FFmpeg-devel] [PATCH v2 2/4] avcodec/hevcdec: create AVFrame side data from HEVC timecodes like H.264

2020-06-17 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevcdec.c | 44 1 file changed, 44 insertions(+) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index c9e28f5..39abbb9 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: Write 'av01' as a compatible brand when muxing AV1

2020-06-17 Thread James Almer
On 6/17/2020 11:41 AM, Derek Buitenhuis wrote: > This is a requirement of the AV1-ISOBMFF spec. Section 2.1. > General Requirements & Brands states: > > * It SHALL have the av01 brand among the compatible brands array of the > FileTypeBox > > Signed-off-by: Derek Buitenhuis > --- > Changes

[FFmpeg-devel] [PATCH] mailmap: add entry for myself

2020-06-17 Thread Zhong Li
Signed-off-by: Zhong Li --- .mailmap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index d1925bfab0..f14770d800 100644 --- a/.mailmap +++ b/.mailmap @@ -15,7 +15,8 @@ - + + rcombs -- 2.17.1

[FFmpeg-devel] [PATCH v2] avformat/movenc: Write 'av01' as a compatible brand when muxing AV1

2020-06-17 Thread Derek Buitenhuis
This is a requirement of the AV1-ISOBMFF spec. Section 2.1. General Requirements & Brands states: * It SHALL have the av01 brand among the compatible brands array of the FileTypeBox Signed-off-by: Derek Buitenhuis --- Changes * Updated FATE refs. * Moved the write to be for all

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Write 'av01' as a compatible brand when muxing AV1

2020-06-17 Thread Derek Buitenhuis
On 17/06/2020 14:45, Derek Buitenhuis wrote: > This is a requirement of the AV1-ISOBMFF spec. Section 2.1. > General Requirements & Brands states: > > * It SHALL have the av01 brand among the compatible brands array of the > FileTypeBox > > Signed-off-by: Derek Buitenhuis > --- >

[FFmpeg-devel] [PATCH] avformat/movenc: Write 'av01' as a compatible brand when muxing AV1

2020-06-17 Thread Derek Buitenhuis
This is a requirement of the AV1-ISOBMFF spec. Section 2.1. General Requirements & Brands states: * It SHALL have the av01 brand among the compatible brands array of the FileTypeBox Signed-off-by: Derek Buitenhuis --- libavformat/movenc.c | 6 +- 1 file changed, 5 insertions(+), 1

Re: [FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Calculate average bitrate for adaptation sets in static manifest

2020-06-17 Thread Jeyapal, Karthick
On 6/17/20 5:20 PM, Przemysław Sobala wrote: > If stream's bitrate is not specified: > - for static manifest: an average bitrate will be calculated and used, > - for dynamic manifest: first segment's bitrate will be calculated and used, > as before, > for bandwidth setting in adaptation sets. >

[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Calculate average bitrate for adaptation sets in static manifest

2020-06-17 Thread Przemysław Sobala
If stream's bitrate is not specified: - for static manifest: an average bitrate will be calculated and used, - for dynamic manifest: first segment's bitrate will be calculated and used, as before, for bandwidth setting in adaptation sets. --- libavformat/dashenc.c | 24

Re: [FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Calculate average bitrate for adaptation sets in static manifest

2020-06-17 Thread Jeyapal, Karthick
Thanks for sending the revised patch. One more comment inline. On 6/17/20 4:23 PM, Przemysław Sobala wrote: > If stream's bitrate is not specified: > - for static manifest: an average bitrate will be calculated and used, > - for dynamic manifest: first segment's bitrate will be calculated and

[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Calculate average bitrate for adaptation sets in static manifest

2020-06-17 Thread Przemysław Sobala
If stream's bitrate is not specified: - for static manifest: an average bitrate will be calculated and used, - for dynamic manifest: first segment's bitrate will be calculated and used, as before, for bandwidth setting in adaptation sets. --- libavformat/dashenc.c | 25 ++---

[FFmpeg-devel] query on pixel formats

2020-06-17 Thread Gautam Ramakrishnan
Hi all, I am working on the JPEG2000 decoder. However I am having trouble understanding pixel formats correctly. For example, from my understanding, the reference file p1_01.j2k pixel format does not get recognized by the native decoder. When I force a gray8 format on it, I am able to get output

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

2020-06-17 Thread Zivkovic, Milos
Hello, I've attached a new patch with the proposed changes. Thanks, Milos 0001-avdevice-decklink_dec-extracting-and-outputing-klv.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] [PATCH] POWER8 VSX vectorization libswscale/input.c Track ticket 5570

2020-06-17 Thread Pestov Vyacheslav
Hi, Carl Eugen Please, check my patch. It has been in pending status for a long time. I can’t get a bounty. If something needs to be finalized, just tell me. https://patchwork.ffmpeg.org/project/ffmpeg/patch/1585056463-7934-1-git-send-email-pestov.vy...@yandex.ru/ -- With best regards,