Recording games on retroarch

hi I have seen the recording option in retroarch 1.2.2 how do I use it? I have tried using shadowplay and action to try and record goldeneye in game but have had no luck.