[FFmpeg-user] vf subtitles - Color conversion not implemented for xyz12le

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 9 13:32:07 CEST 2016

Kieran O Leary <kieran.o.leary <at> gmail.com> writes:

> PS H:\dcps\ffmpeg_test> ffmpeg -i H:\dcps\ffmpeg_test\short_dcp.mxf
> -c:v libx264 -pix_fmt yuv420p -vf subtitles=subtitle
> .xml.srt:force_style=PrimaryColour=white shortx264.mov

You have to make sure that the input video stream is converted 
to yuv420p before the subtitles filter gets inserted into 
the filter chain:
-vf format=yuv420p,subtitles
vf format=yuv420p,scale,subtitles

Carl Eugen

More information about the ffmpeg-user mailing list