Re: [FFmpeg-devel] [PATCH] avformat: add mpegtsraw muxer

2020-12-21 Thread Aman Gupta
On Mon, Dec 21, 2020 at 4:58 PM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Aman Karmani: > > From: Aman Karmani > > > > Allows easier writing of a AV_CODEC_ID_MPEG2TS stream out to disk. > > > > Signed-off-by: Aman Karmani > > --- > > libavformat/Makefile | 1 + > >

Re: [FFmpeg-devel] [PATCH 3/9] avcodec/videotoolbox: h264 decoder on iOS is unable to decode interlaced video

2020-09-04 Thread Aman Gupta
On Tue, Sep 26, 2017 at 4:20 AM Carl Eugen Hoyos wrote: > 2017-09-26 2:36 GMT+02:00 Aman Gupta : > > > > > + case kCMVideoCodecType_H264 : { > > > + H264Context *h = avctx->priv_data; > > > + if (TARGET_OS_IPHONE && h->ps.

Re: [FFmpeg-devel] [PATCH v2] avcodec: Add MediaFoundation encoder wrapper

2020-05-18 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avformat: expose avlanguage.h

2019-11-26 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- doc/APIchanges | 3 +++ libavformat/Makefile | 1 + libavformat/avlanguage.c | 2 -- libavformat/avlanguage.h | 5 + libavformat/version.h| 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/APIchanges b

Re: [FFmpeg-devel] [PATCH] avformat/avlanguage: deprecate av_convert_lang_to and make it internal

2019-11-26 Thread Aman Gupta
On Fri, May 13, 2016 at 2:29 PM James Almer wrote: > The header was never installed and the function is only used in libavformat > I think av_convert_lang_to would be a useful public function. Do you mind if I redefine it, and export the header this time? libavformat returns iso639-2 codes in

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/v4l2_m2m_dec: Fix decoding on Odroid XU4

2019-11-22 Thread Aman Gupta
On Mon, Nov 11, 2019 at 9:44 PM Andriy Gelman wrote: > From: Andriy Gelman > > c0c79461967 unintentianally changed the initialization flow of the > decoder: It caused the capture buffers to be initialized on > v4l2_m2m.c:180 in v4l2_configure_contexts(). This breaks h264 decoding > on the

[FFmpeg-devel] [PATCH] avcodec/arm/mlpdsp: add missing dependency for truehd

2019-11-06 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavcodec/arm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/arm/Makefile b/libavcodec/arm/Makefile index e656011c3c..c99e8e1bd1 100644 --- a/libavcodec/arm/Makefile +++ b/libavcodec/arm/Makefile @@ -43,6 +43,7 @@ OBJS

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/v4l2_buffers: Fix infinite loop

2019-11-01 Thread Aman Gupta
On Fri, Nov 1, 2019 at 6:39 AM Andriy Gelman wrote: > On Sun, 27. Oct 00:19, Andriy Gelman wrote: > > From: Andriy Gelman > > > > This part of the code counts the number of planes returned by the v4l2 > > device for each queried capture/output buffer. > > When testing the GPU h264 encoder on

Re: [FFmpeg-devel] [PATCH v4] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-27 Thread Aman Gupta
On Mon, Sep 23, 2019 at 8:23 AM Ross Nicholson wrote: > Can this be applied? > Applied to master. Thank you for your contribution. > > > On 19 Sep 2019, at 16:14, Ross Nicholson wrote: > > > > Updated to v4 of patch after learning from Aman Gupta that 'rt' d

Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-09-26 Thread Aman Gupta
On Sat, Sep 7, 2019 at 11:39 AM Marton Balint wrote: > > > On Wed, 4 Sep 2019, Anthony Delannoy wrote: > > > Hi > > > > I'm still interested to have those three commits merged (update in > attachments). > > Ok, below are some more comments. > > > > > But I'd like to see data decoder in the

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_misc: remove anonymous union for gcc4.4 compat

2019-09-14 Thread Aman Gupta
On Fri, Sep 13, 2019 at 11:30 PM Carl Eugen Hoyos wrote: > > > > > Am 14.09.2019 um 00:48 schrieb Aman Gupta : > > > > From: Aman Gupta > > > > Signed-off-by: Aman Gupta > > --- > > libavcodec/cbs_misc.c | 14 +++---

Re: [FFmpeg-devel] [PATCH 25/25] hwcontext_drm: do not require drm device

2019-09-13 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avcodec/v4l2_m2m_enc: check for V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME availability before using

2019-09-13 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avcodec/cbs_misc: remove anonymous union for gcc4.4 compat

2019-09-13 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 3/4] h264_metadata: Update documentation

2019-09-11 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 4/4] mpeg2_metadata: Add support for A/53 closed captions

2019-09-11 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 2/4] h264_metadata: Add support for A/53 closed captions

2019-09-11 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 1/4] cbs: Add some common code for read/write of miscellaneous user data

2019-09-11 Thread Aman Gupta
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

Re: [FFmpeg-devel] [RFC PATCH] avfilter/fastdeint: import simple cpu-optimized deinterlacing algorithms from VLC

2019-09-09 Thread Aman Gupta
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

Re: [FFmpeg-devel] [RFC PATCH] avfilter/fastdeint: import simple cpu-optimized deinterlacing algorithms from VLC

2019-09-09 Thread Aman Gupta
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

[FFmpeg-devel] [RFC PATCH] avfilter/fastdeint: import simple cpu-optimized deinterlacing algorithms from VLC

2019-09-09 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxdec: fix crop handling when multithreaded

2019-09-06 Thread Aman Gupta
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. > --- >

[FFmpeg-devel] [PATCH 2/2] avcodec/mediacodec_surface: define and use FFANativeWindow to mimic NDK interface

2019-09-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 1/2] avcodec/mediacodecdec_common: log codec name during configure/start failures

2019-09-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 5/6] avcodec/mediacodecdec_common: ensure current input buffer is always used correctly

2019-09-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 1/6] avcodec/mediacodec_surface: guard against NULL surface

2019-09-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 3/6] avcodec/mediacodecdec_common: warn when PTS is missing

2019-09-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 2/6] avcodec/mediacodecdec: warn when input buffers are not configured with proper size

2019-09-05 Thread Aman Gupta
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 data

[FFmpeg-devel] [PATCH 6/6] avcodec/mediacodecdec_common: propagate EOF immediately when signaled by decoder

2019-09-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 4/6] avcodec/mediacodecdec_common: improve trace logging for end-of-stream

2019-09-05 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH V1 2/2] configure: fix --disable-v4l2-m2m can't work

2019-09-04 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH 05/25] avcodec/v4l2_buffers: teach ff_v4l2_buffer_avframe_to_buf about contiguous planar formats

2019-09-04 Thread Aman Gupta
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_

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-09-03 Thread Aman Gupta
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 >

[FFmpeg-devel] [PATCH 05/25] avcodec/v4l2_buffers: teach ff_v4l2_buffer_avframe_to_buf about contiguous planar formats

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 06/25] avcodec/v4l2_buffers: Add handling for NV21 and YUV420P

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 10/25] avcodec/v4l2_m2m_dec: set pkt_dts on decoded frames to NOPTS

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 01/25] avcodec/v4l2_context: ensure v4l2_dequeue does not hang in poll() when no buffers are pending

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 03/25] avcodec/v4l2_m2m: fix av_pix_fmt changing when multiple /dev/video* devices are probed

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 02/25] avcodec/v4l2_m2m: disable info logging during device probe

2019-09-02 Thread 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

[FFmpeg-devel] [PATCH 07/25] avcodec/v4l2_m2m: decouple v4l2_m2m helpers from AVCodecContext

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 04/25] avcodec/v4l2_m2m_enc: add support for -force_key_frames

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 09/25] avcodec/v4l2_m2m_enc: fix indentation and add M2MENC_CLASS macro

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 00/25] V4L2 support for DRM_PRIME

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 20/25] avfilter/vf_scale_v4l2m2m: add V4L2 M2M scaler

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 23/25] avcodec/v4l2_buffers: use correct timebase for encoder/decoder/filter

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 25/25] hwcontext_drm: do not require drm device

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 22/25] avcodec/v4l2_context: set frame SAR using VIDIOC_CROPCAP

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 24/25] avcodec/v4l2_buffers: extract v4l2_timebase constant

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 21/25] avcodec/v4l2m2m: clean up buffer options and pick sane defaults

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 15/25] avcodec/v4l2_m2m: add support for AV_PIX_FMT_DRM_PRIME

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 18/25] avcodec/v4l2_context: expose timeout for dequeue_frame

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 19/25] avcodec/v4l2_m2m_dec: fix dropped packets while decoding

2019-09-02 Thread Aman Gupta
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/libavcodec

[FFmpeg-devel] [PATCH 13/25] avcodec/v4l2_buffers: split out v4l2_buf_increase_ref helper

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 14/25] avcodec/v4l2_buffers: read height/width from the proper context

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 16/25] avcodec/v4l2_m2m_dec: add support for AV_PIX_FMT_DRM_PRIME

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 17/25] avcodec/v4l2_m2m_enc: add support for AV_PIX_FMT_DRM_PRIME

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 11/25] avcodec/v4l2_buffers: split out AVFrame generation into helper method

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 12/25] avcodec/v4l2_buffers: split out V4L2Buffer generation into helper method

2019-09-02 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 08/25] avcodec/v4l2_m2m_dec: fix indentation and add M2MDEC_CLASS macro

2019-09-02 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] lavc/v4l2_m2m: don't close the file descriptor we don't own

2019-09-02 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] avcodec/omx: fix xFramerate calculation

2019-08-30 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself to V4L2

2019-08-29 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] avcodec/omx: fix xFramerate calculation

2019-08-29 Thread Aman Gupta
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. > > > >

[FFmpeg-devel] [PATCH] avcodec/omx: fix xFramerate calculation

2019-08-29 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] MAINTAINERS: add myself to V4L2

2019-08-29 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolbox_hevc: avoid leaking cached_hw_frames_ctx

2019-08-23 Thread Aman Gupta
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. > > --- > >

[FFmpeg-devel] [PATCH 6/8] avcodec/v4l2_buffers: fix minor typos and whitespace

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 3/4] avcodec/omx: ensure zerocopy mode can be disabled on rpi builds

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 1/4] MAINTAINERS: add myself to OMX

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 4/4] avcodec/omx: Fix handling of fragmented buffers

2019-08-22 Thread Aman Gupta
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 index

[FFmpeg-devel] [PATCH 2/4] avcodec/omx: add support for -force_key_frames

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 7/8] avcodec/v4l2_buffers: teach ff_v4l2_buffer_avframe_to_buf about contiguous planar formats

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 8/8] avcodec/v4l2_buffers: Add handling for NV21 and YUV420P

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 5/8] avcodec/v4l2_context: log VIDIOC_REQBUFS failures

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 4/8] avcodec/v4l2_m2m: remove trailing whitespace in output identifier

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 3/8] avcodec/v4l2_m2m: log requested pixel formats

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 2/8] avcodec/v4l2_m2m: disable info logging during device probe

2019-08-22 Thread 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 7d65747df2..be13f68707 100644 --- a/libavcodec/v4l2_m2m.c +++ b/libavcodec/v4l2_m2m.c

[FFmpeg-devel] [PATCH 1/8] avcodec/v4l2_m2m: log planar mode used by driver

2019-08-22 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avcodec/omx: add support for -force_key_frames

2019-08-21 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] lavf/vf_deinterlace_vaapi: flush queued frame in field mode

2019-08-13 Thread 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

[FFmpeg-devel] [PATCH v2 1/2] vaapi_encode: ensure correct VBR bitrate is used in h264 SPS

2019-08-12 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH v2 2/2] vaapi_encode: fix VBR mode generating low bitrates

2019-08-12 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 1/2] vaapi_encode: ensure correct VBR bitrate is used in h264 SPS

2019-08-12 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH 2/2] vaapi_encode: work-around VBR driver bug in Intel Broxton/CherryView

2019-08-12 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avcodec/vaapi_encode: respect -force_key_frames setting

2019-08-07 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH 02/14] vaapi_encode: Convert to send/receive API

2019-08-07 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH v4] avcodec/vaapi_encode_h264: add support for a/53 closed caption sei

2019-08-06 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH v3] avcodec/vaapi_encode_h264: add support for a/53 closed caption sei

2019-08-05 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH v2] avcodec/vaapi_encode_h264: add support for a/53 closed caption sei

2019-08-01 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avcodec/vaapi_encode_h264: add support for a/53 closed caption sei

2019-08-01 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH 1/5] cbs: Add some common code for read/write of miscellaneous user data

2019-07-26 Thread Aman Gupta
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 > ++ >

[FFmpeg-devel] [PATCH] fftools/ffprobe: process show_frame/show_packets last

2019-07-18 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for videotoolboxenc

2019-07-09 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: respect program number when merging streams

2019-07-09 Thread Aman Gupta
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 >

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-05-07 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avformat/mpegts: apply -merge_pmt_versions only when versions change

2019-05-06 Thread Aman Gupta
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

[FFmpeg-devel] [PATCH] avformat/mpegts: index only keyframes to ensure accurate seeks

2019-05-06 Thread Aman Gupta
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

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/videotoolbox: add support for 10bit pixel format

2019-04-13 Thread Aman Gupta
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

Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-10 Thread Aman Gupta
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

Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-10 Thread Aman Gupta
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_f

  1   2   3   4   5   6   >