From: Wang Cao
Add an option "detail_stats" to ffmpeg to output stats for each video/audio
streams and each ouptut file ffmpeg output log in print_report. The format of
stats is unchanged.
Signed-off-by: Wang Cao
---
doc/ffmpeg.texi | 4
fftools/ffmpeg.
From: Wang Cao
Add an option "detail_stats" to ffmpeg to output stats for each video/audio
streams and each ouptut file ffmpeg output log in print_report. The format of
stats is unchanged.
Signed-off-by: Wang Cao
---
Run after "make fate" and all tests passed.
doc/f
From: Wang Cao
- Add an option "detail_stats" to ffmpeg to output stats for each
video/audio streams and each ouptut file ffmpeg output log in print_report.
- Make print_final_stats only output stats for one output instead of
aggregate stats.
Signed-off-by: Wang Cao
---
When creatin
Friendly ping!
On Tue, Oct 16, 2018 at 3:39 PM Wang Cao wrote:
> From: Wang Cao
>
> - Add an option "detail_stats" to ffmpeg to output stats for each
> video/audio streams and each ouptut file ffmpeg output log in print_report.
> - Make print_final_stats only ou
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 11 +++
libavcodec/libaomenc.c | 7 +++
2 files changed, 18 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e23b6b32fe..a9f5c9fd28 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 39 +++
libavcodec/libaomenc.c | 38 ++
2 files changed, 77 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 4215f237bd..ac00c305d5
Signed-off-by: Wang Cao
---
doc/encoders.texi | 11 +++
libavcodec/libaomenc.c | 7 +++
2 files changed, 18 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e23b6b32fe..4215f237bd 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1508,6 +1508,17
Signed-off-by: Wang Cao
---
doc/encoders.texi | 11 +++
libavcodec/libaomenc.c | 7 +++
2 files changed, 18 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e23b6b32fe..4215f237bd 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1508,6 +1508,17
Signed-off-by: Wang Cao
---
doc/encoders.texi | 39 +++
libavcodec/libaomenc.c | 38 ++
2 files changed, 77 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 4215f237bd..ac00c305d5 100644
--- a/doc
Signed-off-by: Wang Cao
---
doc/encoders.texi | 11 +++
libavcodec/libaomenc.c | 7 +++
2 files changed, 18 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e23b6b32fe..4215f237bd 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1508,6 +1508,17
IM
are two metrics that the library definitely has default support with.
On Tue, Mar 3, 2020 at 2:50 PM Carl Eugen Hoyos wrote:
> Am Di., 3. März 2020 um 22:43 Uhr schrieb Wang Cao :
>
> > +@item tune (@emph{tune})
> > +Set the distortion metric tuned with for encoder. Defaul
Let me reply again with the correct posting form.
On Tue, Mar 3, 2020 at 2:50 PM Carl Eugen Hoyos wrote:
> Am Di., 3. März 2020 um 22:43 Uhr schrieb Wang Cao :
>
> > +@item tune (@emph{tune})
> > +Set the distortion metric tuned with for encoder. Default is PSNR.
>
On Tue, Mar 3, 2020 at 3:53 PM Carl Eugen Hoyos wrote:
> Am Mi., 4. März 2020 um 00:51 Uhr schrieb Wang Cao
> :
>
> [...]
>
> Please find out what "top-posting" means and avoid it here.
>
> Carl Eugen
>
I am very sorry about this my "top-posting&quo
Signed-off-by: Wang Cao
---
The changes are made according to the code review
- Bump the MICRO version
- Use enum for Super resolution mode consts. The original enum in libaom
is not public so a enum is defined and matched the original enum
doc/encoders.texi | 39
Signed-off-by: Wang Cao
---
Made changes according to the review.
- Bump the MICRO version of libavcodec.
- Use enum for 'tune' option consts for better consistency
doc/encoders.texi | 11 +++
libavcodec/libaomenc.c | 7 +++
libavcodec/version.h | 2 +-
3 files c
On Wed, Mar 4, 2020 at 1:38 AM Moritz Barsnick wrote:
> On Wed, Mar 04, 2020 at 05:59:03 +0800, Wang Cao wrote:
> > Signed-off-by: Wang Cao
> > ---
> > doc/encoders.texi | 39 +++
> >
On Wed, Mar 18, 2020 at 6:38 AM James Zern wrote:
> Hi,
>
> On Thu, Mar 5, 2020 at 6:20 PM Wang Cao wrote:
> >
> > Signed-off-by: Wang Cao
> > ---
> > The changes are made according to the code review
> > - Bump the MICRO version
> > - Use enum f
Signed-off-by: Wang Cao
---
doc/encoders.texi | 9 +
libavcodec/libaomenc.c | 7 +++
libavcodec/version.h | 2 +-
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e23b6b32fe..18bfe8f2eb 100644
--- a/doc/encoders.texi
Signed-off-by: Wang Cao
---
doc/encoders.texi | 39 +++
libavcodec/libaomenc.c | 47 ++
libavcodec/version.h | 2 +-
3 files changed, 87 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc
From: Wang Cao
Signed-off-by: Wang Cao
---
Updated to use the enum defined in libaom for super-resolution.
doc/encoders.texi | 39 +++
libavcodec/libaomenc.c | 38 ++
libavcodec/version.h | 2 +-
3 files changed
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 39 +++
libavcodec/libaomenc.c | 38 ++
libavcodec/version.h | 2 +-
3 files changed, 78 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b
Signed-off-by: Wang Cao
---
doc/encoders.texi | 21 +++
libavcodec/libaomenc.c | 47 --
libavcodec/version.h | 2 +-
3 files changed, 63 insertions(+), 7 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index
Signed-off-by: Wang Cao
---
doc/encoders.texi | 21 +
libavcodec/libaomenc.c | 31 +++
libavcodec/version.h | 2 +-
3 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index f052d68c46
Signed-off-by: Wang Cao
---
doc/encoders.texi | 36 +
libavcodec/libaomenc.c | 61 ++
libavcodec/version.h | 2 +-
3 files changed, 98 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index
This patch adds the control for enabling rectangular partitions, 1:4/4:1
partitions and AB shape partitions.
Signed-off-by: Wang Cao
---
doc/encoders.texi | 10 ++
libavcodec/libaomenc.c | 15 +++
libavcodec/version.h | 2 +-
3 files changed, 26 insertions(+), 1
From: Wang Cao
It appears the initial intention was to print stats for the first
output. Currently all output streams are aggregated for the final stats
which is inconsistent with the "size" reported in print_report.
For example, when two outputs are specified, output 0 has size of
From: Wang Cao
* "multiple_output_final_stats" is used to display stats for each output when
ffmpeg completes processing.
* Also refactor to add a new function to print verbose stats for input/output
so that the behavior is same as before by default.
Signed-off-by: Wang Cao
From: Wang Cao
Signed-off-by: Wang Cao
---
Check libaom ABI version to use SUPERRES enum in aom_encoder.h
doc/encoders.texi | 36 +
libavcodec/libaomenc.c | 46 ++
libavcodec/version.h | 2 +-
3 files changed, 83
Signed-off-by: Wang Cao
---
libavcodec/libaomenc.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index e06697c1bf..41a250302d 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -92,6 +92,7 @@ typedef struct
Signed-off-by: Wang Cao
---
doc/encoders.texi | 3 +++
libavcodec/libaomenc.c | 6 ++
2 files changed, 9 insertions(+)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 4ee518a124..56b36c156b 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1587,6 +1587,9 @@ Enable row
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 36 +
libavcodec/libaomenc.c | 46 ++
libavcodec/version.h | 2 +-
3 files changed, 83 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b
Friendly ping here. Is there something I need to change for this patch set?
Any comments are welcome. Thank you!
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or e
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 20
libavcodec/libaomenc.c | 32
libavcodec/version.h | 2 +-
3 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 36 +
libavcodec/libaomenc.c | 60 ++
libavcodec/version.h | 2 +-
3 files changed, 97 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc
Hi,
I am wondering if this is a change that would make unpredictable impact on
the stats report for ffmpeg. If this is the case, can you take a look at my
next patch in the series? It adds an option to print stats for each output
file when enabled. Thank you!
Best,
Wang
__
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 36 +
libavcodec/libaomenc.c | 60 ++
libavcodec/version.h | 2 +-
3 files changed, 97 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc
From: Wang Cao
Signed-off-by: Wang Cao
---
doc/encoders.texi | 20
libavcodec/libaomenc.c | 30 ++
libavcodec/version.h | 2 +-
3 files changed, 51 insertions(+), 1 deletion(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index
output files.
Signed-off-by: Wang Cao
---
fftools/ffmpeg.c | 182 ++-
1 file changed, 101 insertions(+), 81 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 5a19a09d9a..4aa6c1d3e4 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
Sorry the ticket doesn't contain alaw_2.aif as in
https://trac.ffmpeg.org/ticket/1660
On Fri, May 18, 2018 at 8:13 PM, Michael Niedermayer wrote:
> On Fri, May 18, 2018 at 04:54:25PM -0700, Wang Cao wrote:
> > - Make ffmpeg to output stats for each video streams and each ouptut
all output files.
Signed-off-by: Wang Cao
---
fftools/ffmpeg.c | 65
1 file changed, 44 insertions(+), 21 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 5a19a09d9a..0b98521852 100644
--- a/fftools/ffmpeg.c
+++ b/fftools
---
libavformat/yuv4mpegdec.c | 8
libavformat/yuv4mpegenc.c | 37 +++--
2 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
index eff7fc518e..86e8673b2f 100644
--- a/libavformat/yuv4mpegdec
Signed-off-by: Wang Cao
---
fftools/ffmpeg.c | 45 +++--
1 file changed, 31 insertions(+), 14 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index d4ac6903cc..1eaf344552 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1530,17
all output files.
Signed-off-by: Wang Cao
---
fftools/ffmpeg.c | 45 +++--
1 file changed, 31 insertions(+), 14 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index d4ac6903cc..1eaf344552 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
For example: with (-psnr)
frame= 450 fps=315 q=0.0 LPSNR=Y:44.15 U:43.21 V:42.36 *:43.64 size= 385kB
time=00:00:15.01 bitrate= 210.0kbits/s speed=10.5x (video stats)
size= 107kB time=00:00:15.13 bitrate= 58.0kbits/s speed=10.6x (audio stats)
If there are multiple files, stats of the sec
For example: with (-psnr)
frame= 450 fps=315 q=0.0 LPSNR=Y:44.15 U:43.21 V:42.36 *:43.64 size= 385kB
time=00:00:15.01 bitrate= 210.0kbits/s speed=10.5x (video stats)
size= 107kB time=00:00:15.13 bitrate= 58.0kbits/s speed=10.6x (audio stats)
frame= 450 fps=112 q=0.0 LPSNR=Y:44.15 U:43.
all output files.
Signed-off-by: Wang Cao
---
fftools/ffmpeg.c | 47 +--
1 file changed, 33 insertions(+), 14 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index d4ac6903cc..1842ccd543 100644
--- a/fftools/ffmpeg.c
+++ b/fftools
It's in the yuv4mpegenc.c. I added a support for color range by specifying
metadata in the Y4M header.
On Thu, Jun 14, 2018 at 12:19 AM Carl Eugen Hoyos
wrote:
> 2018-06-13 18:03 GMT+02:00, Wang Cao :
>
> > @@ -220,6 +221,12 @@ static int yuv4_read_header(A
800, Wang Cao wrote:
> > Signed-off-by: Wang Cao
> > ---
> > fftools/ffmpeg.c | 45 +++--
> > 1 file changed, 31 insertions(+), 14 deletions(-)
>
> this adds some warnings:
>
> CC fftools/ffmpeg.o
> fftools/ffmpeg.c:15
x.die.net/man/5/yuv4mpeg,
we should be able to use X tag to support color range.
Color range would be good to have to give Y4M more capability to
handle HDR(probably) and other pixel formats (.e.g. YUV420P with
full range).
--
Wang Cao
___
ffmpeg-devel mail
Thanks for pointing this out. I have modified the code according to your
comments.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
all output files.
Signed-off-by: Wang Cao
---
fftools/ffmpeg.c | 52 +---
1 file changed, 36 insertions(+), 16 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index d4ac6903cc..321f7a6017 100644
--- a/fftools/ffmpeg.c
+++ b/fftools
>
> If this is a type we are choosing then it would be probably better
> to use something else than mpeg/jpeg as names
> these are 2 standard comittees and their standards support more than
> one color range.
> maybe "full" and "limited" or some other terms may be better
Thanks for pointing out th
Set pixel format and color_range for YUVJ pixel formats. Also set
color_range based on AVFormatContext.
Signed-off-by: Wang Cao
---
libavformat/yuv4mpegdec.c | 8
libavformat/yuv4mpegenc.c | 37 +++--
2 files changed, 43 insertions(+), 2 deletions
I created a newer version to change "MPEG" to "LIMITED" and "JPEG" to
"FULL".
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Friendly ping. Thanks!
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
i, Jun 29, 2018 at 1:58 PM Michael Niedermayer
wrote:
> On Fri, Jun 22, 2018 at 04:03:38PM +0800, Wang Cao wrote:
> > Make ffmpeg to output stats for each video/audio streams and each ouptut
> file ffmpeg output log in print_report. The report of video/audio sizes is
> clear now as
ext with "frame, fps, time".
For bitrate, I use the stream size to calculate it and I think it's more
accurate.
On Thu, Jul 12, 2018 at 5:01 AM Michael Niedermayer
wrote:
> On Wed, Jul 11, 2018 at 03:47:45PM -0700, Wang Cao wrote:
> > >
> > > This changes the pr
ze not the file size.
On Thu, Jul 12, 2018 at 2:18 PM Carl Eugen Hoyos wrote:
> 2018-07-12 20:56 GMT+02:00, Wang Cao :
>
> > After my change:
> >
> >> frame=3 fps=0.0 q=2.0 Lsize= 51kB time=00:00:00.12
> >> bitrate=3495.7kbits/s speed= 12x
> >
ut stats for each video/audio stream one line by
another. It seems this would be a huge change to users who are not
aware. Keeping the old file bitrate looks good to me. Can I extend
this to output file bitrate for each output file?
--
Wang Cao
___
The change in the commit will add some samples to the end of the audio
stream. The intention is to add a "zero_delay" option eventually to not
have the delay in the begining the output from alimiter due to
lookahead.
Signed-off-by: Wang Cao
---
doc/filters.texi | 5
l
The change essentially removes the delay introduces by lookahead buffer.
The valid audio data in the internal buffer is also flushed to ensure
the integrity of output.
Signed-off-by: Wang Cao
---
doc/filters.texi | 2 -
libavfilter/af_alimiter.c | 97 +-
tests/ref/fate
On Mon, Apr 4, 2022 at 3:28 PM Marton Balint wrote:
>
>
> On Mon, 4 Apr 2022, Paul B Mahol wrote:
>
> > On Sun, Mar 27, 2022 at 11:41 PM Marton Balint wrote:
> >
> >>
> >>
> >> On Sat, 26 Mar 2022, Wang Cao wrote:
> >>
> >>>
On Thu, Apr 7, 2022 at 12:44 AM Paul B Mahol wrote:
> On Wed, Apr 6, 2022 at 1:49 PM Paul B Mahol wrote:
>
> >
> >
> > On Tue, Apr 5, 2022 at 8:57 PM Wang Cao <
> wangcao-at-google@ffmpeg.org>
> > wrote:
> >
> >&g
On Fri, Apr 8, 2022 at 11:40 AM Paul B Mahol wrote:
> On Thu, Apr 7, 2022 at 11:56 PM Wang Cao >
> wrote:
>
> > On Thu, Apr 7, 2022 at 12:44 AM Paul B Mahol wrote:
> >
> > > On Wed, Apr 6, 2022 at 1:49 PM Paul B Mahol wrote:
> > >
> > > &g
On Sat, Apr 9, 2022 at 5:35 AM Paul B Mahol wrote:
> On Fri, Apr 8, 2022 at 10:41 PM Wang Cao >
> wrote:
>
> > On Fri, Apr 8, 2022 at 11:40 AM Paul B Mahol wrote:
> >
> > > On Thu, Apr 7, 2022 at 11:56 PM Wang Cao <
> > wangcao-at-google@ffmpeg.org
On Tue, Apr 12, 2022 at 12:40 PM Paul B Mahol wrote:
> On Mon, Apr 11, 2022 at 10:59 PM Wang Cao <
> wangcao-at-google@ffmpeg.org>
> wrote:
>
> > On Sat, Apr 9, 2022 at 5:35 AM Paul B Mahol wrote:
> >
> > > On Fri, Apr 8, 2022 at 10:41 PM Wang Cao
passthrough filter, all audio samples are properly handled from the
input to the output.
Signed-off-by: Wang Cao
---
doc/filters.texi| 5 +++
libavfilter/af_alimiter.c | 74 +
tests/fate/filter-audio.mak | 12 ++
3 files changed, 91
On Tue, Apr 12, 2022 at 12:40 PM Paul B Mahol wrote:
> On Mon, Apr 11, 2022 at 10:59 PM Wang Cao <
> wangcao-at-google@ffmpeg.org>
> wrote:
>
> > On Sat, Apr 9, 2022 at 5:35 AM Paul B Mahol wrote:
> >
> > > On Fri, Apr 8, 2022 at 10:41 PM Wang Cao
On Fri, Apr 15, 2022 at 11:50 AM Wang Cao wrote:
> 1. The option also flushes all the valid audio samples in the lookahead
>buffer so the audio integrity is preserved. Previously the the output
>audio will lose the amount of audio samples equal to the size of
>lookahea
Also added 2 FATE tests to verify delay is compenated correctly
Signed-off-by: Wang Cao
---
doc/filters.texi| 5 +++
libavfilter/af_alimiter.c | 90 +
tests/fate/filter-audio.mak | 24 --
3 files changed, 116 insertions(+), 3 deletions
On Mon, May 2, 2022 at 1:24 AM Paul B Mahol wrote:
> On Fri, Apr 29, 2022 at 10:49 PM Wang Cao <
> wangcao-at-google@ffmpeg.org>
> wrote:
>
> > On Fri, Apr 15, 2022 at 11:50 AM Wang Cao wrote:
> >
> > > 1. The option also flushes all the valid audio s
On Thu, May 5, 2022 at 2:14 PM Wang Cao wrote:
> Also added 2 FATE tests to verify delay is compenated correctly
>
> Signed-off-by: Wang Cao
> ---
> doc/filters.texi| 5 +++
> libavfilter/af_alimiter.c | 90 +
> tests/
It is possible that the actual audio data only occupy part of the last audio
frame. This can be signaled by duration in the "trun" atom. We should respect
the metadata of file and set the duration correctly.
---
libavformat/mov.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-
73 matches
Mail list logo