Changes for page Video Capture of Computer Screens
Last modified by Drunk Monkey on 2024-10-09 05:32
From 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
To version
26.1


edited by Drunk Monkey
on 2022-01-27 16:23
on 2022-01-27 16:23
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -60,10 +60,7 @@ 60 60 [[image:image-20220127232635-16.png]] 61 61 \\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 62 62 [[image:image-20220127232731-17.png]] 63 - 64 -1. 65 - 66 -In newer 63 +\\You are now ready to capture video 67 67 ))) 68 68 69 69 (% class="col-xs-12 col-xs-6" %) ... ... @@ -75,7 +75,49 @@ 75 75 ))) 76 76 ))) 77 77 75 +---- 78 78 79 79 == Video Capture == 80 80 81 81 ---- 80 + 81 +(% class="row" %) 82 +((( 83 +(% class="col-xs-12 col-xs-6" style="border-right:black solid 1px;" %) 84 +((( 85 +=== Windows Video Capture === 86 + 87 +Open a command window, and run the following commands: 88 + 89 +>(% style="font-size:14px" %)cd Desktop 90 +>(% 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 91 + 92 +(% style="font-size:14px" %)This will create a video file called "screenCapture.mkv" on your desktop that you can replay using VLC Media Player. 93 + 94 +(% style="font-size:14px" %)The parameters to the ffmpeg command have the following meaning 95 + 96 +(% class="min" %) 97 +|-f gdigrab|gdigrab is the windows framebuffer, where the screen is stored 98 +|-t 6|capture 6 seconds of video and exit. 3600 = 1 hour, 14400 = 4 hours 99 +|-draw_mouse 1|capture the mouse pointer 100 +|-i desktop|capture the entire desktop - remember to maximize your window 101 +|-c:v libx264rgb|this video encoder will preserve the rgb color values losslessly 102 +|-crf 0|lossless compression 103 +|-preset ultrafast|save the data as quickly as possible, don't waste too much time compressing the data 104 + 105 +If you want to save the for long term storage, you can losslessly compress the file even further with the following command 106 + 107 +>(% style="font-size:14px" %)fmpeg -i screenCapture.mkv -c:v libx264rgb -crf 0 -preset veryslow screenCaptureS.mkv 108 + 109 +It'll take a while, but it will create a video file that should be less than half the size of the original. 110 +))) 111 + 112 +(% class="col-xs-12 col-xs-6" %) 113 +((( 114 +=== Mac Video Capture === 115 + 116 +sfasd 117 + 118 +asdfasdf 119 +))) 120 +)))