---
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
+++ b/libavcodec/h26
---
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 most
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
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.
> +
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 doubl
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) {
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
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:
> avcodec/h265_metadata_
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
an
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 insertio
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
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
@
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 avs_read_pack
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 @
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 1e
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: Andreas
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
---
libavformat/
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 @@ stati
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 int
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 changes
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
> impor
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
> format=bgr24,dnn_processing=model=halve_first_channel.model:input=dnn_in:
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 timestamp
在 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 De
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 addin
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 this.
> -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 Mon,
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
> -
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 +0100
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 I
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
> > r
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: [FFmpeg-de
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
https://ffm
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, AV_NOPTS_V
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 differe
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
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
+++ b/libav
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:
> [Parsed_showin
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
> > inde
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 b
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: 9FF2128B147EF6730BADF133611EC787040B0F
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 t
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: 9FF2128B147EF6
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
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 706e8ca38d..92629
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 1006
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 b/libavform
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
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 | 7
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 f
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
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
_
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 mode
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 documente
54 matches
Mail list logo