Arduino Does SDI Video With FPGA Help

If you are running video around your home theater, you probably use HDMI. If you are running it in a professional studio, however, you are probably using SDI, Serial Digital Interface. [Chris Brown] looks at SDI and shows a cheap SDI signal generator for an Arduino.

On the face of it, SDI isn’t that hard. In fact, [Chris] calls it “dead simple.” The problem is the bit rate which can be as high as 1.485 Gbps for the HD-SDI standard. Even for a super fast processor, this is a bit much, so [Chris] turned to the Arduino MKR Vidor 4000. Why? Because it has an FPGA onboard. Alas, the FPGA can’t do more than about 200 MHz, but that’s fast enough to drive an external Semtech GS296t2 serializer which is made to drive SDI signals.

The resulting project contains the Arduino, the serializer, a custom PCB, and both FPGA and microcontroller code. While the total cost of the project was a little under $200, that’s still better than the $350 to $2000 for a commercial SDI signal generator.

If you want to play along, the files are out on GitHub. We used the Vidor back in 2018 when it first came out. If you need a quick start on FPGAs, there’s always our boot camp.

Generating PAL Video With A Heavily Overclocked Pi Pico

Barely a week goes by without another hack blessing the RP2040 with a further interfacing superpower. This time it’s the turn of the humble PAL standard composite video interface. As many of us of at least a certain vintage will be familiar with, the Phase Alternate Line (PAL to friends) standard was used mainly in Europe (not France, they used SECAM like Russia, China, and co) and Australasia, and is a little different from the much earlier NTSC standard those in the US may fondly recollect. Anyway, [Fred] stresses that this hack isn’t for the faint-hearted, as the RP2040 needs one heck of an overclock (up to 312 MHz, some 241% over stock) to be able to pull off the needed amount of processing grunt. This is much more than yet another PIO hack.

The dual cores of the RP2040 are really being pushed here. The software is split into high and low-level functions, with the first core running rendering the various still images and video demos into a framebuffer. The second core runs in parallel and deals with all the nitty-gritty of formatting the frame buffer into a PAL-encoded signal, which is then sucked out by the DMA and pushed to the outside world via the PIO. There may be a few opportunities for speeding the code up even more, but [Fred] has clearly already done a huge amount of work there, just to get it working at all. The PIO code itself is very simple but is instructive as a good example of how to use multiple chained DMA channels to push data through the PIO at the fastest possible rate.

Continue reading “Generating PAL Video With A Heavily Overclocked Pi Pico”

Closeup of a film restorer's hand holding a 35mm film print to check for defects as it goes into a film scanner

35mm Film Restoration Process Explained

For a large part of the 20th century, motion pictures were distributed on nitrate film. Although cheaper for the studios, this film was highly flammable and prone to decay. On top of that, most film prints were simply discarded once they had been through their run at the cinema, so a lot of film history has been lost.

Sometimes, the rolls of projected film would be kept by the projectionist and eventually found by a collector. If the film was too badly damaged to project again, it might still get tossed. Pushing against this tide of decay and destruction are small groups of experts who scan and restore these films for the digital age.

still showing the difference in quality between a 16mm print of a 35mm animated movie and a new scan of the 35mm original
The quality difference between a smaller-format print and the original restored negative can be startling

The process is quite involved – starting with checking every single frame of film by hand and repairing any damaged perforations or splices that could come apart in the scanner. Each frame is then automatically scanned at up to 10K resolution to future-proof the process before being painstakingly digitally cleaned.

The real expertise is in knowing what is damage or dirt, and what is the character of the original film. Especially in stop-motion movies, the subtle changes between frames are really part of the original, so the automatic clean-up tools need to be selectively reined in so as not to lose the charm and art of the film-makers.

The results are quite astonishing and we all have teams like this to thank for protecting our cultural heritage.

If you’re interested in watching the process, then check out the video after the break. If you fancy a go at automatic film digitising yourself (preferably not on unique historical prints!) then we’ve shown projects to do just that in the past.

Thanks to [Cliff Claven] for the tip.

Continue reading “35mm Film Restoration Process Explained”

What’s Inside A Super-Cheap Projector? Not A Lot!

[Raymond Ma] has a penchant for browsing Aliexpress and purchasing curious pieces of hardware that are as high on promises as they are low on cost. This is a process he aptly sums up with his opening line of “I should have known better, but…” Luckily, these devices all get torn down and analyzed so we can each enjoy and share a little slice of disappointment.

One such item is the $30 USD YT200 mini projector, which at 320×180 is almost as low on pixels as it is on cost. Still, [Raymond] looks inside to find out if there is perhaps more hacking potential than there is image resolution.

The YT200 lacks any kind of normal video input, and the anemic 15 lumen output is brazenly branded as a feature to protect children’s eyes from excessive brightness.

Light from the single LED is collimated with some Fresnel lenses. That light passes through an LCD panel, and from there the image bounces off a mirror and through a focusing lens housed in a spiral guide. Focal adjustments are made with a small lever, and the whole assembly provides just enough friction to prevent the lens from moving out of focus on its own.

The device actually does work fairly well for what it is: a way to play a range of different media types off a connected USB storage device. As long as one is in a dark room, anyway.

[Raymond] hopes to find some alternate use for the device. Might we suggest projecting into a frosted glass globe to create a sort of spherical display? A spooky eye animation on a USB stick might pair well with that.

Printed Film Camera Gets 10 Seconds Out Of A 35mm Roll

When the British budget electronics brand Amstrad released their first budget VHS camcorder in the mid 1980s, they advertised it as making a filmmaker out of everyone. Now everyone truly is a filmmaker of sorts with their always-handy mobile phones, even though possessing a camera does not give you the talent of Steven Spielberg.

Such easy access to video hasn’t dimmed the allure of old-style film though, and there is a band of enthusiasts who seek out the older medium. [Joshua Bird] is one, and he’s produced a rather special 3D printed camera that can capture short videos on a standard roll of 35mm camera film. The downside is that, at the going rate, filming your masterpiece comes out to approximately $600 USD for each 10 minutes of footage. Better keep that dense exposition to a minimum.

The two most important mechanisms in a movie camera are the shutter and the film advance. The first is a disc that spins once a frame with an arc-shaped aperture over a section of it to let the light through, while the second is a hook that engages with the film once a frame after the shutter aperture has passed, to advance it to the next frame. Designing these to work in printed form is no easy task, and [Joshua] takes the reader through the various twists and turns in their development. Beyond that he takes a novel approach to a through-the-lens viewfinder, eschewing a split prism for an angled mirror on the shutter disk.

With each frame taking a fraction of the 35mm frame it’s clear from the video below that this doesn’t deliver the highest quality image. But that’s not the point of a device like this, above all it’s a working movie camera that he made himself. Since some of us have interests in that direction, dare we say we’re envious? Meanwhile, this isn’t the first 3D printed movie camera we’ve brought you.

Continue reading “Printed Film Camera Gets 10 Seconds Out Of A 35mm Roll”

The Story Behind The TVGuardian Curse Catcher

The recent flurry of videos and posts about the TVGuardian foul language filter brought back some fond memories. I was the chief engineer on this project for most of its lifespan. You’ve watched the teardowns, you’ve seen the reverse engineering, now here’s the inside scoop.

Gumby is Born

TVG Model 101 Gumby (Technology Connections)

Back in 1999, my company took on a redesign project for the TVG product, a box that replaced curse words in closed-captioning with sanitized equivalents. Our first task was to take an existing design that had been produced in limited volumes and improve it to be more easily manufactured.

The original PCB used all thru-hole components and didn’t scale well to large quantity production. Replacing the parts with their surface mount equivalents resulted in Model 101, internally named Gumby for reasons long lost. If you have a sharp eye, you will have noticed something odd about two parts on the board as shown in [Ben Eater]’s video. The Microchip PIC and the Zilog OSD chip had two overlapping footprints, one for thru-hole and one for SMD. Even though we preferred SMD parts, sometimes there were supply issues. This was a technique we used on several designs in our company to hedge our bets. It also allowed us to use a socketed ICs for testing and development. Continue reading “The Story Behind The TVGuardian Curse Catcher”

VHS-Decode Project Could Help Archival Efforts

Archiving data from old storage media can be a highly complex process. It can be as simple as putting a disk in an old drive and reading out the contents. These days, though, the state of the art is more complex, with advanced techniques helping to recover the most data possible. The VHS-Decode project is an effort to improve the archiving of old analog video tapes.

The project is a fork of the LaserDisc-focused ld-decode, started by [Chad Page] back in 2013, which readers may recall was used for the Domesday Duplicator — a device aimed to recover data from the BBC’s ancient Domesday LaserDiscs. VHS-Decode is designed to capture the raw RF signals straight out of a tape head, which are the most direct representation of the signals on the physical media. From there, these signals can be processed in various ways to best recover the original audio and video tracks. It’s much the same technique as is used by floppy disk recovery tools like the FluxEngine.

Despite the VHS name, the code currently works with several tape formats. VHS, S-VHS and U-Matic are supported in PAL and NTSC formats, while Betamax, Video8 and High8 tape capture remains a work in progress. Using the code requires a video tape player with test points or traces that make signals from the head accessible. Capturing those signals is achieved via a Domesday Duplicator hardware device, or alternatively a Conexant CX2388x analog-to-digital converter, often found in many old PCI TV tuner cards. Various techniques can then be used to turn the captured signals into watchable video files.

We love a good archival project, and VHS-Decode is clearly a useful tool when it comes to salvaging old video tapes. Continue reading “VHS-Decode Project Could Help Archival Efforts”