[FFmpeg-devel] [PATCH 1/2 v3] avfilter: add readvitc filter

Tobias Rapp t.rapp at noa-archive.com
Mon Apr 11 09:29:24 CEST 2016


On 08.04.2016 23:08, Carl Eugen Hoyos wrote:
> Tobias Rapp <t.rapp <at> noa-archive.com> writes:
>
>>> Wouldn't the algorithm also work for GBR?
>>
>> If VITC lines are green, yes .
>
> I just tested the sample you uploaded with the following
> command after adding AV_PIX_FMT_GBRP to the supported
> input formats:
> $ ffprobe -of compact=p=0 -show_entries frame=pkt_pts:frame_tags
> -f lavfi movie=sample-vitc.avi,readvitc
>
> Output looks identical to yuv420p so I guess white is ok...

(I assume you also converted the sample file to GBRP.)

It might work with RGB input in some cases but the algorithm really only 
looks at one component and assumes it is luma. For real RGB support one 
would have to combine the three color components and then feed it to the 
"read_vitc_line" function.

Regards,
Tobias



More information about the ffmpeg-devel mailing list