<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">1. Gstreamer 0.10 패키지 설치</span></p>
<div><span style="color: #ffffff;">&nbsp;</span></div>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ sudo apt-get install libglib2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">2.Gstreamer 0.10 서버 &amp; 스크립트 다운로드</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ wget http://gstreamer.freedesktop.org/src/gst-rtsp/gst-rtsp-0.10.8.tar.bz2</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ bzip2 -d gst-rtsp-0.10.8.tar.bz2</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ tar xvf gst-rtsp-0.10.8.tar</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ cd gst-rtsp-0.10.8</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">3. 빌드</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ ./configure</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ make</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">4. 서버 실행 (스트리밍 시작)</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $ cd examples</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; $</span><span style="font-family: &quot;맑은 고딕&quot;, sans-serif; font-size: 10pt; color: #ffffff;">&nbsp;</span><span style="font-family: &quot;맑은 고딕&quot;, sans-serif; font-size: 10pt; text-align: justify; color: #ffffff;">raspivid -t 0 -h 720 -w 1280 -fps 25 -b 2000000 -vf -hf -n -o - | gst-launch -v fdsrc ! h264parse ! gdppay ! tcpserversink host=127.0.0.1 port=5000 | ./test-launch "( tcpclientsrc host=127.0.0.1 port=5000 ! gdpdepay ! avdec_h264 ! rtph264pay name=pay0 pt=96 )"</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="font-family: &quot;맑은 고딕&quot;, sans-serif; font-size: 10pt; text-align: justify; color: #ffffff;">&nbsp; 수행되는 process 확인 : $ ps -ef | more -&gt; pi 계정으로 다음과 같이 3개의 process가 실행된다.</span></p>
<div class="autosourcing-stub-extra" style="background-color: #969696; position: absolute; opacity: 0; line-height: 1.5; font-family: 돋움; text-align: justify;">
   <p style="margin-top: 11px; margin-bottom: 7px; padding: 0px; line-height: 1.5; font-family: dotum;"><strong style="padding: 0px 7px 0px 0px;"><span style="color: #ffffff;">[출처]</span></strong><span style="color: #ffffff;">&nbsp;</span><a href="http://blog.naver.com/lapint/220330786481" target="_blank" style="text-decoration-line: none;"><span style="color: #ffffff;">Gstreamer 설치하기</span></a><span style="padding: 0px 7px 0px 5px; color: #ffffff;">|</span><strong style="padding: 0px 7px 0px 0px;"><span style="color: #ffffff;">작성</span></strong></p>
   <p style="margin-top: 11px; margin-bottom: 7px; padding: 0px; line-height: 1.5; font-family: dotum;"><strong style="padding: 0px 7px 0px 0px;"><span style="color: #ffffff;">자</span></strong><span style="color: #ffffff;">&nbsp;</span><a href="http://blog.naver.com/lapint" target="_blank" style="text-decoration-line: none;"><span style="color: #ffffff;">라핀트</span></a></p>
   </div>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696; text-align: center; clear: none; float: none;"><span class="imageblock" style="border: 1px solid rgb(221, 221, 221); padding: 5px; margin: 5px 0px; display: inline-block; width: 630px; height: auto; max-width: 100%;"><img src="https://t1.daumcdn.net/cfile/tistory/2704494958D639C625" width="630" filename="gstreamer-ps.png" filemime="image/jpeg" style="border: 0px; cursor: pointer; max-width: 100%; height: auto;" /></span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp;</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; 수행되는 네트워크 관련 상태를 확인해 본다. $ netstat -an | more</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; - port 8554, 5000가 동작함을 다음과 같이 확인할 수 있다.</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696; text-align: center; clear: none; float: none;"><span class="imageblock" style="border: 1px solid rgb(221, 221, 221); padding: 5px; margin: 5px 0px; display: inline-block; width: 630px; height: auto; max-width: 100%;"><img src="https://t1.daumcdn.net/cfile/tistory/2509343958D63AD218" width="630" filename="gstreamer-netstat.png" filemime="image/jpeg" style="border: 0px; cursor: pointer; max-width: 100%; height: auto;" /></span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">5. 확인</span><br /></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; - PC에서 다음 팟 플레이어를 설치하고, 실행한다.</span></p>
<p style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">&nbsp; - Control-U를 누르고 주소 열기를 실행하고 rtsp://라즈베리파이IPaddress:8554/test</span></p>
<p><br style="color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #969696;" /><br style="color: #666666; font-family: Dotum, Verdana, AppleGothic, sans-serif; background-color: #969696;" /><span style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696; color: #ffffff;">출처:&nbsp;</span><a href="https://talanton.tistory.com/76" target="_blank" style="text-decoration-line: none; font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696;"><span style="color: #ffffff;">https://talanton.tistory.com/76</span></a><span style="font-family: dotum, verdana, applegothic, sans-serif; background-color: #969696; color: #ffffff;">&nbsp;[달란트(Talanton)]</span></p>