From: Aman Gupta
Currently only flv and asf decoders attempt to use pb->read_seek,
by calling avio_read_seek() expliclity.
This change allows avformat users to specify a custom AVIOContext
with a read_seek callback, and have it be used with any format
whenever av_seek_frame() is invo
From: Aman Gupta
Previously, the initial seek position was recorded into
old_offset at the beginning of avformat_find_stream_info(),
and passed into estimate_timings(). In the case of mpegts
with a known filesize, it was further passed into
estimate_timings_from_pts() which called avio_seek
On Tue, Apr 9, 2019 at 9:49 PM Hendrik Leppkes wrote:
> On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote:
> >
> > From: Aman Gupta
> >
> > Previously, the initial seek position was recorded into
> > old_offset at the beginning of avformat_find_s
On Wed, Apr 10, 2019 at 1:00 AM Hendrik Leppkes wrote:
> On Wed, Apr 10, 2019 at 9:55 AM Aman Gupta wrote:
> >
> > On Tue, Apr 9, 2019 at 9:49 PM Hendrik Leppkes
> wrote:
> >
> > > On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote:
> > > >
> &g
On Sat, Apr 13, 2019 at 3:25 AM der richter wrote:
> From: fumoboy007
>
> this patch was originally posted on issue #7704 and was slightly
> adjusted to check for the availability of the pixel format.
> ---
> configure | 2 ++
> fftools/ffmpeg_videotoolbox.c | 3
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavformat/mpegts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 8a84e5cc19..49e282903c 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -3198,9 +3198,9
From: Aman Gupta
Previously the code assumed that stream_identifier was unique per stream
in the PMT, as suggested by the spec. However, I found some samples from
Finland MTV3 where this is not the case.
PID 0231 ( 561) -> Stream type 04 ( 4) 13818-3 audio (MPEG-2)
ES info
On Thu, May 2, 2019 at 1:20 AM Matthieu Bouron
wrote:
> On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote:
> > Avoids returning EAGAIN after signaling EOF to the codec in
> > ff_mediacodec_dec_send() so we can try to receive a frame before
> > returning in mediacodec_receive_frame()
On Tue, Jul 9, 2019 at 2:07 PM Marton Balint wrote:
> merge_pmt_versions was not usable if multiple programs were present because
> when it was searching for candidate streams it did not make sure that the
> PMT was
> of the same program. This caused the streams of all programs to get merged
> in
On Wed, Jun 26, 2019 at 4:25 AM wrote:
> From: Limin Wang
>
> Below is the testing ffmpeg command for the setting:
> ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color_primaries bt2020
> -colorspace bt2020_ncl -color_trc smpte2084 smpte2048.ts
> ./ffmpeg -i input.ts -c:v hevc_videotoolbox -color
From: Aman Gupta
When using `ffprobe -show_format -show_streams -show_packets`,
it makes more sense to omit static data about the file format
and streams before the long list of packets instead of at the
end.
Signed-off-by: Aman Gupta
---
fftools/ffprobe.c | 38
On Sun, Mar 25, 2018 at 10:41 AM Mark Thompson wrote:
> Supports closed captions, active format and bar data as defined by
> SCTE 128 part 1 or A/53 part 4, suitable for use with both MPEG-2
> and H.264.
> ---
> libavcodec/cbs_misc.c | 216
> ++
>
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/vaapi_encode_h264.c | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index f4965d8b09..f66e483b7f 100644
--- a
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/vaapi_encode_h264.c | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index f4965d8b09..9860bacb91 100644
--- a/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/vaapi_encode_h264.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index f4965d8b09..280bd4752b 100644
--- a/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/vaapi_encode_h264.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index f4965d8b09..f3da3ee299 100644
--- a/libavcodec
On Thu, Dec 20, 2018 at 12:46 PM Mark Thompson wrote:
> This attaches the logic of picking the mode of for the next picture to
> the output, which simplifies some choices by removing the concept of
> the picture for which input is not yet available. At the same time,
> we allow more complex refe
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/vaapi_encode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index e69b59fa37..2fb43cf1a4 100644
--- a/libavcodec/vaapi_encode.c
+++ b/libavcodec/vaapi_encode.c
From: Aman Gupta
The hardware encoder on these chipsets produces very low bitrates
in VBR mode if it receives VAEncMiscParameterTypeRateControl more than once.
/cc intel/intel-vaapi-driver#480
Signed-off-by: Aman Gupta
---
libavcodec/vaapi_encode.c | 8 +++-
libavutil
From: Aman Gupta
This is a regression from 2562dd9e7831743ba6dc5680501fb7d26a2ec62c
which surfaces a pathological bug in the Intel Broxton/CherryView
hardware encoders, causing very low bitrates to be generated
whenever VBR mode is used.
/cc intel/intel-vaapi-driver#480
Signed-off-by: Aman
From: Aman Gupta
On some Intel chips, sending VAEncMiscParameterTypeRateControl multiple
times causes the encoder to produce very low bitrates that do not match
the requested rate controls.
This is a regression as of af532c921575eb8ee805cc2c64a914f6302442e1. Prior
to that global params were
From: Aman Gupta
This is a regression from 2562dd9e7831743ba6dc5680501fb7d26a2ec62c
which surfaces a pathological bug in some Intel hardware encoders,
causing very low bitrates to be generated whenever VBR mode is used.
/cc intel/intel-vaapi-driver#480
Signed-off-by: Aman Gupta
On Tue, Aug 13, 2019 at 7:01 PM Fu, Linjie wrote:
> > -Original Message-
> > From: Fu, Linjie
> > Sent: Friday, August 2, 2019 17:54
> > To: ffmpeg-devel@ffmpeg.org
> > Cc: Fu, Linjie
> > Subject: [PATCH] lavf/vf_deinterlace_vaapi: flush queued frame in field
> > mode
> >
> > Add deint_v
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/omx.c | 20
1 file changed, 20 insertions(+)
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index a1e5a46a54..8c722b573c 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -802,6 +802,26 @@ static int
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c
index 427e165f58..7d65747df2 100644
--- a/libavcodec/v4l2_m2m.c
+++ b/libavcodec/v4l2_m2m.c
@@ -76,7 +76,9
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c
index 334ba0a038..746ae96a21 100644
--- a/libavcodec/v4l2_m2m.c
+++ b/libavcodec/v4l2_m2m.c
@@ -67,7 +67,7
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c
index be13f68707..334ba0a038 100644
--- a/libavcodec/v4l2_m2m.c
+++ b/libavcodec/v4l2_m2m.c
@@ -135,6 +135,7
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c
index 7d65747df2..be13f68707 100644
--- a/libavcodec/v4l2_m2m.c
+++ b/libavcodec/v4l2_m2m.c
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_context.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c
index efcb0426e4..4958c634bf 100644
--- a/libavcodec/v4l2_context.c
+++ b/libavcodec
From: Dave Stevenson
The single planar support was for NV21 only.
Add NV21 and YUV420P support.
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 3f9b8b5e31
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 43 +++
1 file changed, 35 insertions(+), 8 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 4f889509f9..3f9b8b5e31 100644
--- a/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/omx.c | 20
1 file changed, 20 insertions(+)
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index a1e5a46a54..8c722b573c 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -802,6 +802,26 @@ static int
From: Aman Gupta
Signed-off-by: Aman Gupta
Signed-off-by: Martin Storsjö
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 84dcb411f1..7f60ef0021 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -213,6 +213,7 @@ Codecs:
msvideo1.c
conditional on the Pi build in case
other IL implementations don't handle ENDOFFRAME correctly.
Signed-off-by: Dave Stevenson
Signed-off-by: Aman Gupta
---
libavcodec/omx.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
From: Aman Gupta
fixes https://trac.ffmpeg.org/ticket/6586
Signed-off-by: Aman Gupta
---
libavcodec/omx.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index 8c722b573c..1a9a0715f8 100644
--- a/libavcodec/omx.c
+++ b/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 4 ++--
libavcodec/v4l2_buffers.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index aef911f3bb..4f889509f9 100644
--- a/libavcodec
On Wed, Aug 14, 2019 at 3:53 AM Pavel Koshevoy wrote:
> On Tue, Aug 6, 2019 at 8:50 PM Pavel Koshevoy wrote:
> >
> > vtctx->cached_hw_frames_ctx is unref'd in videotoolbox_uninit,
> > but videotoolbox_hevc used ff_videotoolbox_uninit which
> > doesn't unref cache_hw_frames_ctx.
> > ---
> > liba
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/avpacket.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
index 002fa0f513..e160ad3033 100644
--- a/libavcodec/avpacket.c
+++ b/libavcodec/avpacket.c
@@ -580,10
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/cbs_h264_syntax_template.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/cbs_h264_syntax_template.c
b/libavcodec/cbs_h264_syntax_template.c
index 32e6acd68e..106da0630e 100644
--- a/libavcodec
From: Aman Gupta
Fixes crash noticed in the cbs_metadata patchset.
ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60926c89 at
pc 0x00010725d37b bp 0x7ffeea04e750 sp 0x7ffeea04e748
READ of size 4 at 0x60926c89 thread T0
#0 0x10725d37a in ff_cbs_read_unsigned
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/cbs_h2645.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index ab33cdb69b..13e4c1561c 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -521,7
From: Aman Gupta
[ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10).
Signed-off-by: Aman Gupta
---
libavcodec/cbs_h2645.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 13e4c1561c..2c7faf36e7 100644
--- a
On Tue, Oct 16, 2018 at 2:08 PM Mark Thompson wrote:
> Any of these buffers (for both H.264 and H.265) might reasonably be
> parsed using the bitstream reader, so include padding on all of them.
> ---
> This seems simpler than adding it to specific cases as problems are found.
>
>
Entire patchset
On Thu, Oct 11, 2018 at 10:03 PM myp...@gmail.com wrote:
> On Fri, Oct 12, 2018 at 12:02 PM Aman Gupta wrote:
> >
> > From: Aman Gupta
> >
> > Signed-off-by: Aman Gupta
> > ---
> > libavcodec/cbs_h2645.c | 3 ++-
> > 1 file changed, 2 inse
On Tue, Jul 31, 2018 at 6:34 PM Aman Gupta wrote:
> From: Aman Gupta
>
> The existing av_mediacodec_release_buffer allows the user to render
> or discard the Surface-backed frame. This new method allows the user
> to control exactly when the frame will be rendered to i
On Fri, May 15, 2020 at 12:04 AM Martin Storsjö wrote:
> On Tue, 12 May 2020, Martin Storsjö wrote:
>
> > From: wm4
> >
> > This contains encoder wrappers for H264, HEVC, AAC, AC3 and MP3.
> >
> > This is based on top of an original patch by wm4
> > . The original patch supported both encoding
>
From: Aman Gupta
Signed-off-by: Aman Gupta
Signed-off-by: Jorge Ramirez-Ortiz
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7f60ef0021..f83d543321 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -243,7 +243,7 @@ Codecs
From: Aman Gupta
Integer overflow in the Q16 framerate calculation was sending
invalid values to the OMX encoder.
On the RPI4, this manifested as bitrate controls being ignored
on video streams with 6/1001 framerates. Video streams with
3/1001 framerates were not affected.
Signed-off
On Thu, Aug 29, 2019 at 5:56 PM Limin Wang wrote:
> On Thu, Aug 29, 2019 at 05:30:25PM -0700, Aman Gupta wrote:
> > From: Aman Gupta
> >
> > Integer overflow in the Q16 framerate calculation was sending
> > invalid values to the OMX encoder.
> >
> >
On Thu, Aug 29, 2019 at 2:47 PM Jorge Ramirez
wrote:
> On 8/29/19 22:23, Aman Gupta wrote:
> > From: Aman Gupta
>
>
> lets discuss this a bit further. I havent been very active in the past
> due to personal reasons and there might be others willing to take on
> full ma
On Thu, Aug 29, 2019 at 10:30 PM Nicolas George wrote:
> Aman Gupta (12019-08-29):
> > > > -in_port_params.format.video.xFramerate = (1 << 16) *
> > > avctx->framerate.num / avctx->framerate.den;
> > > > +in_port_params.format.video
On Mon, Sep 2, 2019 at 12:27 AM Pavel Koshevoy wrote:
> ff_v4l2_m2m_create_context initialized V4L2m2mContext.fd to 0
> which is a valid file descriptor value. Next ff_v4l2_m2m_codec_init
> failed and v4l2_m2m_destroy_context closed file descriptor 0 even
> though it didn't belong to V4L2m2mConte
From: Lukas Rusak
This just makes the M2MDEC_CLASS similar to how it is done in rkmpp. It looks
clean and has proper indentation
---
libavcodec/v4l2_m2m_dec.c | 45 ---
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/libavcodec/v4l2_m2m_dec.c b
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 76 +++
1 file changed, 45 insertions(+), 31 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 4982fc564e..784ea94d4c 100644
--- a/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 23 ++-
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 784ea94d4c..721e01420b 100644
--- a/libavcodec/v4l2_buffers.c
+++ b
From: Aman Gupta
Frames are generally dequeued into capture buffers, so using
the output properties here was incorrect. It happened to work
fine for decoding, since the output/capture buffers have the same
dimensions.
For the v4l2 scaler, the dimensions can be different between output
and
From: Aman Gupta
Based on patchset submitted to ffmpeg-devel by Lukas Rusak
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m_dec.c | 85 ---
1 file changed, 80 insertions(+), 5 deletions(-)
diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec
From: Aman Gupta
---
libavcodec/v4l2_m2m_enc.c | 20
1 file changed, 20 insertions(+)
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index 4849bc26c5..4ccfe77322 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -302,11 +302,27
From: Aman Gupta
Based on patch originally developed by Lukas Rusak
This allows for a zero-copy output by exporting the v4l2 buffer then
wrapping that buffer
in the AVDRMFrameDescriptor like it is done in rkmpp.
This has been in use for quite some time with great success on many
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_context.c | 6 +++---
libavcodec/v4l2_context.h | 3 ++-
libavcodec/v4l2_m2m_dec.c | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c
index 32246cf564
howed especially at high speeds (like using `-f null -` as
output parameters).
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m.h | 1 +
libavcodec/v4l2_m2m_dec.c | 21 -
2 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/libavcodec/v4l2_m2m.h b/libav
From: Lukas Rusak
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 36 +++-
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 721e01420b..f90c50db80 100644
--- a/libavcodec
From: Maxime Jourdan
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 3 ++-
libavcodec/v4l2_context.c | 20
libavcodec/v4l2_context.h | 1 +
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index d8cec06cb3..8424fbcd3e 100644
--- a/libavcodec/v4l2_buffers.c
+++ b/libavcodec
From: Aman Gupta
Previously the default values for output/capture buffers were
quite high, causing a lot of memory usage on devices with limited
resources. On a default RPI3 installation, it is easy to run out of
kernel CMA memory without additional kernel boot flags.
Similar patches are being
From: Aman Gupta
works on Raspberry Pi using /dev/video12 wrapper for OMX.broadcom.isp
Signed-off-by: Aman Gupta
---
configure | 1 +
libavcodec/v4l2_buffers.c | 12 +-
libavcodec/v4l2_m2m.h | 4 +
libavfilter/Makefile | 1 +
libavfilter
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 389b5dea8d..d8cec06cb3 100644
--- a/libavcodec/v4l2_buffers.c
From: Jonas Karlman
This allows the cli to create a dummy drm hwcontext
that can be shared between the v4l2 decoder/scaler/encoder.
This is especially useful on older RPI3 where /dev/dri devices
are not available in the default configuration.
Signed-off-by: Jonas Karlman
Signed-off-by: Aman
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m_enc.c | 44 ---
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index 8014e442a8..4849bc26c5 100644
--- a/libavcodec
From: Aman Gupta
This patchset enables a zero-copy hardware accelerated
decode+scale+encode pipeline on the RPI4 via V4L2. It also
includes various patches submitted to ffmpeg-devel in the
past and from LibreELEC's ffmpeg fork.
The V4L2 decoders can either output software pixel formats,
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m_enc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index 27bb254fc1..a0d5bcf760 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -245,6
From: Aman Gupta
This will allow re-use of the m2m backend with AVFilterContext
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_context.c | 9 +++
libavcodec/v4l2_m2m.c | 50 +++
libavcodec/v4l2_m2m.h | 18 +++---
libavcodec
From: Aman Gupta
On the RPI, three different /dev/video devices exist (decoder, scaler, encoder).
When probing the devices in order, the originally requested pix fmt
would be mutated causing the wrong one to be chosen when a matching
device was finally found.
Signed-off-by: Aman Gupta
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c
index 48104d01d2..0cf5db284a 100644
--- a/libavcodec/v4l2_m2m.c
+++ b/libavcodec/v4l2_m2m.c
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_context.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c
index 6924760840..070988b4c3 100644
--- a/libavcodec/v4l2_context.c
+++ b/libavcodec
From: Dave Stevenson
The single planar support was for NV12 only.
Add NV21 and YUV420P support.
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 17228fe36d
From: Aman Gupta
Without this ffmpeg will attempt to copy the dts from the
most recently enqueued packet into the most recently dequeued
frame, which does not account for the buffering inside v4l2
and is not accurate.
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 1 +
libavcodec
From: Aman Gupta
This fixes h264_v4l2m2m encoding on the Raspberry Pi
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_buffers.c | 61 ++-
1 file changed, 53 insertions(+), 8 deletions(-)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
On Mon, Aug 12, 2019 at 11:50 PM sharpbai wrote:
> On iOS 11, encoding a frame may return error with log
> "Error encoding frame 0", which means vtenc_output_callback
> is called with status=0 and sample_buffer=NULL. Then the
> encoding session will be crashed on next callback wether or not
> clo
On Wed, Sep 4, 2019 at 9:40 AM Alexis Ballier wrote:
> On Mon, 2 Sep 2019 18:02:10 -0700
> Aman Gupta wrote:
> [...]
> > @@ -289,15 +290,59 @@ static int v4l2_bufref_to_buf(V4L2Buffer *out,
> > int plane, const uint8_t* data, i int
> > ff_v4l2_buffer_avframe_
On Wed, Sep 4, 2019 at 4:49 AM Jun Zhao wrote:
> From: Jun Zhao
>
> Use the command ./configure with/without --disable-v4l2-m2m test.
>
> Signed-off-by: Jun Zhao
> ---
> configure | 28 +++-
> 1 files changed, 15 insertions(+), 13 deletions(-)
>
> diff --git a/configu
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/mediacodecdec_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mediacodecdec_common.c
b/libavcodec/mediacodecdec_common.c
index eae9c28d42..c538a00775 100644
--- a/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/mediacodecdec_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/mediacodecdec_common.c
b/libavcodec/mediacodecdec_common.c
index b9465244a3..ab8525fb14 100644
--- a/libavcodec/mediacodecdec_common.c
+++ b
From: Aman Gupta
In rare circumstances, if the codec is not configured with the
proper parameters the input buffers can be allocated with a size
that's too small to hold an individual packet. Since MediaCodec
expects exactly one incoming buffer with a given PTS, it is not
valid to split dat
From: Aman Gupta
MediaCodec decoders require PTS for proper operation.
Signed-off-by: Aman Gupta
---
libavcodec/mediacodecdec_common.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libavcodec/mediacodecdec_common.c
b/libavcodec/mediacodecdec_common.c
index
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/mediacodec_surface.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/mediacodec_surface.c b/libavcodec/mediacodec_surface.c
index aada1ecebe..efcc4dc63c 100644
--- a/libavcodec/mediacodec_surface.c
From: Aman Gupta
The loop may mutate the input buffer, so re-fetch it to ensure
the current one is always used.
Signed-off-by: Aman Gupta
---
libavcodec/mediacodecdec_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mediacodecdec_common.c
b/libavcodec
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/mediacodecdec_common.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/mediacodecdec_common.c
b/libavcodec/mediacodecdec_common.c
index ab8525fb14..d200372dd4 100644
--- a/libavcodec
From: Aman Gupta
This will make it easy to switch to ANativeWindow_fromSurface
and ANativeWindow_release in the future.
Signed-off-by: Aman Gupta
---
libavcodec/mediacodec_surface.c | 11 ---
libavcodec/mediacodec_surface.h | 7 +--
2 files changed, 9 insertions(+), 9 deletions
On Fri, Sep 6, 2019 at 8:37 PM Rodger Combs wrote:
> This was partially fixed by 233cd89, but it made changes to AVFrame fields
> from within end_frame, which doesn't work consistently when multithreading
> is enabled. This is what the post_process function is for.
Looks good to me.
> ---
>
From: Aman Gupta
These are simple algorithms which can be run efficiently
on low powered devices to produce deinteraced images.
Signed-off-by: Aman Gupta
---
doc/filters.texi | 27 ++
libavfilter/Makefile | 1 +
libavfilter/aarch64/Makefile | 1
On Mon, Sep 9, 2019 at 2:47 PM Carl Eugen Hoyos wrote:
> Am Mo., 9. Sept. 2019 um 22:19 Uhr schrieb Aman Gupta :
> >
> > From: Aman Gupta
> >
> > These are simple algorithms which can be run efficiently
> > on low powered devices to produce deinteraced images
On Mon, Sep 9, 2019 at 3:19 PM Hendrik Leppkes wrote:
> On Tue, Sep 10, 2019 at 12:00 AM Aman Gupta wrote:
> >
> > On Mon, Sep 9, 2019 at 2:47 PM Carl Eugen Hoyos
> wrote:
> >
> > > Am Mo., 9. Sept. 2019 um 22:19 Uhr schrieb Aman Gupta &g
From: Mark Thompson
Supports closed captions, active format and bar data as defined by
SCTE 128 part 1 or A/53 part 4, suitable for use with both MPEG-2
and H.264.
---
libavcodec/cbs_misc.c | 217 ++
libavcodec/cbs_misc.h | 109
From: Mark Thompson
Allows insertion (from side data), extraction (to side data), and removal
of closed captions in SEI messages.
---
libavcodec/Makefile| 2 +-
libavcodec/h264_metadata_bsf.c | 133 +
2 files changed, 134 insertions(+), 1 deletion(-)
From: Mark Thompson
Allows extraction (to side data) and removal of closed captions in
user data blocks.
---
doc/bitstream_filters.texi | 12 ++
libavcodec/Makefile | 2 +-
libavcodec/mpeg2_metadata_bsf.c | 76 -
3 files changed, 88 insertion
From: Mark Thompson
Improve documentation for the delete_filler option, and add the
display_orientation and a53_cc options.
---
doc/bitstream_filters.texi | 51 +-
1 file changed, 50 insertions(+), 1 deletion(-)
diff --git a/doc/bitstream_filters.texi b/doc/b
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/cbs_misc.c | 14 +++---
libavcodec/cbs_misc.h | 4 ++--
libavcodec/cbs_misc_syntax_template.c | 8
libavcodec/h264_metadata_bsf.c| 4 ++--
libavcodec/mpeg2_metadata_bsf.c
From: Aman Gupta
Signed-off-by: Aman Gupta
---
libavcodec/v4l2_m2m_enc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index 4849bc26c5..474e6bef89 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -245,8
On Thu, Sep 12, 2019 at 5:05 PM Mark Thompson wrote:
> On 03/09/2019 02:02, Aman Gupta wrote:
> > From: Jonas Karlman
> >
> > This allows the cli to create a dummy drm hwcontext
> > that can be shared between the v4l2 decoder/scaler/encoder.
> >
> > This i
1 - 100 of 531 matches
Mail list logo