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


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


edited by Drunk Monkey
on 2022-01-27 15:21
on 2022-01-27 15:21
Change comment:
Uploaded new attachment "image-20220127232109-14.png", version {1}
Summary
Details
- Page properties
-
- Content
-
... ... @@ -23,43 +23,11 @@ 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]]((( 27 -The contents of the ffmpeg filder should look like this: 28 -[[image:image-20220127225738-2.png]] 29 -\\Select all the files and move them into the installation directory. That is C:\Local\ffmpeg\ in this example. 30 -[[image:image-20220127225847-3.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 + 31 31 32 32 ))) 33 -1. Next, add the location of the ffmpeg\bin directory to the system path. This is necessary so you can run the command from the command line from a command shell. 34 -\\Go to the file explorer, and look in the left hand folder list for "This PC" or "My PC" or whatever it is called on your system. 35 -[[image:image-20220127230601-5.png]] 36 -\\When you find it, right click in it to bring up the local context menu and select Properties 37 -[[image:image-20220127230404-4.png]] 38 -\\In newer versions of Windows, the properties page looks like this: 39 -[[image:image-20220127230803-6.png]] 40 -\\Look for the "Advanced system settings" (right middle in the above screenshot) and click on it 41 -[[image:image-20220127230949-7.png]] 42 -\\Select "Environment Variables" and the following screen will appear 43 -[[image:image-20220127231106-8.png]] 44 -\\In the top half of the User variables section is an entry called "Path". Select it and click on "Edit". Do not edit the path of the System variables section unless you know what you are doing. 45 -[[image:image-20220127231323-9.png]] 46 -\\Click on "New" and add the following "C:\Local\ffmpeg\bin" 47 -[[image:image-20220127231805-12.png]] 48 -\\and then click on the "Move up" button until that new entry appears at the top of the list 49 -[[image:image-20220127231836-13.png]] 50 -\\Click on OK, and ffmpeg will be available for use on the command line. 51 -[[image:image-20220127232109-14.png]] 52 -\\Click on OK to close the Environment Variables settings, and then click on OK to close the System Properties. 53 - 54 -1. Start a command line window by typing cmd.exe into the search bar and open the Command Prompt 55 -[[image:image-20220127232411-15.png]] 56 - 57 -1. in that command prompt, type in "ffmpeg" and you should see this: 58 -[[image:image-20220127232635-16.png]] 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 -[[image:image-20220127232731-17.png]] 61 -\\You are now ready to capture video 62 -))) 63 63 64 64 (% class="col-xs-12 col-xs-6" %) 65 65 ((( ... ... @@ -70,33 +70,7 @@ 70 70 ))) 71 71 ))) 72 72 73 -(% class="row" %) 74 -((( 75 -(% class="col-xs-12 col-xs-6" style="border-right:black solid 1px;" %) 76 -((( 77 -== Windows Video Capture == 78 78 79 - Opena command window,and runthefollowing commands:42 +== Video Capture == 80 80 81 ->(% style="font-size:14px" %)cd Desktop 82 ->(% 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 83 - 84 -(% style="font-size:14px" %)This will create a video file called "screenCapture.mkv" on your desktop that you can replay using VLC Media Player. 85 - 86 -(% style="font-size:14px" %)The parameters to the ffmpeg command have the following meaning 87 - 88 -(% class="min" %) 89 -|-f gdigrab|gdigrab is the windows framebuffer, where the screen is stored 90 -|-t 6|capture 6 seconds of video and exit. 3600 = 1 hour, 14400 = 4 hours 91 -|-draw_mouse 1|capture the mouse pointer 92 -|-i desktop|capture the entire desktop - remember to maximize your window 93 -|-c:v libx264rgb|this video encoder will preserve the rgb color values losslessly 94 -|-crf 0|lossless compression 95 -|-preset ultrafast|save the data as quickly as possible, don't waste too much time compressing the data 96 -))) 97 - 98 -(% class="col-xs-12 col-xs-6" %) 99 -((( 100 -== Mac Video Capture == 101 - 102 102 ----
- image-20220127232411-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.pdwalker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.5 KB - Content
- image-20220127232635-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.pdwalker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.4 KB - Content
- image-20220127232731-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.pdwalker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.1 KB - Content