Last modified by Drunk Monkey on 2024-10-09 05:32

From version 21.1
edited by Drunk Monkey
on 2022-01-27 15:27
Change comment: Uploaded new attachment "image-20220127232731-17.png", version {1}
To version 22.2
edited by Drunk Monkey
on 2022-01-27 16:11
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -23,9 +23,7 @@
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:
27 -[[image:image-20220127221835-1.png]](((
28 -
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]](((
29 29  The contents of the ffmpeg filder should look like this:
30 30  [[image:image-20220127225738-2.png]]
31 31  \\Select all the files and move them into the installation directory.  That is C:\Local\ffmpeg\ in this example.
... ... @@ -52,10 +52,15 @@
52 52  \\Click on OK, and ffmpeg will be available for use on the command line. 
53 53  [[image:image-20220127232109-14.png]]
54 54  \\Click on OK to close the Environment Variables settings, and then click on OK to close the System Properties.
55 -1.
56 -1.
57 -
58 -In newer
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
59 59  )))
60 60  
61 61  (% class="col-xs-12 col-xs-6" %)
... ... @@ -70,4 +70,22 @@
70 70  
71 71  == Video Capture ==
72 72  
76 +Open a command window, and run the following commands:
77 +
78 +>(% style="font-size:14px" %)cd Desktop
79 +>(% 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
80 +
81 +(% style="font-size:14px" %)This will create a video file called "screenCapture.mkv" on your desktop that you can replay using VLC Media Player.
82 +
83 +(% style="font-size:14px" %)The parameters to the ffmpeg command have the following meaning
84 +
85 +(% class="min" %)
86 +|-f gdigrab|gdigrab is the windows framebuffer, where the screen is stored
87 +|-t 6|capture 6 seconds of video and exit.  3600 = 1 hour, 14400 = 4 hours
88 +|-draw_mouse 1|capture the mouse pointer
89 +|-i desktop|capture the entire desktop -  remember to maximize your window
90 +|-c:v libx264rgb|this video encoder will preserve the rgb color values losslessly
91 +|-crf 0|lossless compression
92 +|-preset ultrafast|save the data as quickly as possible, don't waste too much time compressing the data
93 +
73 73  ----