[FFmpeg-user] Can I change overlay color of subtitle?

Kimio Miyamura xanadu at apost.plala.or.jp
Sun Oct 12 16:32:56 CEST 2014


2014/10/12 22:47、James Darnley <james.darnley at gmail.com> wrote: 

> On 2014-10-12 14:17, Kimio Miyamura wrote:
>> The command line works fine and I can get a mp4 movie with subtitle. But I got yellow colored subtitle.  I'd like to change subtitle color into yellow to white if I can.
>> 
>> Is there any way to change overlay color of subtitle?
> 
> Only of text subtitles.  DVDs have vobsub subtitles which are bitmaps.
> This means it can't be as easy as setting "color=white".  There might be
> some complicated way of altering the colours of the bitmaps by
> saturation, brightness, or just a lut.

I know that vobsub subtitles are bitmaps.  But in a original DVD, the subtitle are white bordered in black.  I don't know how ffmpeg process those subtitle, but I think ffmpeg intentionally change the color of subtitle.  Am I wrong?

// Miya




More information about the ffmpeg-user mailing list