How do people use videofiles as a capture source for cameras?
Say you want to record yourself playing "Candy Crush". The easiest way to do this is to download an android emulator here: http://www.bluestacks.com/
And then download the game you want to record and a screen recorder. 
(I recommend OBS studio.)