[FFmpeg-user] Converting MPEG-TS to MKV with hard coded subtitles produces error message

Nicolas George nicolas.george at normalesup.org
Thu Feb 14 21:27:37 CET 2013

Le sextidi 26 pluviôse, an CCXXI, Stuart a écrit :
> I've tried cropping the subtitle stream before overlaying but still
> get the "sub2video: rectangle overflowing" messages with the Zeranoe
> build. I've also tried scaling the video stream and padding the video
> stream. I think the canvas size is assigned equal to the video
> stream size before applying the filters. Hence, scaling or padding
> the video stream doesn't increase the canvas size to match the
> subtitle rectangle dimensions.

That is exactly that. Except if the resolution of the canvas for the
subtitles is known, which can happen for vobsub or pgssub.

Normally, you should be able to specify the resolution using the -s option:
"-s:s 720x576" should do the trick.


  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/20130214/0181235d/attachment.asc>

More information about the ffmpeg-user mailing list