I made a first test of video output through the SCART connector of my TV. Leaving apart the vertical sync stuff for the moment, I focused on the generation of some RGB signal with horizontal sync.
The main source for information I used is this site.
I wrote a small CPLD design to output red, green and blue, as well as the horizontal sync signal, in order to display vertical stripes of different colors. On this picture you can see the very first attempt : I just had the red and sync signal connected, and it showed up a slowly horizontally scrolling set of vertical red stripes (which were in fact fading in and out to black). Nothing very fancy, but still a great moment of satisfaction. :)
I discovered that the reason why it seems to scroll was because the TV didn't care about my sync signal, as I was outputting 5V only to pin 8 of the SCART connector, which wasn't enough to select composite sync. So I took the voltage for this pin directly from the output of the PSU (set to 9V, but actually outputting more than 10V), and got a stable image, but with odd colors... I think I know the reason for this, and I will hopefully solve this issue, and add vertical sync in a few.