Hacked Video File Holds Multiple Films On YouTube

We notice there are a lot of hacks on YouTube lately, but we don’t share enough hacks about YouTube. That’s why [PortalRunner]’s latest oeuvre is interesting: it’s a video that gives you a different picture depending on the selected bitrate.

Watch it at 1080p, you get one thing; at 360p, the image is completely different. The hack relies on understanding precisely how YouTube cuts down videos — because if you haven’t uploaded a video there before, you might not know the creator doesn’t have to encode all of those options; they’re invited to upload in the highest possible definition, and YouTube reencodes the rest.

1080p and 720p films are shown at 60FPS, while 360p and below are 30FPS– so that’s one way to hide the difference. Since YouTube drops every second frame when encoding the lower-quality video, images you want in the HD version can be kept only in even-numbered frames that YouTube will remove. That seems easy enough, but how does [PortalRunner] avoid the low-quality image flickering in at 30 FPS when watching in higher definition?

Continue reading “Hacked Video File Holds Multiple Films On YouTube”

Junked Inspection Camera Given 15-Year Face-lift With Raspberry Pi

The nice thing with having a hacker cred is that family and friends are always on the lookout for stuff they think might be useful to you. [Craig Hollabaugh]’s son-in-law found an inspection camera and thought it would be handy for his hobby work. The MagniSight Explorer was first introduced in 2001. It is good for surface mount board work and inspection, except that its analog 480p video is quite dated by today’s standards. So [Craig] upgraded it for crystal clear 1080P/30 video and 5 megapixel images using a $35 Raspberry Pi 2 and a $26 Raspberry Pi Camera Module. After the upgrade, the unit is now a great tool for SMT rework.

There’s not a lot to the upgrade, but [Craig] gives a nice rundown in the 15 minute video of the MagniSight’s internals. He shows us the original analog camera module and its video card, which is able to do some additional processing like black and white output and reverse video (negative). As he mentions, it would be easy for him to do the same via software on the Raspberry Pi. A video camera lens takes care of magnification and two shafts coupled to it via flat belts (rubber bands?) take care of zoom and focus. A front coated mirror angled 45 degrees in front of the lens turns the optical path 90 degrees to allow the lens/camera to “look down”. After experimenting a bit to find the correct focal spot behind the lens unit for the Raspberry Pi camera, he covered the camera module with insulation tape and then just glued it to the old camera mount. After hooking it up to an HDMI monitor, the results are quite nice and he reckons he can easily work with components down to 0402 in size.

He’s got a couple of more upgrades in mind to make the system even better. He plans to replace the existing compact fluorescent lamps with a string of LED’s which will provide more uniform illumination. Plus, he can control their brightness, and selectively turn them on or off to get the optimum lighting. The other interesting upgrade would be to add stepper motors to the X-Y translation stage and automate their movement. After looking up a board file and its BoM, he may even be able to search for a part designator and move the stage to bring the part into focus.

Continue reading “Junked Inspection Camera Given 15-Year Face-lift With Raspberry Pi”