> 2021年6月16日 上午9:56,Lingjiang Fang 写道:
>
> On Tue, 15 Jun 2021 11:42:44 +0800
> Steven Liu wrote:
>
>> Thilo Borgmann 于2021年6月15日周二
>> 上午3:14写道:
>>>
>>> Am 08.06.21 um 18:42 schrieb Thilo Borgmann:
Hi,
add %{localtime_ms} function to the drawtext filter. Same as
On Tue, 15 Jun 2021 11:42:44 +0800
Steven Liu wrote:
> Thilo Borgmann ??2021??6??15??
> 3:14??
> >
> > Am 08.06.21 um 18:42 schrieb Thilo Borgmann:
> > > Hi,
> > >
> > > add %{localtime_ms} function to the drawtext filter. Same as
> > > %{localtime} but with additional millisecond
On Tue, Jun 15, 2021 at 10:18 AM Michael Niedermayer
wrote:
>
> On Mon, Jun 14, 2021 at 02:50:32PM -0300, James Almer wrote:
> > On 6/14/2021 1:56 PM, Michael Niedermayer wrote:
> > > On Fri, Jun 11, 2021 at 10:30:48PM +0200, Diederick Niehorster wrote:
> > > > Enabled discovering a DirectShow
Mohammad Izadi:
> HDR10+ metadata is stored in the bit stream for HEVC. The story is different
> for VP9 and cannot store the metadata in the bit stream. HDR10+ should be
> passed to packet side data an stored in the container (mkv) for VP9.
>
> This CL is taking HDR10+ from AVFrame side data
Thanks,
Mohammad
On Mon, Jun 14, 2021 at 5:17 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Mohammad Izadi:
> > On Thu, Jun 10, 2021 at 4:05 PM Andreas Rheinhardt <
> > andreas.rheinha...@outlook.com> wrote:
> >
> >> Mohammad Izadi:
> >>> HDR10+ metadata is stored in the bit
Thanks,
Mohammad
On Mon, Jun 14, 2021 at 4:42 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Mohammad Izadi:
> > HDR10+ metadata is stored in the bit stream for HEVC. The story is
> different for VP9 and cannot store the metadata in the bit stream. HDR10+
> should be passed to
HDR10+ metadata is stored in the bit stream for HEVC. The story is different
for VP9 and cannot store the metadata in the bit stream. HDR10+ should be
passed to packet side data an stored in the container (mkv) for VP9.
This CL is taking HDR10+ from AVFrame side data in libvpxenc and is passing
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/aaxdec.c | 83 ++--
1 file changed, 27 insertions(+), 56 deletions(-)
diff --git a/libavformat/aaxdec.c b/libavformat/aaxdec.c
index 0cbf933dfd..38d57d36c2 100644
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/xmv.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index 36816ec005..fbe0f484e2 100644
--- a/libavformat/xmv.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/webvttdec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c
index a4654034ac..52320ba7d1 100644
--- a/libavformat/webvttdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/wc3movie.c | 33 ++---
1 file changed, 10 insertions(+), 23 deletions(-)
diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c
index dfb2462072..fe2d0d4245 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/vplayerdec.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/vplayerdec.c b/libavformat/vplayerdec.c
index f6c2b35ea7..8c9ff81163 100644
--- a/libavformat/vplayerdec.c
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/vividas.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index a7deab0e51..8d1c1dab29 100644
--- a/libavformat/vividas.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/vapoursynth.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/vapoursynth.c b/libavformat/vapoursynth.c
index 4ec4e77b59..1578a6ac77 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/tiertexseq.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c
index 164a75bd53..ecc15e4039 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/tedcaptionsdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/tedcaptionsdec.c b/libavformat/tedcaptionsdec.c
index 8bebaba5c0..4bf93e26e2 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/subviewer1dec.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/subviewer1dec.c b/libavformat/subviewer1dec.c
index d1ba99f984..f1267031f8 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/subviewerdec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/subviewerdec.c b/libavformat/subviewerdec.c
index 9bb7728407..2ef3c088eb 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/stldec.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/stldec.c b/libavformat/stldec.c
index 7b7c98577d..48e18d865e 100644
--- a/libavformat/stldec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/srtdec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c
index fa52b85566..2f8a677b9f 100644
--- a/libavformat/srtdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/sierravmd.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 13304b0596..e35faae50d 100644
--- a/libavformat/sierravmd.c
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/segafilm.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index 05b4d9e6a8..ce1166a05b 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/sccdec.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c
index 5ad21a1f8b..e59e015bbc 100644
--- a/libavformat/sccdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/samidec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/samidec.c b/libavformat/samidec.c
index 8f97cb7331..c23335cf4d 100644
--- a/libavformat/samidec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/rmdec.c | 56 -
1 file changed, 20 insertions(+), 36 deletions(-)
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 68b5c3b75a..771c1778fa 100644
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/pp_bnk.c | 30 ++
1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/libavformat/pp_bnk.c b/libavformat/pp_bnk.c
index 9455a575b7..c500ac7d9e 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/realtextdec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/realtextdec.c b/libavformat/realtextdec.c
index 22fc58bc99..f3876d4068 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/pjsdec.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/pjsdec.c b/libavformat/pjsdec.c
index 40d820a8d6..1fc16831ea 100644
--- a/libavformat/pjsdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/paf.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/libavformat/paf.c b/libavformat/paf.c
index f48b2e60cd..2d2d7f8dd8 100644
--- a/libavformat/paf.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/omadec.c | 24
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 8891cfc4b6..d2f7408709 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/oggdec.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index e5ca3272cd..bb289e0756 100644
--- a/libavformat/oggdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/nutdec.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index e709257135..0ddc552c21 100644
--- a/libavformat/nutdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/nsvdec.c | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 7dcc218546..ec73cb7f48 100644
--- a/libavformat/nsvdec.c
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/mxfdec.c | 23 +++
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 7b40076fb4..16f5052452 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/mpsubdec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/mpsubdec.c b/libavformat/mpsubdec.c
index ee53be17d6..abf0e7fb9a 100644
--- a/libavformat/mpsubdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/mpl2dec.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/mpl2dec.c b/libavformat/mpl2dec.c
index b99acff157..0beb9ca388 100644
--- a/libavformat/mpl2dec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag. Furthermore, also remove
an unnecessary check for NULL before avformat_close_input().
Signed-off-by: Andreas Rheinhardt
---
libavformat/mpeg.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/libavformat/mpeg.c
By default, a demuxer's read_close function is not called automatically
if an error happens when reading the header; instead it is up to the
demuxer to clean up after itself in this case. The mov demuxer did this
by calling its read_close function when it encountered some errors when
reading the
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/mlvdec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index 998bf42dd6..6a3aa15a4e 100644
--- a/libavformat/mlvdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/microdvddec.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c
index 3c45c72595..e536d12b85 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/mccdec.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavformat/mccdec.c b/libavformat/mccdec.c
index a096ac6e93..d206fc2d62 100644
--- a/libavformat/mccdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/matroskadec.c | 29 ++---
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 356a02339c..10c1641eb7 100644
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/lrcdec.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/lrcdec.c b/libavformat/lrcdec.c
index 678b618498..309014d630 100644
--- a/libavformat/lrcdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/libopenmpt.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/libavformat/libopenmpt.c b/libavformat/libopenmpt.c
index 628b0939dc..d04aec5471 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/libgme.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/libavformat/libgme.c b/libavformat/libgme.c
index 95323002e6..6a145349a7 100644
--- a/libavformat/libgme.c
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/dashdec.c | 34 +-
1 file changed, 13 insertions(+), 21 deletions(-)
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index bc27c96c97..11966f905c 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/jvdec.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c
index 948cab37e5..a044f50831 100644
--- a/libavformat/jvdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/jacosubdec.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c
index c8bded02fe..510219224f 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/icodec.c | 21 -
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/libavformat/icodec.c b/libavformat/icodec.c
index 9349582ffc..2e677c78f1 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/hls.c | 34 ++
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index c2ca23e973..3c1b80f60c 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
(Btw: concat_read_close() is not idempotent (it frees cat->files, but
doesn't reset cat->nb_files), so this demuxer was incompatible with
simply calling read_close generically upon read_header failure.)
Signed-off-by: Andreas Rheinhardt
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/aqtitledec.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/libavformat/aqtitledec.c b/libavformat/aqtitledec.c
index de28097f2f..a37c9bbeaf 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/brstm.c | 44 +++-
1 file changed, 15 insertions(+), 29 deletions(-)
diff --git a/libavformat/brstm.c b/libavformat/brstm.c
index 601f73dd33..338491d9ef 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/ape.c | 21 ++---
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/libavformat/ape.c b/libavformat/ape.c
index a4cfd01807..b6f9be4dbc 100644
--- a/libavformat/ape.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/av1dec.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c
index 8ca804c2a3..f282477ca4 100644
--- a/libavformat/av1dec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/assdec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index 4a9650fe76..5f71fcb024 100644
--- a/libavformat/assdec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/avidec.c | 31 +--
1 file changed, 13 insertions(+), 18 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 14a2dd6cd7..39039f5bc9 100644
---
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/aadec.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/libavformat/aadec.c b/libavformat/aadec.c
index 70df0439bd..247c498147 100644
--- a/libavformat/aadec.c
+++
by setting the FF_FMT_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt
---
libavformat/4xm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index 427eaaddd0..f918b1fc57 100644
--- a/libavformat/4xm.c
+++ b/libavformat/4xm.c
@@
If reading the header fails, the demuxer's read_close() function (if
existing) is not called automatically; instead several demuxers call it
via "goto fail" in read_header().
This commit intends to change this by adding an internal flag for
demuxers that can be used to set on a per-AVInputFormat
On Wed, Jun 16, 2021 at 12:23 AM James Almer wrote:
>
> I guess a configure option to look for the API used by this patch would
> be needed, making this new code optional.
No need luckily, i have a workaround for all but the
AMCONTROL_COLORINFO_PRESENT symbol. I'll define that one if not
already
James Almer:
> On 6/15/2021 8:01 PM, Andreas Rheinhardt wrote:
>> Both AVInputFormat and AVOutputFormat currently lack an equivalent to
>> AVCodec's caps_internal. E.g. if reading a header fails, each demuxer
>> is currently required to clean up manually, which often means to just
>> call the
On 6/15/2021 8:01 PM, Andreas Rheinhardt wrote:
Both AVInputFormat and AVOutputFormat currently lack an equivalent to
AVCodec's caps_internal. E.g. if reading a header fails, each demuxer
is currently required to clean up manually, which often means to just
call the demuxer's read_close
Sorry for not giving the proper description! Here it is:
The spdif is based on blocks with fixed length, each block starts with a
sync word. It matters how many sync words we find during probe and whether
we find them in expected place. The SPDIF_MAX_OFFSET constant is the
maximum supported block
Both AVInputFormat and AVOutputFormat currently lack an equivalent to
AVCodec's caps_internal. E.g. if reading a header fails, each demuxer
is currently required to clean up manually, which often means to just
call the demuxer's read_close function. This could (and will) be done
generically via an
On 6/15/2021 5:18 AM, Michael Niedermayer wrote:
On Mon, Jun 14, 2021 at 02:50:32PM -0300, James Almer wrote:
On 6/14/2021 1:56 PM, Michael Niedermayer wrote:
On Fri, Jun 11, 2021 at 10:30:48PM +0200, Diederick Niehorster wrote:
Enabled discovering a DirectShow device's color range, space,
On Tue, Jun 15, 2021 at 12:52 PM Denis Shulyaka wrote:
>
> Hi! How do I ask for a review? I am new here.
>
A short explanation of what the problem is and why this change fixes
it would help us to understand and evaluate the patch - and generally
makes for better patches, as any future reader
Ah, good spot Moritz. I found a few more spots where I wasn't consistent
with current formatting. Here are the updated patches.
Kind regards,
Dennis Fleurbaaij
On Tue, Jun 15, 2021 at 2:26 PM Moritz Barsnick wrote:
> On Wed, Jun 09, 2021 at 19:25:41 +0200, Dennis Fleurbaaij wrote:
> >
Am So., 11. Apr. 2021 um 15:56 Uhr schrieb Denis Shulyaka :
>
> This patch fixes the detection score for spdif (IEC61937).
>
> Signed-off-by: Denis Shulyaka
> ---
> libavformat/spdifdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/spdifdec.c
On Tue, Jun 15, 2021 at 12:41:33AM +0200, Andreas Rheinhardt wrote:
> Currently every symbol (with external linkage) that starts with "av" is
> exported. Yet libaom-av1 has lots of functions that are not meant to be
> exported and start with "av1_" (I counted 1236); and libvpx has
>
On Wed, Jun 09, 2021 at 19:25:41 +0200, Dennis Fleurbaaij wrote:
> OBJS-$(CONFIG_R10K_ENCODER)+= r210enc.o
> OBJS-$(CONFIG_R210_DECODER)+= r210dec.o
> +OBJS-$(CONFIG_R12B_DECODER)+= r12bdec.o
> OBJS-$(CONFIG_R210_ENCODER)+= r210enc.o
I'm sure
Hi! How do I ask for a review? I am new here.
вс, 11 апр. 2021 г. в 16:56, Denis Shulyaka :
> This patch fixes the detection score for spdif (IEC61937).
>
> Signed-off-by: Denis Shulyaka
> ---
> libavformat/spdifdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
On Mon, Jun 14, 2021 at 02:50:32PM -0300, James Almer wrote:
> On 6/14/2021 1:56 PM, Michael Niedermayer wrote:
> > On Fri, Jun 11, 2021 at 10:30:48PM +0200, Diederick Niehorster wrote:
> > > Enabled discovering a DirectShow device's color range, space, primaries,
> > > transfer characteristics
option 'scaling' accepts one of low_power and hq
$ ffmpeg -init_hw_device qsv -hwaccel qsv -c:v h264_qsv -i input.h264
-vf "vpp_qsv=scaling=hq" -f null -
---
libavfilter/vf_vpp_qsv.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavfilter/vf_vpp_qsv.c
NV12 is added in system memory and the command below may work now.
$ ffmpeg -init_hw_device qsv -c:v h264_qsv -i input.h264 -vf
deinterlace_qsv -f null -
---
libavfilter/vf_vpp_qsv.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c
Allow user to set async depth for deinterlace_qsv
---
libavfilter/vf_vpp_qsv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index ba7d3488f1..99659a5523 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -713,6 +713,7
All features are implemented in vpp_qsv filter now, so deinterlace_qsv
can be taken as a specical case of vpp_qsv filter, we re-use VPPContext
with a different option array and pix formats for deinterlace_qsv filter
---
libavfilter/Makefile | 2 +-
libavfilter/vf_deinterlace_qsv.c |
---
libavfilter/vf_vpp_qsv.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 29ba220665..cde1acdbb0 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -255,10 +255,16 @@ static int
NV12 and P010 are added
$ ffmpeg -init_hw_device qsv -c:v h264_qsv -i input.h264 -vf
"scale_qsv=format=p010" -f null -
---
libavfilter/vf_vpp_qsv.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index
Allow user to set crop area and async depth
---
libavfilter/vf_vpp_qsv.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 03785e9398..bceee8c4df 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -675,6
Like what we did for scale_qsv filter, we use QSVVPPContext as a base
context to manage MFX session for deinterlace_qsv filter
---
libavfilter/vf_deinterlace_qsv.c | 492 ++-
1 file changed, 30 insertions(+), 462 deletions(-)
diff --git
This is in preparation for re-using VPPContext but with a different
option array for deinterlacing_qsv filter
---
libavfilter/vf_vpp_qsv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index cdf1f61b0f..45ac761d06 100644
---
libavfilter/vf_vpp_qsv.c | 195 +--
1 file changed, 86 insertions(+), 109 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index dd3afb5e10..03785e9398 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@
Set the expected default value for options in this callback, hence we
have the right values even if these options are not included in the
option arrray. This is in preparation for re-using VPPContext but with a
different option array for other QSV filters
---
libavfilter/vf_vpp_qsv.c | 14
All features are implemented in vpp_qsv filter, scale_qsv can be taken
as a special case of vpp_qsv filter now, we re-use VPPContext with a
different option arrary and pixel formats
---
libavfilter/Makefile | 2 +-
libavfilter/vf_scale_qsv.c | 334 -
When the SDK returns MFX_ERR_MORE_SURFACE, the PTS is not set for the
output frame. We assign a PTS calculated from the input frame to the
output frame. After applying this patch, we may avoid the error below:
[null @ 0x56395cab4ae0] Application provided invalid, non monotonically
increasing dts
Currently the returned value from MFXVideoVPP_RunFrameVPPAsync() is
overridden, so the check of 'ret == MFX_ERR_MORE_SURFACE' is always
false when MFX_ERR_MORE_SURFACE is returned from
MFXVideoVPP_RunFrameVPPAsync()
---
libavfilter/qsvvpp.c | 11 ---
1 file changed, 8 insertions(+), 3
After this patch, the scaling mode will be passed to the SDK when the
scaling mode is not equal to the default mode. This is in preparation
for re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff
Also fix the coding style for VAR index. This is in preparation for
re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index
This is in preparation for re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 78 +---
1 file changed, 32 insertions(+), 46 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 7afbb3c983..c9a7b0ceb9 100644
Special values are:
0 = original width/height
-1 = keep original aspect
This is in preparation for re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 47 ++--
1 file changed, 40 insertions(+), 7 deletions(-)
diff --git
This is in preparation for re-using VPPContext but with a different
option array for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 36
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index
PI, PHI and E are defined in FFmpeg
---
libavfilter/vf_scale_qsv.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 77a782aa58..f8e937e40e 100644
--- a/libavfilter/vf_scale_qsv.c
+++ b/libavfilter/vf_scale_qsv.c
@@ -44,9
Use QSVVPPContext as a base context of QSVScaleContext, hence we may
re-use functions defined for QSVVPPContext to manage MFX session for
scale_qsv filter too. Because system memory is taken into account in
QSVVVPPContext, we may add support for non-QSV pixel formats in the
future
---
The same members between QSVVPPContext and VPPContext are removed from
VPPContext, and async_depth is moved from QSVVPPParam to QSVVPPContext
so that all QSV filters using QSVVPPContext may support async depth. In
addition we may use QSVVPPContext as base context in other QSV filters
in the
Haihao Xiang (22):
lavfi/qsv: use QSVVPPContext as base context in
vf_vpp_qsv/vf_overlay_qsv
lavfi/scale_qsv: simplify scale_qsv filter
lavfi/scale_qsv: don't need variables for constants in FFmpeg
lavfi/vpp_qsv: add "a", "dar" and "sar" variables
lavfi/vpp_qsv: handle NULL pointer
96 matches
Mail list logo