The positioning was completely wrong. First, the coordinates are expressed in ASS playback resolution (which is by default 384x288). Secondly, the coordinates define a drawing rectangle, not a moving area. The previous code was making subtitles move from a random position to another random position. Here we rescale assuming the video resolution is a DVD one (720x480). We can't really do anything better so far, but since this positioning information is often from a DVD rip we can consider them relatively safe. |
||
|---|---|---|
| .. | ||
| fate | ||
| filtergraphs | ||
| ref | ||
| audiogen.c | ||
| base64.c | ||
| copycooker.sh | ||
| fate-run.sh | ||
| fate-valgrind.supp | ||
| fate.sh | ||
| ffserver-regression.sh | ||
| ffserver.conf | ||
| ffserver.regression.ref | ||
| lavf-regression.sh | ||
| Makefile | ||
| md5.sh | ||
| reference.pnm | ||
| regression-funcs.sh | ||
| rotozoom.c | ||
| test.ffmeta | ||
| tiny_psnr.c | ||
| tiny_ssim.c | ||
| utils.c | ||
| videogen.c | ||