Re: [FFmpeg-devel] [PATCH v3 0/5] Switch mmaldec to receive_frame API

2021-12-12 Thread Ming Shun Ho
It would definitely have to be an option. I tried lowering MAX_DELAYED_FRAMES myself. While it might work for live video streams, games streaming in your case, RTSP from CCTV cameras in mine, lower MAX_DELAYED_FRAMES seems to cause a decoding stall in any video with re-ordered frames. Thanks for

Re: [FFmpeg-devel] [PATCH v3 0/5] Switch mmaldec to receive_frame API

2021-12-09 Thread Ming Shun Ho
While we are on the topic of mmaldec, would you mind reviewing and applying this patch as well: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210916134652.22781-1-cyph1...@gmail.com/ On Fri, Dec 10, 2021 at 11:48 AM Ming Shun Ho wrote: > > Built and tested successfully on a

Re: [FFmpeg-devel] [PATCH v3 0/5] Switch mmaldec to receive_frame API

2021-12-09 Thread Ming Shun Ho
Built and tested successfully on a Rpi 3b+ through mpv. Thanks for this patchset! On Thu, Dec 9, 2021 at 9:01 PM Andreas Rheinhardt wrote: > > This is an updated and extended version of [1] by Ho Ming Shun > together with some additions by me. Notice that I am unable > to test these patches (not

Re: [FFmpeg-devel] ARM Hardware Request

2021-10-08 Thread Ming Shun Ho
On Fri, Oct 8, 2021 at 4:25 PM Thilo Borgmann wrote: > > Hi, > > On 8 Oct 2021, at 1:21, J. Dekker wrote: > > > Hi, > > > > I'm writing ARM64 ASM and testing on Apple M1 and Graviton2 N1 > > devices. This, however, is not a good spread of micro-architectures > > among commonly used ARM64 devices.

Re: [FFmpeg-devel] [PATCH v2 1/4] avcodec/mmaldec: use decoupled dataflow

2021-09-24 Thread Ming Shun Ho
On Fri, Sep 24, 2021 at 5:30 PM Jan Ekström wrote: > > On Fri, Sep 24, 2021 at 12:06 PM Ho Ming Shun wrote: > > > > MMAL is an fundamentally an asynchronous decoder, which was a bad fit > > for the legacy dataflow API. Often multiple packets are enqueued before > > a flood of frames are returned

Re: [FFmpeg-devel] [PATCH] avcodec/mmaldec: use decoupled dataflow

2021-09-23 Thread Ming Shun Ho
On Fri, Sep 24, 2021 at 3:40 AM Andreas Rheinhardt wrote: > > Ho Ming Shun: > > MMAL is an fundamentally an asynchronous decoder, which was a bad fit > > for the legacy dataflow API. Often multiple packets are enqueued before > > a flood of frames are returned from MMAL. > > > > The previous locks

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mmaldec: fix deprecation warning

2021-09-23 Thread Ming Shun Ho
On Fri, Sep 24, 2021 at 2:09 AM Andreas Rheinhardt wrote: > > Ming Shun Ho: > > On Fri, Sep 24, 2021 at 12:52 AM Andreas Rheinhardt > > wrote: > >> > >> Ho Ming Shun: > >>> Signed-off-by: Ho Ming Shun > >>> --- > >&

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mmaldec: fix deprecation warning

2021-09-23 Thread Ming Shun Ho
On Fri, Sep 24, 2021 at 12:52 AM Andreas Rheinhardt wrote: > > Ho Ming Shun: > > Signed-off-by: Ho Ming Shun > > --- > > libavcodec/mmaldec.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c > > index 5b75a1e74d..96140bf53d 100644 > > -