Golborne Vintage Radio

Full Version: 405 to 625 conversion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Hi Jeffrey
The windowed output looks really good.

Windows are really useful for viewing a non standard number of lines. I was experimenting a while back with a converter that could convert from 625 to any number of lines between 30 and 405. A window allowed me to view the output on a 405 set regardless of the number of output lines. This was useful to observe how well the interpolater was doing at a given number of lines. A frame store is essential to do a window.

I had to park this project for a while. Before I did I made a little progress. I got it working without using the frame store.
The memory that would be normally used for time redistribution when doing 625 to 405 I have used to provide a one line buffer between the 405 output and the 625 interpolater.
This allows the 625 output to wobble around a little without running out of information.
I implemented a type of PLL for the output clock by counting the number of pixels in a frame and altering the DTO coefficient to keep the number of pixels correct.
It works quite well. Two photos below The first with the PLL disable the second with it enabled.
The PLL adjusts by different amounts dependant on how far the count is from the target.
When the PLL locks a flywheel engages and only allows small changes. If it is off target for an extended length of time the flywheel is disengaged.

For 405 input I use a Frewview box playing mp4's stored on a USB stick. A Hedghog converts the 625 to 405.
How well the 405 to 625 converter works is dependant on what recording is being viewed.
Some recordings convert perfectly with the PLL having an easy time keeping on track. Some scenes on other recordings the PLL has to work very hard with some visible effects on screen.

I had expected that the syncs from a Freeview box would be constant regardless of the recording. Maybe some rubbish is getting into the sync area of the raw video and affecting the sync separator. I have tried slicing at different levels to no effect. I will have to investigate further when I get back to the project.

I have had another thought on providing an output clock.
In post #20 looking at the scope trace of the video clock it can be seen that every forth cycle looks reasonably in phase.
Dividing by 4 should clean up one edge or dividing by 8 would clean up both. It might clean it up enough to allow it to drive the PLL in the FPGA reliably. The only trouble is that even dividing by 4 will take the frequency below the minimum clock frequency (5MHz) that the PLL will operate with.  

Frank
I finally got back to this after a long break. After having a better look at the problem and it appears that PLL that I was implementing  isn't at fault instead it is caused by the jitter on the decoder video clock.  To my surprise there is some jitter on the syncs from the Freeview box. It changes depending on file and scene been viewed. The jitter on the syncs combined with the jitter on the data clock is what is causing the problem. It is amassing how most files convert perfectly.

I tried cleaning up the data clock by varying the reference clock to the decoder. Nothing worked until I tried overclocking it which gave a perfectly clean clock.
When overclocked the data clock frequency is 4 X pixel frequency which is approximately 35MHz and substantially higher than the normal 27MHz.
This makes a big difference as now I will be able to use the PLL in the FPGA to generate the clocks. It also makes it easier to fit it into a Hedghog II.

The biggest concern is how well will the TVP5150 tolerate been overclocked. So far I have tried it out on a few of them. They all worked and showed no signs of distress.

Frank
I suppose I'm fortunate in using a framestore so the input and output clocks are completely separate.
Just an update on this.
I have spent a little more time on the converter and now it is preforming pretty well.
It can now handle syncs which have jitter which it couldn't before.
The converter in now fitted into a Hedghog II along side the 625 to 405 converter that was already there so it can be switched to convert either way.
Just a bit of cleaning up and tweaking to do before I can release it.

I have no suitable VCR to try the converter with.
But I have a number of  405 test card generators with varying degrees of poor sync. They have helped a lot while trying to improve how it copes with poor sync.

The link below is a clip of the converter working. The 405 video is from one of one my test card generators that has really rubbish syncs. Any apparent improvement in the converted video is down to the modern monitor been better able to cope with poor syncs rather than the converter improving it.

https://youtu.be/6gYRdvE3UG4

Frank
Well done Frank. Reminds me that I've got a couple of 405 capable monitors for you.
Very impressive Frank!

Jac
Genius...... well done Frank.
Looks really good. Well done!

Peter
Thanks Jeffrey, Jac, Trevor and Peter.

Jeffrey, I am looking forward to getting my hands on the monitor. I will make an appropriate donation to the BECG funds.
When all that will happen it is difficult to say with the virus and all the restrictions that goes with it.

Keep safe everyone!
Frank
Just a note to say that I have uploaded new firmware to the Hedghog II webpage to allow 405 to 625 conversion as well as 625 to 405.

Frank
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15