Thx. So which API should I start from when migrating.

> 2021年3月4日 下午4:41,Paul B Mahol <[email protected]> 写道:
> 
> 
> 
> On Thu, Mar 4, 2021 at 3:48 AM 项首彦 <[email protected] 
> <mailto:[email protected]>> wrote:
> 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.
> 
> 
> 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.
> 
>  
> 
>> 2021年3月4日 上午12:14,Paul B Mahol <[email protected] <mailto:[email protected]>> 
>> 写道:
>> 
>> I see nowhere full code that does libavfilter handling.
>> 
> 
> _______________________________________________
> Libav-user mailing list
> [email protected] <mailto:[email protected]>
> https://ffmpeg.org/mailman/listinfo/libav-user 
> <https://ffmpeg.org/mailman/listinfo/libav-user>
> 
> To unsubscribe, visit link above, or email
> [email protected] <mailto:[email protected]> with 
> subject "unsubscribe".
> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
> 
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".

_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to