Changes for page Video Capture of Computer Screens
Last modified by Drunk Monkey on 2024-10-09 05:32
From version
25.1


edited by Drunk Monkey
on 2022-01-27 16:22
on 2022-01-27 16:22
Change comment:
There is no comment for this version
To version
22.1


edited by Drunk Monkey
on 2022-01-27 15:27
on 2022-01-27 15:27
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -23,7 +23,9 @@ 23 23 24 24 1. Run the VLC installer 25 25 1. Install 7-zip 26 -1. Extract the contents of the FFmpeg zip file into a suitable directory. I going to use C:\Local\ffmpeg\ as my FFmpeg installation location for this example. You should see something similar to this:[[image:image-20220127221835-1.png]]((( 26 +1. Extract the contents of the FFmpeg zip file into a suitable directory. I going to use C:\Local\ffmpeg\ as my FFmpeg installation location for this example. You should see something similar to this: 27 +[[image:image-20220127221835-1.png]]((( 28 + 27 27 The contents of the ffmpeg filder should look like this: 28 28 [[image:image-20220127225738-2.png]] 29 29 \\Select all the files and move them into the installation directory. That is C:\Local\ffmpeg\ in this example. ... ... @@ -58,7 +58,10 @@ 58 58 [[image:image-20220127232635-16.png]] 59 59 \\If you get an error like this, either you typed in the command incorrectly (as I did in the following example) or you did not configured your user path correctly and you have to go back and correct it 60 60 [[image:image-20220127232731-17.png]] 61 -\\You are now ready to capture video 63 + 64 +1. 65 + 66 +In newer 62 62 ))) 63 63 64 64 (% class="col-xs-12 col-xs-6" %) ... ... @@ -70,49 +70,7 @@ 70 70 ))) 71 71 ))) 72 72 73 ----- 74 74 75 75 == Video Capture == 76 76 77 77 ---- 78 - 79 -(% class="row" %) 80 -((( 81 -(% class="col-xs-12 col-xs-6" style="border-right:black solid 1px;" %) 82 -((( 83 -=== Windows Video Capture === 84 - 85 -Open a command window, and run the following commands: 86 - 87 ->(% style="font-size:14px" %)cd Desktop 88 ->(% style="font-size:14px" %)ffmpeg -f gdigrab -t 6 -draw_mouse 1 -framerate 60 -i desktop -c:v libx264rgb -crf 0 -preset ultrafast screenCapture.mkv 89 - 90 -(% style="font-size:14px" %)This will create a video file called "screenCapture.mkv" on your desktop that you can replay using VLC Media Player. 91 - 92 -(% style="font-size:14px" %)The parameters to the ffmpeg command have the following meaning 93 - 94 -(% class="min" %) 95 -|-f gdigrab|gdigrab is the windows framebuffer, where the screen is stored 96 -|-t 6|capture 6 seconds of video and exit. 3600 = 1 hour, 14400 = 4 hours 97 -|-draw_mouse 1|capture the mouse pointer 98 -|-i desktop|capture the entire desktop - remember to maximize your window 99 -|-c:v libx264rgb|this video encoder will preserve the rgb color values losslessly 100 -|-crf 0|lossless compression 101 -|-preset ultrafast|save the data as quickly as possible, don't waste too much time compressing the data 102 - 103 -If you want to save the for long term storage, you can losslessly compress the file even further with the following command 104 - 105 ->(% style="font-size:14px" %)fmpeg -i screenCapture.mkv -c:v libx264rgb -crf 0 -preset veryslow screenCaptureS.mkv 106 - 107 -It'll take a while, but it will create a video file that should be less than half the size of the original. 108 -))) 109 - 110 -(% class="col-xs-12 col-xs-6" %) 111 -((( 112 -=== Mac Video Capture === 113 - 114 -sfasd 115 - 116 -asdfasdf 117 -))) 118 -)))