@Mr.Madguy
VLC can record from screen via device called "screen://"
But only with
out Audio - At least, I didn't succeed to record the Screen with Audio via 'VLC', neither.
Then I tried several ScreenRecorder from the Web, but couldn't find anything, that I really liked.
That's why I wrote
'RunFFmpeg', that does anything You want to do with 'FFmpeg', among others
ScreenRecording
with Audio, the entire Desktop, an App's Window or Parts of the Screen, as You like it.
You only have to modify the FFmpeg-CommandLine, as decribed in my Links above - easy !
Hint: Currently, there are two Limitations with 'RunFFmpeg':
1. After some Hours(!) of Processing, the ProcessOutput freezes; probably an Overflow
of the Lines in the ProcessOutput's 'TMemo'.
2. Recordings to AVI-Files can be finished, simply by Terminating the FFmpeg-Process (as it is done now), but
mp4-Files, must be finished by Sending a <q> (= quit) to the FFmpeg-ProcessInput, otherwise
You get a VideoFile, that cannot be played.
Shouldn't be a big Problem to implement this in the current Code.
If you talk about >720p YouTube videos, then yeah, they don't contain audio.
How do You know this? Try the
'4k Video Downloader':
https://www.4kdownload.com/.
It downloads - with very, very few Exceptions - any YT-Video with Audio and selectable VideoQuality.
Some of the YT-Videos come optionally with a VideoCodec, that even FFmpeg's Player 'ffplay.exe' can't decode (yet).
In this Case, You will hear only the AudioStream w/o Video, when Playing it.
Solution:
1. Select an other VideoCodec, when Downloading
2. Wait, until 'FFmpeg' (and thus my
FFPlay4Laz-Player ) implements that Codec, too.