I solved the problem. AFter selecting the canopus codec (in my case) you have to also go in and add a resize filter and set it to 720 x 576 and set bicubic for best resolution.

Then it worked for me.