Make 3D subtitles

Please can somebody test it? This is an initial step and much more should be done. It should work with MEncoder but it doesn't work for me with FFMpeg.