<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The doc/examples/filtering_video.c file directly uses the path of the video file *.mp4 as input, but I want to use a rgb24 format video frame as input<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">2021年3月4日 下午5:52,Paul B Mahol <<a href="mailto:onemda@gmail.com" class="">onemda@gmail.com</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class="Apple-interchange-newline"><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 4, 2021 at 10:51 AM 项首彦 <<a href="mailto:xiangshouyan@bytedance.com" class="">xiangshouyan@bytedance.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="overflow-wrap: break-word;" class="">Thx. So which API should I start from when migrating.<br class=""></div></blockquote><div class=""><br class=""></div><div class=""><a href="http://ffmpeg.org/doxygen/trunk/group__lavfi.html" class="">http://ffmpeg.org/doxygen/trunk/group__lavfi.html</a></div><div class=""><br class=""></div><div class="">Look also at doc/examples/* stuff.</div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="overflow-wrap: break-word;" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">2021年3月4日 下午4:41,Paul B Mahol <<a href="mailto:onemda@gmail.com" target="_blank" class="">onemda@gmail.com</a>> 写道:</div><br class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 4, 2021 at 3:48 AM 项首彦 <<a href="mailto:xiangshouyan@bytedance.com" target="_blank" class="">xiangshouyan@bytedance.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="">I want to use the function 'static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)'  as an API to process the frames output by the encoder. The original format of the frame obtained from the encoder is YUV_I420, and then libyuv can be used to convert it to RGB24. I want to know what other information is needed to call the filter_slice API besides the video frame.<br class=""></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">You can not use that function directly at all. The only way to use atadenoise filtering and any filter from libavfilter in general is via creating graphs and feeding AVFrames to it.</div><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">2021年3月4日 上午12:14,Paul B Mahol <<a href="mailto:onemda@gmail.com" target="_blank" class="">onemda@gmail.com</a>> 写道:</div><br class=""><div class=""><div style="color: rgb(31, 35, 41); font-family: arial, helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class="">I see nowhere full code that does libavfilter handling.</div><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">Libav-user mailing list<br class=""><a href="mailto:Libav-user@ffmpeg.org" target="_blank" class="">Libav-user@ffmpeg.org</a><br class=""><a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank" class="">https://ffmpeg.org/mailman/listinfo/libav-user</a><br class=""><br class="">To unsubscribe, visit link above, or email<br class=""><a href="mailto:libav-user-request@ffmpeg.org" target="_blank" class="">libav-user-request@ffmpeg.org</a><span class="Apple-converted-space"> </span>with subject "unsubscribe".</blockquote></div></div>_______________________________________________<br class="">Libav-user mailing list<br class=""><a href="mailto:Libav-user@ffmpeg.org" target="_blank" class="">Libav-user@ffmpeg.org</a><br class=""><a href="https://ffmpeg.org/mailman/listinfo/libav-user" target="_blank" class="">https://ffmpeg.org/mailman/listinfo/libav-user</a><br class=""><br class="">To unsubscribe, visit link above, or email<br class=""><a href="mailto:libav-user-request@ffmpeg.org" target="_blank" class="">libav-user-request@ffmpeg.org</a><span class="Apple-converted-space"> </span>with subject "unsubscribe".</div></blockquote></div><br class=""></div>_______________________________________________<br class="">Libav-user mailing list<br class=""><a href="mailto:Libav-user@ffmpeg.org" target="_blank" class="">Libav-user@ffmpeg.org</a><br class=""><a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank" class="">https://ffmpeg.org/mailman/listinfo/libav-user</a><br class=""><br class="">To unsubscribe, visit link above, or email<br class=""><a href="mailto:libav-user-request@ffmpeg.org" target="_blank" class="">libav-user-request@ffmpeg.org</a><span class="Apple-converted-space"> </span>with subject "unsubscribe".</blockquote></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Libav-user mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:Libav-user@ffmpeg.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Libav-user@ffmpeg.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://ffmpeg.org/mailman/listinfo/libav-user" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://ffmpeg.org/mailman/listinfo/libav-user</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">To unsubscribe, visit link above, or email</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:libav-user-request@ffmpeg.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">libav-user-request@ffmpeg.org</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>with subject "unsubscribe".</span></div></blockquote></div><br class=""></body></html>