On Do, 2023-09-14 at 15:08 +0800, zhilizhao(赵志立) wrote: > > > > On Sep 14, 2023, at 14:11, Xiang, Haihao > > <haihao.xiang-at-intel....@ffmpeg.org> wrote: > > > > > > > This seems like a bug in libmfx/libvpl. > > > > I agree there should be a bug in libmfx/libvpl, but we have to avoid this > > dead > > loop in FFmpeg. > > Is it possible that a normal case which do take more than 500ms now break out > early and return AVERROR(EBUSY)?
Thanks for your question. Yes, it is possible. So we can't use this way to fix the problem. BRs Haihao > > On the other hand, this isn’t the only place where dead loops can happen. > Third party encoder/decoder wrappers, especially those operating system > framework > wrappers (e.g., Android MediaCodec) have the same risks. Something like a > interrupt callback in avcodec can be useful if more cases have been found. > > > > > > > > I encountered this problem in video conference scenario. Receive more over > > > 9 > > > RTP h264 video streams simultaneously. > > > > Could you file a bug to https://github.com/oneapi-src/oneVPL-intel-gpu , > > then > > document this issue in your patch ? > > > > Thanks > > Haihao > > > > > > > > 获取 Outlook for iOS<https://aka.ms/o0ukef> > > > ________________________________ > > > 发件人: Anton Khirnov <an...@khirnov.net> > > > 发送时间: Tuesday, August 29, 2023 3:57:00 PM > > > 收件人: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > > > 抄送: tinghu3 <siriu...@hotmail.com> > > > 主题: Re: [FFmpeg-devel] [PATCH v2 1/1] lavc/qsvdec: fix dead loop of qsv > > > decoding > > > > > > Quoting Ting Hu (2023-08-29 09:49:06) > > > > From: tinghu3 <siriu...@hotmail.com> > > > > > > > > MFXVideoDECODE_DecodeFrameAsync always return MFX_WRN_DEVICE_BUSY in > > > > special > > > > scenario. > > > > > > "special scenario"? What special scenario? Is this documented anywhere? > > > This seems like a bug in libmfx/libvpl. > > > > > > -- > > > Anton Khirnov > > > _______________________________________________ > > > ffmpeg-devel mailing list > > > ffmpeg-devel@ffmpeg.org > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > > _______________________________________________ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > > > To unsubscribe, visit link above, or email > > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".