Re: [FFmpeg-devel] [PATCH 3/4] avformat/utils: Remove redundant save+restore

2020-01-07 Thread Andreas Rheinhardt
On Tue, Oct 8, 2019 at 7:42 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > If the size of the input packet is zero, av_grow_packet() used to call > av_new_packet() which would initialize the packet and (in particular) > reset the pos field. This behaviour (which was never

[FFmpeg-devel] [PATCH] fate/filter-video: add two tests for dnn_processing with frame format rgb24 and grayf32

2020-01-07 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- tests/fate/filter-video.mak| 4 ++ ...filter-dnn_processing-halve_first_channel_float | 55 ++ .../fate/filter-dnn_processing-halve_gray_float| 55 ++ 3 files changed, 114 insertions(+) create

Re: [FFmpeg-devel] [PATCH] avfilter/aformat: add shorthand names for options

2020-01-07 Thread Gyan
On 08-01-2020 02:02 am, Lou Logan wrote: On Tue, Jan 7, 2020, at 1:22 AM, Gyan Doshi wrote: --- doc/filters.texi | 6 +++--- libavfilter/af_aformat.c | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) LGTM Pushed as 5bd001043d91077eabd4cd1ffa71b396cf07c04d Thanks, Gyan

Re: [FFmpeg-devel] [PATCH v7 1/8] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2020-01-07 Thread Anton Khirnov
Quoting lance.lmw...@gmail.com (2020-01-07 06:03:48) > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/APIchanges | 3 +++ > libavutil/frame.c | 1 + > libavutil/frame.h | 8 > libavutil/version.h | 2 +- > 4 files changed, 13 insertions(+), 1 deletion(-) > > diff

[FFmpeg-devel] [PATCH V6 1/2] libswscale/x86/yuv2rgb: Change inline assembly into nasm code

2020-01-07 Thread Ting Fu
Signed-off-by: Ting Fu --- libswscale/x86/Makefile | 1 + libswscale/x86/swscale.c | 16 +- libswscale/x86/yuv2rgb.c | 81 +++--- libswscale/x86/yuv2rgb_template.c | 441 ++ libswscale/x86/yuv_2_rgb.asm | 270 ++ 5

[FFmpeg-devel] [PATCH V6 2/2] libswscale/x86/yuv2rgb: add ssse3 version

2020-01-07 Thread Ting Fu
Tested using this command: /ffmpeg -pix_fmt yuv420p -s 1920*1080 -i ArashRawYuv420.yuv \ -vcodec rawvideo -s 1920*1080 -pix_fmt rgb24 -f null /dev/null The fps increase from 389 to 640 on Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz Signed-off-by: Ting Fu --- libswscale/x86/yuv2rgb.c |

Re: [FFmpeg-devel] [PATCH 10/11] avformat/wtvdec: Fix memleak when reading header fails

2020-01-07 Thread James Almer
On 1/7/2020 10:17 PM, Peter Ross wrote: > On Tue, Jan 07, 2020 at 02:55:48PM +0100, Andreas Rheinhardt wrote: >> Fixes #8314. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> libavformat/wtvdec.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/libavformat/wtvdec.c

Re: [FFmpeg-devel] [PATCH 11/11] avformat/wtvdec: Cosmetics

2020-01-07 Thread James Almer
On 1/7/2020 10:18 PM, Peter Ross wrote: > On Tue, Jan 07, 2020 at 02:55:49PM +0100, Andreas Rheinhardt wrote: >> Signed-off-by: Andreas Rheinhardt >> --- >> libavformat/wtvdec.c | 10 +- >> 1 file changed, 5 insertions(+), 5 deletions(-) >> >> diff --git a/libavformat/wtvdec.c

Re: [FFmpeg-devel] [PATCH 11/11] avformat/wtvdec: Cosmetics

2020-01-07 Thread Peter Ross
On Tue, Jan 07, 2020 at 02:55:49PM +0100, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/wtvdec.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c > index 92629bb31b..67d934f074

Re: [FFmpeg-devel] [PATCH 10/11] avformat/wtvdec: Fix memleak when reading header fails

2020-01-07 Thread Peter Ross
On Tue, Jan 07, 2020 at 02:55:48PM +0100, Andreas Rheinhardt wrote: > Fixes #8314. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/wtvdec.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c > index

Re: [FFmpeg-devel] [PATCH 04/11] avformat/fitsdec: Fix potential leak of string in AVBPrint

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 02:55:42PM +0100, Andreas Rheinhardt wrote: > by freeing it a bit earlier. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/fitsdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 03/11] avformat/avs: Remove avs_read_close()

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 02:55:41PM +0100, Andreas Rheinhardt wrote: > It did nothing. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/avs.c | 6 -- > 1 file changed, 6 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Re: [FFmpeg-devel] [PATCH 06/11] avformat: Improve returned error codes

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 02:55:44PM +0100, Andreas Rheinhardt wrote: > This commit improves returned error codes by forwarding error codes. In > some instances, the hardcoded returned error codes made no sense at all: > The normal error code for failure of av_new_packet() is AVERROR(ENOMEM), > yet

Re: [FFmpeg-devel] [PATCH 07/11] avformat/mpjpeg: Remove mpjpeg_write_trailer

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 02:55:45PM +0100, Andreas Rheinhardt wrote: > It does nothing. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/mpjpeg.c | 6 -- > 1 file changed, 6 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 08/11] avformat/dashenc: Fix leak of AVFormatContext on error

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 04:03:15PM +, Jeyapal, Karthick wrote: > > On 1/7/20 7:25 PM, Andreas Rheinhardt wrote: > > The Dash muxer uses submuxers and when one such submuxer has been allocated, > > it is initially only stored in a temporary variable. Therefore it leaks > > if an error happens

Re: [FFmpeg-devel] [PATCH] lavf/libsrt: Fix typo

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 09:27:30AM +0800, myp...@gmail.com wrote: > On Tue, Jan 7, 2020 at 1:43 AM Anthony Delannoy > wrote: > > > > --- > > libavformat/libsrt.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c > >

Re: [FFmpeg-devel] [PATCH v7 5/8] avcodec/h264_metadata_bsf: Fix for the incorrect user data with hyphens

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 01:03:52PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > How to reproduce: > ./ffmpeg -f lavfi -i testsrc -c:v libx264 -g 25 -bsf:v > h264_metadata=sei_user_data=186f3693-b7b3-4f2c-9653-21492feee5b8+hello > -frames:v 1 h264.mp4 > > master: >

[FFmpeg-devel] [PATCH 1/2] avformat/avio: fix ff_rename to respect used protocol

2020-01-07 Thread Marton Balint
Also simplify it, move it to avio.c and make it always log the error. This fixes for example the image2 muxer when used with an URL which also contains the protocol: ffmpeg -f lavfi -i testsrc -vframes 10 -atomic_writing 1 file:out%d.png Signed-off-by: Marton Balint --- libavformat/avio.c

[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: use ff_rename instead of avpriv_io_move

2020-01-07 Thread Marton Balint
ff_rename always logs the error message. Signed-off-by: Marton Balint --- libavformat/dashenc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index b84736881f..6b82ca9450 100644 --- a/libavformat/dashenc.c +++

Re: [FFmpeg-devel] [PATCH 1/6] avformat: remove unneded avio_flush() calls before calling avio_close_dyn_buf()

2020-01-07 Thread Marton Balint
On Mon, 6 Jan 2020, Moritz Barsnick wrote: On Sun, Jan 05, 2020 at 14:14:08 +0100, Marton Balint wrote: Subject: avformat: remove unneded avio_flush() calls before calling avio_close_dyn_buf() ^ Pasky nit: "unneeded". ;-) Yeah, I managed to write it in 3

Re: [FFmpeg-devel] [PATCH 2/6] avformat: remove uneeded avio_flush() calls from the end of write_header functions

2020-01-07 Thread Marton Balint
On Mon, 6 Jan 2020, Martin Storsjö wrote: On Mon, 6 Jan 2020, Marton Balint wrote: On Sun, 5 Jan 2020, Martin Storsjö wrote: On Sun, 5 Jan 2020, Marton Balint wrote: The IO context is flushed by libavformat/mux.c after writing the header by calling avio_write_marker(s->pb,

Re: [FFmpeg-devel] [PATCH] avfilter/aformat: add shorthand names for options

2020-01-07 Thread Lou Logan
On Tue, Jan 7, 2020, at 1:22 AM, Gyan Doshi wrote: > --- > doc/filters.texi | 6 +++--- > libavfilter/af_aformat.c | 3 +++ > 2 files changed, 6 insertions(+), 3 deletions(-) LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH V5 2/2] libswscale/x86/yuv2rgb: add ssse3 version

2020-01-07 Thread Michael Niedermayer
On Tue, Jan 07, 2020 at 04:17:07PM +, Fu, Ting wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Tuesday, January 7, 2020 09:09 AM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re:

Re: [FFmpeg-devel] [PATCH 001/244] Add a new channel layout API

2020-01-07 Thread Anton Khirnov
Quoting Nicolas George (2019-12-31 15:01:03) > Anton Khirnov (12019-12-29): > > Maybe I missed something, but I am not aware of the UB-ness of signed > > overflow being a practical problem. Typically, your computation will > > return a meaningless result. You would get a similarly meaningless > >

Re: [FFmpeg-devel] [PATCH 001/244] Add a new channel layout API

2020-01-07 Thread Anton Khirnov
Quoting Nicolas George (2019-12-31 16:17:49) > Anton Khirnov (12019-12-29): > > In the API namespace (function names) or the parameter names? For the > > latter, it can be changed at any time without problem and I don't really > > care much. For the former, the header is called channel_layout and

Re: [FFmpeg-devel] [PATCH v3 1/1] avdevice/gdigrab: Add use_captureblt option for disable or use CAPTUREBLT flag, when useing the bitblt function with CAPTUREBLT it caused the mouse cursor flicker. mo

2020-01-07 Thread Marton Balint
On Tue, 7 Jan 2020, fgodt wrote: 在 2020/1/2 22:56, fgodt 写道: 在 2020/1/2 3:39, Marton Balint 写道: On Tue, 31 Dec 2019, fgodt wrote: 在 2019/12/31 19:30, Marton Balint 写道: On Tue, 31 Dec 2019, fgodt wrote: On 2019/12/31 上午1:37, Calvin Walton wrote: On Mon, 2019-12-30 at 12:31

Re: [FFmpeg-devel] [PATCH 3/8] avfilter/vf_dnn_processing: remove access of AV_PIX_FMT_NB

2020-01-07 Thread Pedro Arthur
Hi, Em seg., 30 de dez. de 2019 às 10:55, escreveu: > > From: Zhao Zhili > > --- > libavfilter/vf_dnn_processing.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c > index ce976ec3bd..afb7275a38 100644 >

Re: [FFmpeg-devel] [PATCH V5 2/2] libswscale/x86/yuv2rgb: add ssse3 version

2020-01-07 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Tuesday, January 7, 2020 09:09 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V5 2/2] libswscale/x86/yuv2rgb: add > ssse3 version > > On

Re: [FFmpeg-devel] [PATCH 08/11] avformat/dashenc: Fix leak of AVFormatContext on error

2020-01-07 Thread Jeyapal, Karthick
On 1/7/20 7:25 PM, Andreas Rheinhardt wrote: > The Dash muxer uses submuxers and when one such submuxer has been allocated, > it is initially only stored in a temporary variable. Therefore it leaks > if an error happens between the allocation and storing it permanently. > This commit changes

Re: [FFmpeg-devel] AVWriter API

2020-01-07 Thread Anton Khirnov
Replying to this thread, since it contains the motivation. Quoting Nicolas George (2019-12-08 15:25:43) > Hi. > > [ TL;DR: a lightweight oo API for functions that need to return a > string, designed to be as convenient as possible. ] TL;DR: sorry, I do not like this. It seems to me you are

Re: [FFmpeg-devel] [PATCH v3 1/1] avdevice/gdigrab: Add use_captureblt option for disable or use CAPTUREBLT flag, when useing the bitblt function with CAPTUREBLT it caused the mouse cursor flicker. mo

2020-01-07 Thread fgodt
在 2020/1/2 22:56, fgodt 写道: 在 2020/1/2 3:39, Marton Balint 写道: On Tue, 31 Dec 2019, fgodt wrote: 在 2019/12/31 19:30, Marton Balint 写道: On Tue, 31 Dec 2019, fgodt wrote: On 2019/12/31 上午1:37, Calvin Walton wrote: On Mon, 2019-12-30 at 12:31 +0100, Marton Balint wrote: On Mon, 30

Re: [FFmpeg-devel] [PATCH 01/20] avformat/matroskaenc: Fix ReferenceBlock timestamp

2020-01-07 Thread Andreas Rheinhardt
On Wed, Jan 1, 2020 at 1:59 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > In order to indicate that the frames in a BlockGroup are not keyframes, > one has to add a ReferenceBlock element containing the timestamp of a > referenced Block that has already been written. The

Re: [FFmpeg-devel] [PATCH 1/2] vf_dnn_processing: remove parameter 'fmt'

2020-01-07 Thread Pedro Arthur
Em sex., 27 de dez. de 2019 às 05:42, Guo, Yejun escreveu: > > do not request AVFrame's format in vf_ddn_processing with 'fmt', > but to add another filter for the format. > > command examples: > ./ffmpeg -i input.jpg -vf >

Re: [FFmpeg-devel] [PATCH 2/2] vf_dnn_processing: add support for more formats gray8 and grayf32

2020-01-07 Thread Pedro Arthur
Em sex., 27 de dez. de 2019 às 05:42, Guo, Yejun escreveu: > > The following is a python script to halve the value of the gray > image. It demos how to setup and execute dnn model with python+tensorflow. > It also generates .pb file which will be used by ffmpeg. > > import tensorflow as tf >

[FFmpeg-devel] [PATCH 09/11] avformat/utils: Fix memleaks in avformat_open_input()

2020-01-07 Thread Andreas Rheinhardt
A demuxer might have allocated memory while reading the header. If reading the header was successfull and an error happens before returning (e.g. when queueing the attached pictures), the read_close function would have never been called, so that all those allocations would leak. This commit

[FFmpeg-devel] [PATCH 11/11] avformat/wtvdec: Cosmetics

2020-01-07 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/wtvdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c index 92629bb31b..67d934f074 100644 --- a/libavformat/wtvdec.c +++ b/libavformat/wtvdec.c @@ -290,7 +290,7 @@

[FFmpeg-devel] [PATCH 07/11] avformat/mpjpeg: Remove mpjpeg_write_trailer

2020-01-07 Thread Andreas Rheinhardt
It does nothing. Signed-off-by: Andreas Rheinhardt --- libavformat/mpjpeg.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c index 80f83c5871..ebb3ac4b2a 100644 --- a/libavformat/mpjpeg.c +++ b/libavformat/mpjpeg.c @@ -50,11 +50,6 @@ static

[FFmpeg-devel] [PATCH 08/11] avformat/dashenc: Fix leak of AVFormatContext on error

2020-01-07 Thread Andreas Rheinhardt
The Dash muxer uses submuxers and when one such submuxer has been allocated, it is initially only stored in a temporary variable. Therefore it leaks if an error happens between the allocation and storing it permanently. This commit changes this. Signed-off-by: Andreas Rheinhardt ---

[FFmpeg-devel] [PATCH 06/11] avformat: Improve returned error codes

2020-01-07 Thread Andreas Rheinhardt
This commit improves returned error codes by forwarding error codes. In some instances, the hardcoded returned error codes made no sense at all: The normal error code for failure of av_new_packet() is AVERROR(ENOMEM), yet there were instances where AVERROR(EIO) was returned. Signed-off-by:

[FFmpeg-devel] [PATCH 05/11] avformat/mpjpegdec: Remove redundant initializations

2020-01-07 Thread Andreas Rheinhardt
The AVPacket destined for a demuxer's output has already been initialized before it reaches the demuxer. Signed-off-by: Andreas Rheinhardt --- libavformat/mpjpegdec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c index

[FFmpeg-devel] [PATCH 10/11] avformat/wtvdec: Fix memleak when reading header fails

2020-01-07 Thread Andreas Rheinhardt
Fixes #8314. Signed-off-by: Andreas Rheinhardt --- libavformat/wtvdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c index 706e8ca38d..92629bb31b 100644 --- a/libavformat/wtvdec.c +++ b/libavformat/wtvdec.c @@ -993,8 +993,10

[FFmpeg-devel] [PATCH 03/11] avformat/avs: Remove avs_read_close()

2020-01-07 Thread Andreas Rheinhardt
It did nothing. Signed-off-by: Andreas Rheinhardt --- libavformat/avs.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavformat/avs.c b/libavformat/avs.c index 3a2d84aa19..54b2c3f2a9 100644 --- a/libavformat/avs.c +++ b/libavformat/avs.c @@ -223,11 +223,6 @@ static int

[FFmpeg-devel] [PATCH 02/11] avformat: Remove unnecessary av_packet_unref()

2020-01-07 Thread Andreas Rheinhardt
Since bae8844e the packet will always be unreferenced when a demuxer returns an error, so that a lot of calls to av_packet_unref() in lots of demuxers are now redundant and can be removed. Signed-off-by: Andreas Rheinhardt --- libavformat/aacdec.c | 6 -- libavformat/adp.c

[FFmpeg-devel] [PATCH 04/11] avformat/fitsdec: Fix potential leak of string in AVBPrint

2020-01-07 Thread Andreas Rheinhardt
by freeing it a bit earlier. Signed-off-by: Andreas Rheinhardt --- libavformat/fitsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/fitsdec.c b/libavformat/fitsdec.c index e917fc2375..e52ddc7e79 100644 --- a/libavformat/fitsdec.c +++ b/libavformat/fitsdec.c

[FFmpeg-devel] [PATCH 01/11] avformat/avformat: Update AVInputFormat.read_packet documentation

2020-01-07 Thread Andreas Rheinhardt
Since bae8844e351, the packet is automatically unreferenced in ff_read_packet() when an error is returned; but the documentation of this of AVInputFormat.read_packet has not been updated accordingly. Signed-off-by: Andreas Rheinhardt --- libavformat/avformat.h | 3 +-- 1 file changed, 1

Re: [FFmpeg-devel] setting vps/sps/pps id via hevc_metadata

2020-01-07 Thread Eran Gonen
Hi, This filter allows editing hevc headers and change metadata. Most modifications doesn't make sense for all multiple PS streams (even if they are decodable): same crop for different resolutions, the same tick_rate for different FR. Changing the PS id allows a wide range of stream compositions

Re: [FFmpeg-devel] [PATCH] Add vps/sps/pps id set to hevc_metadata bsf

2020-01-07 Thread Eran Gonen
Thanks, I will fix that. What's the formatter parameters for that? (AStyle or other) On Tue, Jan 7, 2020 at 2:02 PM Moritz Barsnick wrote: > On Tue, Jan 07, 2020 at 10:51:55 +0200, Eran Gonen wrote: > > Subject: Add vps/sps/pps id set to hevc_metadata bsf > > Please use: >

[FFmpeg-devel] [PATCH] avfilter/f_metadata: allow direct flushing when printing to file

2020-01-07 Thread Gyan Doshi
Useful for monitoring sparse data in realtime --- doc/filters.texi | 3 +++ libavfilter/f_metadata.c | 6 ++ 2 files changed, 9 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index fc2d198077..e682ba62bb 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -22711,6

Re: [FFmpeg-devel] [PATCH]Support for Frame Duplication (Doubling/ Tripling) by FFMPEG's HEVC Decoder by parsing the picture_struct SEI value (Requirement: http://ffmpeg.org/pipermail/ffmpeg-devel/201

2020-01-07 Thread Moritz Barsnick
On Tue, Jan 07, 2020 at 11:38:01 +, Praveen Kumar wrote: Praveen, could you please create the patch with "git format-patch", so that it includes a commit message? > +if (ctx->sei.picture_timing.picture_struct) { > +switch (ctx->sei.picture_timing.picture_struct) {

Re: [FFmpeg-devel] [PATCH]Support for Frame Duplication (Doubling/ Tripling) by FFMPEG's HEVC Decoder by parsing the picture_struct SEI value (Requirement: http://ffmpeg.org/pipermail/ffmpeg-devel/201

2020-01-07 Thread Hendrik Leppkes
On Tue, Jan 7, 2020 at 12:38 PM Praveen Kumar wrote: > > Hi, > > This patch has the implementation for supporting frame duplication (doubling/ > tripling) by FFmpeg's HEVC decoder based on the picture_structre SEI value > present in the encoded video. > picture_structure value of 7 implies

Re: [FFmpeg-devel] [PATCH] Add vps/sps/pps id set to hevc_metadata bsf

2020-01-07 Thread Moritz Barsnick
On Tue, Jan 07, 2020 at 10:51:55 +0200, Eran Gonen wrote: > Subject: Add vps/sps/pps id set to hevc_metadata bsf Please use: avcodec/h265_metadata_bsf: [...] > +if(ctx->vps_id > -1) { Code style: "if (" (i.e. space before the bracket here). Also in various other places in your code. > +

[FFmpeg-devel] [PATCH]Support for Frame Duplication (Doubling/ Tripling) by FFMPEG's HEVC Decoder by parsing the picture_struct SEI value (Requirement: http://ffmpeg.org/pipermail/ffmpeg-devel/2019-Ju

2020-01-07 Thread Praveen Kumar
Hi, This patch has the implementation for supporting frame duplication (doubling/ tripling) by FFmpeg's HEVC decoder based on the picture_structre SEI value present in the encoded video. picture_structure value of 7 implies doubling and 8 implies tripling. The value of picture_structure is set

[FFmpeg-devel] [PATCH] avfilter/aformat: add shorthand names for options

2020-01-07 Thread Gyan Doshi
--- doc/filters.texi | 6 +++--- libavfilter/af_aformat.c | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index fc2d198077..78ff5294a9 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1285,13 +1285,13 @@ negotiate the

[FFmpeg-devel] [PATCH] Add vps/sps/pps id set to hevc_metadata bsf

2020-01-07 Thread Eran Gonen
--- libavcodec/h265_metadata_bsf.c | 147 + 1 file changed, 129 insertions(+), 18 deletions(-) diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c index b3a1fda144..66ea369e0b 100644 --- a/libavcodec/h265_metadata_bsf.c +++