Controller for HDMI to 30-pin display connector converter
You'll most likely want to find an off the shelf chip for this. This is not possible to do with a microcontroller, and doing it with an FPGA is likely possible, but extremely expensive.