Arthur's Blog

Hacking Americhip

1 year ago

Americhip produce promotional material that includes an embedded video.  That is, an embedded video inside a paper leaflet that is handed out at trade conventions and the like.  If you pull this paper leaflet apart, you will find a good quality LCD screen, with a processer and memory all in one unit.  I haven't pulled this apart as I'm worried that I'll remove some of the chips as it is very well glued down.  There is also a usb socket, speaker and four buttons that let you select a video.

If you plug this leaflet/video player into a computer the screen lights up and starts showing the battery charging.  At this point you need to enter a password so that you can access the file system.  The password for mine was three buttons from top to bottom being pressed one after the other.  I guess this could be different for different promotions, so you should probably just try different combinations; there aren't that many combinations so you should find it in the end.  When you correctly enter the password, the screen changes to some zzzs and a monitor graphic.  You can now mount your USB drive on your PC.

Open the USB drive, that should now appear on your computer.  Inside the root there is a 0.avi, this is the video that starts up at the beginning when the leaflet switches on.  There is a VIDEO directory, open this up.  Inside here there are four videos labelled 1.avi, 2.avi,...

Unfortunately you can't just drop any old video into here and replace the videos that used to exist.  Instead you must transcode your videos so that they are 320x240 in resolution and are using the XVID codec for the video.  To do this, I ran the following command in a terminal:

mencoder -oac lavc -ovc lavc -vf scale=320:240 -o 1.avi -ffourcc XVID myVideo.avi

This should then transcode to 320x240 and use XVID.  If you don't have mencoder installed, then run the following first:

sudo apt-get install mencoder