Avamander / arduino-tvout

Arduino-TVout
325 stars 81 forks source link

I urge you politely adding a color burst signal, if this library don't have color burst signal. #136

Open ghost opened 2 years ago

ghost commented 2 years ago

Greetings.

I have been using TV-Out library very well for my prototype model and very thank you for making a useful library.

but, I have little problem.

first, you can see my youtube video. :

https://youtu.be/WPX42pJFUDs

as you can see in the video discription, screen freezes when using with "Car GPS". it is usually for car rear camera monitor.

also, below link shows very similar problem : https://forum.arduino.cc/t/tvout-output-tv-lcd-working-but-not-carradio-with-monitor-rvc/503320 as I mentioned above, the problem was about car system. this link also shows problem of "Car radio" I think car uses modern NTSC system so me and this link author have same problem. It is just my guess, not exactly true. this link also says "no color burst signal" is the cause of problem. : "I've never seen a display device that requires a colour burst, but I have seen a few that require a correct sequence of equalisation pulses during vertical blanking."

and this link also car system problem : https://github.com/Avamander/arduino-tvout/issues/118

So I suggest you very politely to add color burst signal to this library.

and I found below link format is different with "video_properties.h" : https://documentation.help/NI-Video-Signal-Fundamentals/Active_Image.html this link says NTSC active line is 480/486 but actually this library active line(line display) is 216(432), I think. and this link says NTSC active time line duration is 52.2us, but I think librrary active time is 46us, I think

also, for your reference, this is the the video after solved problem with modifying library. : https://youtu.be/T1qUPKI3SD4 (the video looks not centered vertically well, but it was centered well before. so never mind centering. I think some electric setting was changed so not centered well in the video.)

I edited video_properties.h like below : //#define _NTSC_LINE_FRAME 228 //originally its value is 262.

define _NTSC_LINE_DISPLAY 210 //originally its value is 216.

define _NTSC_LINE_MID ((_NTSC_LINE_FRAME - _NTSC_LINE_DISPLAY)/2 + _NTSC_LINE_DISPLAY/2) + 9

I tried very hard and many times and got this right value working.

after modifying the code like above, screen don't freeze and animation goes well. so I guess this library have problem on spec/video_properties.h

and also this link is for your reference. the screen jitters with "FX795T-6 AV Transmitter" : https://youtu.be/dWAYuJz6vOE I also want library to output video with AV transmitter well I suspect this jitter's cause is not fully complying with standard format.. only my guess. because with Car GPS, it does not jitter very much. I'm using this library for prototype of drone attached device's information system(for drone's device operator).