How can I record the phone screen from the command prompt? I have been trying to record my phone screen (Nexus 5) through command prompt.  I have also downloaded the SDK. For some unknown reason I am unable to open or play the file saved using this script:

$adb shell /sdcard/video.mp4
You can exec this command from the pc

$ adb shell screenrecord /sdcard/video.mp4


Need Android 4.4 (which you should have). 

DevBytes: Android 4.4 - Recording App Videos: http://youtu.be/ETzRxxOK_bs