Digital recording
In digital recording, an audio or video signal is converted into a stream of discrete numbers representing the changes over time in air pressure for audio, or chroma and luminance values for video. This number stream is saved to a storage device. To play back a digital recording, the numbers are retrieved and converted back into their original analog audio or video forms so that they can be heard or seen.
— Wikipedia
I use digital recording using ffmpeg script, to save screencasts/audio and
save them into Videos/record
directory.