Android 4.4+: how to record video from screen

I needed to record the work of my app and was looking for various possibilities.
Most of them included ROOTing my device, I wanted to avoid it.
Some offered possibility to make screenshots fast enough to make video compilation later.

I was looking for a native possibility to record video of my app working. This feature appeared in Android only in OS version 4.4.

It is pretty simple to use:
1. Install Android Developer Kit
2. Execute the following command:

3. Crtl+C to cancel the process
4. then you will be able to download the video from your device.

Here is the result of my work

Note: you can specify bitrate and time of record.