Ah! now I understand what you are trying to do. I don't think you can record via HDMI. If you are using a TV box e.g Vodafone or Sky or something similar, you should check if it's supports live recording.
Do you know any another way of recording (Legally or Illegally). Please let me know...
My LG Tv is SmartTV and I think recording should be possible on Smart TV's