Vertical sync
I'm having a weird sync problem with one particular screen. It's a dismantled screen from a cheap car rear camera monitor with composite input. The display is not great, but it works fine with other devices (Raspberry Pi, game consoles etc) however with esp_8_bit (or espflix for that matter) the image is crisp but it slowly scrolls vertical (same result with both PAL and NTSC). The output is crisp and steady on other displays so I'm thinking it must be something with this specific combination - and most likely the sync signal passed from the esp32 to the display or maybe the resolution. Sync signals and timing have never been my strong suit, so I haven't been able to find where in the source code the resolution and/or sync can be adjusted. Can anyone point me in the right direction?
Have a look in video.h Each line of video is created there and include the horizontal sync as well as the vertical sync.
i have the same issue. video keeps scrolling.
Found out that modding the video.h file and reduce pal and ntsc by one scanline stops the scrolling. Now I still need to get a more clear image. It all looks fuzzy with barely color.
Glad it worked for you :) I found the lines in Corn64 suggestion too, but for my screen I could only make the scrollign go slower or the opposite direction by tweaking the scanlines. For the color and fuzzy-ness problem, that could be ordinary interference. Are you using shielded cables?
no i don't use shielded wire. just ordinary wire but with a length op 5cm. the esp is build into the screen. changing this lines made a huge difference. #define SYNC_SIZE 20 //Lowering this to like 35 can help sync issues at times #define WHITE_LEVEL IRE(90)
now the video is clean and colorfull on NTSC. pal had "some" color from the start but only used a part of the screen. NTSC is full screen and smoother then pal.