Hello, I want to convert an MPEG-TS from a Humax PVR to a MKV with H.264 encoded video with hard coded DVB subtitles. Unfortunately, having downloaded a build from ffmpeg.zeranoe.com, instead of hard coded subtitles I am getting "sub2video: rectangle overflowing" messages. I've tweaked ffmpeg.c to display the parameters causing the message and built a cut down ffmpeg. (I have built a toolchain using Zeranoe's build script and built libogg, libvorbis, libx264 and pthreads-win32 from source). The message is output because the video stream is 704x576 but the subtitle rectangles are 720 wide. If I tweak function sub2video_prepare in ffmpeg_filter.c to hard code the canvas width and height to be 720 and 576 respectively then I can produce an MKV with hard coded DVB subtitles with the command: ffmpeg -i in.TS -filter_complex "[0:v]pad=720:576[main];[main][0:s]overlay" -sn out.MKV 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. Is there a filter sequence that would accommodate the subtitle rectangle dimensions being larger than the video stream dimensions? Or does the sub2video "hack" not cater for this situation? Many thanks, Stu