[FFmpeg-devel] [PATCH] avfilter: add ocr filter
Paul B Mahol
onemda at gmail.com
Wed Sep 9 17:59:43 CEST 2015
On 9/9/15, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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?
Everything that have Y plane. I have not tested >8
bitdepth case.
>
>> + 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.
There are no subtitles in AVFrame nor in lavfi.
>
> I believe this is a brilliant addition
> to FFmpeg, thank you!
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list