[FFmpeg-user] Burning DVD subtitles into video using overlay filter not working

Nicolas George nicolas.george at normalesup.org
Fri Aug 30 10:56:43 CEST 2013

Le tridi 13 fructidor, an CCXXI, Thierry Lelégard a écrit :
> [graph 0 input from stream 0:0 @ 00000000022412a0] w:1280 h:536
> [graph 0 input from stream 0:2 @ 0000000002240e20] w:1920 h:1080

Ok, here is the problem: the subtitle frames are much larger than the video
frames, and the top-left corner you actually see is completely transparent.
There was a time the overlay filter would have produced an error if the
overlay frame overflows the underlying, but no longer, it is accepted.

You need to scale and/or crop the subtitles frames to get them to fit on the
video. I suspect, in this particular case, you should scale to 1280×720 and
then crop to 1280×536 to achieve the intended geometry.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130830/bce9f350/attachment.asc>

More information about the ffmpeg-user mailing list