[FFmpeg-devel] [PATCH] avfilter: add ocr filter

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Sep 9 17:30:06 CEST 2015


Paul B Mahol <onemda <at> gmail.com> writes:

> +    static const enum AVPixelFormat pix_fmts[] = {
> +        AV_PIX_FMT_GRAY8, AV_PIX_FMT_YUV420P,
> +        AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P,

Looking at the function call below, all non-packed 
formats (including GBR) are "supported", no?

> +    av_log(ctx, AV_LOG_INFO, "%s\n", result);

Can't this output a subtitle stream as it is 
currently done for Closed Captions? Imo, this 
would be helpful even without any formatting 
whatsoever.

I believe this is a brilliant addition 
to FFmpeg, thank you!

Carl Eugen



More information about the ffmpeg-devel mailing list