Sorry if the question is stupid )) but I didn't find how to do it
I am using AVFilterContext for scaling because it is multithreaded but still
slow and I want to specify SWS_FAST_BILINEAR
I'm trying to specify this (scale work), but I get an error: No such filter:
'sws_flags'
char args[512];
…
snprintf(args, sizeof(args), "scale=%d:%d,sws_flags=1",
pCdcCtxOut->width, pCdcCtxOut->height);
if ((rt = avfilter_graph_parse_ptr(pFltGph, args, &pFltInp, &pFltOut,
NULL)) < 0)
{
PrintError("Error avfilter_graph_parse_ptr", rt);
goto FILTER_END;
}
_______________________________________________
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".