-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (108 loc) · 5.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Screen Capture: ScreenCapture C++</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Screen Capture
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div><div class="header">
<div class="headertitle"><div class="title">ScreenCapture C++ </div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p ><a class="anchor" id="md__home_pushz_dev_video_app_src_libs_doc_home_page"></a>ScreenCapture is a project which permits to record your screen and your voice through your microphone. It has been developed base don the FFMpeg libraries. </p>
<h1><a class="anchor" id="autotoc_md1"></a>
Guide to usage</h1>
<h2><a class="anchor" id="autotoc_md2"></a>
Linux</h2>
<ul>
<li>Pre-requirements instructions: <div class="fragment"><div class="line">sudo apt update && sudo apt install -y build-essential libpulse-dev libxau-dev libxdmcp-dev libxcb1-dev</div>
</div><!-- fragment --><ul>
<li>Instructions to get the audio devices: ```bash pactl list short sources ``` </li>
</ul>
</li>
</ul>
<h2><a class="anchor" id="autotoc_md3"></a>
Windows</h2>
<ul>
<li>Pre-requirements instructions:<ul>
<li>MinGW 10</li>
<li>Pacman requirements: ```bash pacman -<a class="el" href="structS.html">S</a> mingw-w64-x86_64-dlfcn mingw-w64-x86_64-lame mingw-w64-x86_64-libvorbis mingw-w64-x86_64-liboggmingw-w64-x86_64-libiconv ```</li>
<li>Instructions to get the audio devices: ```bash cd ./libs/Windows/bin-video/ ffmpeg.exe -f dshow -list_devices true -i dummy ``` </li>
</ul>
</li>
</ul>
<h2><a class="anchor" id="autotoc_md4"></a>
MacOS</h2>
<ul>
<li>Pre-requirements instructions: <div class="fragment"><div class="line">brew install ffmpeg</div>
</div><!-- fragment --></li>
</ul>
<h2><a class="anchor" id="autotoc_md5"></a>
Usage - sample application</h2>
<p >You can easily start the compilation and the usage just by running the CMakeList file with a proper version of CMake and then follow the usual steps. The sample application lets you record the screen with the audio or a portion of it, just follow the instructions.</p>
<h2><a class="anchor" id="autotoc_md6"></a>
Usage - library</h2>
<p >The library start with the <code><a class="el" href="classController.html">Controller</a></code> object which needs at the creation step the audio device chosen (just look the previous instructions) and the videoUrl which is different from each operating system (on Linux system, the library can give you the name of the display just by calling the <code>DisplayInfo.showInfos()</code> method). Moreover, a SRSettings parameter is requested, which is a simple structure which needs to be filled with all the information about the recording. After all of this you can easily start the capture with <code>startCapture()</code> methods and the recording process should be fine from that moment, just be aware of the possible exception that could be thrown by the method. From that moment you can <code>pauseCapture()</code>, <code>resumeCapture()</code> and <code>stopCapture()</code>. You can retrieve the file from the folder where your executable was running.</p>
<p >More details can be retrieved from <a href="src/libs/docs/html/index.html">Doxigen documentation</a>. </p>
</div></div><!-- PageDoc -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>