[WIP] Proper Audio/Video Dumping

Screwed up the previous PR, replacing with new PR

Old notes: https://github.com/dolphin-emu/dolphin/pull/1183
Uh, the game is allowed to resize the video output per frame. So we either have to detect this, or we have to pass this resolution as parameter