Do you have the actual remote?
Using an IR receiver on the Arduino to get the codes would be a lot easier.