href = Hypertext REFerence

rel = RELation

type


<head>

    <link rel="stylesheet" type="text/css" href="./style.css" />

</head>


[링크 : http://www.w3schools.com/tags/tag_link.asp]

'Programming > javascript & HTML' 카테고리의 다른 글

div span 블럭구조 및 원형테두리  (0) 2015.09.23
ul / li로 메뉴 꾸미기  (0) 2015.09.16
node.js / angular.js ...  (0) 2015.09.11
html5  (0) 2015.09.10
html event  (0) 2015.09.10
Posted by 구차니
embeded/raspberry pi2015. 9. 14. 10:00

해보려니 의존성 문제랑 여러가지 문제로 구동 불가..

omx 어쩌구가 나오는데.. 아무튼 실행하려고 하면 에러가 나면서 실행이 안된다 -_ㅠ


WARNING: erroneous pipeline: no element "h264parse" 

[링크 : http://www.onepitwopi.com/raspberry-pi/gstreamer-1-2-on-the-raspberry-pi/]

---


ㅎㄷㄷ 정규식으로 검색이라니 머지?

라즈베리 2 에서 해보려니.. gst-launch 로 되네..


서버

$ raspivid -t 0 -h 720 -w 1280 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=라즈베리파이IP port=5000


클라이언트

$ gst-launch-1.0 -v tcpclientsrc host=라즈베리파이IP port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

[링크 : http://www.rasplay.org/?p=5607]


In simple form, a PIPELINE-DESCRIPTION is a list of elements separated by exclamation marks (!). Properties may be appended to elements, in the form property=value.

[링크 : http://manpages.ubuntu.com/manpages/trusty/man1/gst-launch-1.0.1.html]


[링크 : http://www.aftermath.kr/entry/GStreamer-RTSP-with-RPi]


$ sudo apt-get install gstreamer1.0

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

주의, 정규식 'gstreamer1.0'에 대해 'libgstreamer1.0-dev'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-base'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-audiosource'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-audiosink'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'libgstreamer1.0-0'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-visualization'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'libgstreamer1.0-0-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-omx-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-ugly'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-base-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-base-doc'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-gnomevfs'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-doc'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-bad'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-base-apps'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-tools'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-omx'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-libav'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-good'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-bad-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-bad-doc'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-videosink'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-videosource'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-pulseaudio'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-ugly-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-good-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-ugly-doc'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-alsa'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-plugins-good-doc'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-libav-dbg'을(를) 선택합니다

주의, 정규식 'gstreamer1.0'에 대해 'gstreamer1.0-x'을(를) 선택합니다

주의, 'gstreamer1.0-visualization' 대신에 'gstreamer1.0-plugins-good' 패키지를 선택합니다

gstreamer1.0-alsa 패키지는 이미 최신 버전입니다.

gstreamer1.0-libav 패키지는 이미 최신 버전입니다.

gstreamer1.0-plugins-bad 패키지는 이미 최신 버전입니다.

gstreamer1.0-plugins-base 패키지는 이미 최신 버전입니다.

gstreamer1.0-plugins-good 패키지는 이미 최신 버전입니다.

gstreamer1.0-x 패키지는 이미 최신 버전입니다.

libgstreamer1.0-0 패키지는 이미 최신 버전입니다.

libgstreamer1.0-0 패키지 수동설치로 지정합니다.

다음 패키지를 더 설치할 것입니다:

  autopoint debhelper gettext gir1.2-gstreamer-1.0 html2text intltool-debian

  libelfg0 libgettextpo0 libglib2.0-bin libglib2.0-dev libglib2.0-doc

  libmail-sendmail-perl libpcre3-dev libpcrecpp0 libsys-hostname-long-perl

  libunistring0 po-debconf

제안하는 패키지:

  dh-make gettext-doc gstreamer1.0-gnomevfs devhelp libmail-box-perl

다음 새 패키지를 설치할 것입니다:

  autopoint debhelper gettext gir1.2-gstreamer-1.0 gstreamer1.0-doc

  gstreamer1.0-libav-dbg gstreamer1.0-omx-dbg gstreamer1.0-plugins-bad-dbg

  gstreamer1.0-plugins-bad-doc gstreamer1.0-plugins-base-apps

  gstreamer1.0-plugins-base-dbg gstreamer1.0-plugins-base-doc

  gstreamer1.0-plugins-good-dbg gstreamer1.0-plugins-good-doc

  gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-dbg

  gstreamer1.0-plugins-ugly-doc gstreamer1.0-pulseaudio gstreamer1.0-tools

  html2text intltool-debian libelfg0 libgettextpo0 libglib2.0-bin

  libglib2.0-dev libglib2.0-doc libgstreamer1.0-0-dbg libgstreamer1.0-dev

  libmail-sendmail-perl libpcre3-dev libpcrecpp0 libsys-hostname-long-perl

  libunistring0 po-debconf

다음 패키지를 업그레이드할 것입니다:

  gstreamer1.0-omx

1개 업그레이드, 34개 새로 설치, 0개 제거 및 88개 업그레이드 안 함.

41.4 M바이트 아카이브를 받아야 합니다.

이 작업 후 114 M바이트의 디스크 공간을 더 사용하게 됩니다.

계속 하시겠습니까 [Y/n]? 



Posted by 구차니
개소리 왈왈/블로그2015. 9. 14. 08:53

이제는 싸이월드.. 잊혀져 버린 기억이 되었지만..

그래도 이렇게 하나둘씩 접혀지고.. 백업 서비스를 제공하다니..

사진첩까지 접히게 되면 얼마나 아쉬울까... ㅠㅠ




[링크 : http://www.cyworld.com/bcenter/cybackup/html/backupCenter.asp]

'개소리 왈왈 > 블로그' 카테고리의 다른 글

크아앙 티스토리!!!  (0) 2015.10.05
방문자 급감 ㅠㅠ  (0) 2015.09.17
기분전환겸 스킨 변경  (0) 2015.09.04
네이버가.. 50% 돌파?  (2) 2015.07.31
출장 3일의 여파?  (2) 2015.07.16
Posted by 구차니
Linux API/v4l2015. 9. 13. 16:03

API는 아니지만 분류할 곳이 모호하니..


일단 라즈베리 파이에서 CSI를 통해 영상을 받아서 

kernel space v4l driver(offcial)로 받으려고 했던 노가다는 실패했는데

user space v4l로 하는 글들이 갑자기 잔뜩 보여서 나중에 시도할 예정..


엥? 인증키?

V4L2(Video4Linux2) 드라이버 활성화

pi@openmake ~ $ sudo modprobe bcm2835-v4l2


V4L2(Video4Linux2) 인증키 설치

pi@rasplay ~ $ wget http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc && sudo apt-key add ./lrkey.asc


[링크 : http://www.rasplay.org/?p=6257] 

[링크 : http://www.rasplay.org/?p=6277]


How to install or upgrade UV4L on Ubuntu Raring Ringtail


To install UV4L open a terminal and type the following commands:

$ wget http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc && sudo apt-key add ./lrkey.asc


Add the following line to the file /etc/apt/sources.list :

deb [arch=amd64] http://www.linux-projects.org/listing/uv4l_repo/raring/ raring main


$ sudo apt-get update

$ sudo apt-get install libfuse3 uv4l


Now the UV4L core component is installed. 


Optionally, each driver can be installed separately from the core module:


$ sudo apt-get install uv4l-uvc

$ sudo apt-get install uv4l-xscreen

$ sudo apt-get install uv4l-mjpegstream

[링크 : http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=12]


$ wget http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc && sudo apt-key add ./lrkey.asc

$ sudo vi /etc/apt/sources.list

deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy main

$ sudo apt-get install uv4l uv4l-raspicam


$ sudo apt-get install uv4l-raspicam

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

다음 새 패키지를 설치할 것입니다:

  uv4l-raspicam

0개 업그레이드, 1개 새로 설치, 0개 제거 및 4개 업그레이드 안 함.

1,471 k바이트 아카이브를 받아야 합니다.

이 작업 후 3,890 k바이트의 디스크 공간을 더 사용하게 됩니다.

받기:1 http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy/main uv4l-raspicam armhf 1.9.31 [1,471 kB]

내려받기 1,471 k바이트, 소요시간 4초 (336 k바이트/초)

Selecting previously unselected package uv4l-raspicam.

(데이터베이스 읽는중 ...현재 80650개의 파일과 디렉터리가 설치되어 있습니다.)

uv4l-raspicam 패키지를 푸는 중입니다 (.../uv4l-raspicam_1.9.31_armhf.deb에서) ...

man-db에 대한 트리거를 처리하는 중입니다 ...

uv4l-raspicam (1.9.31) 설정하는 중입니다 ...


$ sudo apt-get install uv4l
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 새 패키지를 설치할 것입니다:
  uv4l
0개 업그레이드, 1개 새로 설치, 0개 제거 및 4개 업그레이드 안 함.
558 k바이트 아카이브를 받아야 합니다.
이 작업 후 1,872 k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy/main uv4l armhf 1.9.8 [558 kB]
내려받기 558 k바이트, 소요시간 3초 (180 k바이트/초)
Selecting previously unselected package uv4l.
(데이터베이스 읽는중 ...현재 80640개의 파일과 디렉터리가 설치되어 있습니다.)
uv4l 패키지를 푸는 중입니다 (.../archives/uv4l_1.9.8_armhf.deb에서) ...
man-db에 대한 트리거를 처리하는 중입니다 ...

uv4l (1.9.8) 설정하는 중입니다 ... 


found this thread when searching for a hardware encoder, not for c920 issues.

[링크 : http://raspberrypi.stackexchange.com/questions/4412/streaming-h264-with-logitech-c920] 


if you try ffmpeg instead of vlc for playback, you will probably encounter this problem: https://ffmpeg.org/trac/ffmpeg/ticket/1387

[링크 : https://wiki.matthiasbock.net/index.php/Logitech_C920,_streaming_H.264]




결론은.. v4l firmware 쪽의 문제로 업데이트 하고 그러라는데..

재발된건지..알수가 없다. 대부분 스트리밍을 위해서 cvlc로 live 영상 없이 하다 보니.. 차이점이 보이기도 하고

pi-cam과 usb webcam의 차이인거 같기도 하고...

'Linux API > v4l' 카테고리의 다른 글

v4l2 debug  (0) 2022.07.13
v4l2-ctl 밝기 조절  (0) 2022.07.06
v4l2 timestamp  (0) 2017.04.19
리눅스에 웹캠 연결시 인식  (5) 2009.12.06
Posted by 구차니

간만에 하니 잼나네 ㅋㅋ






Posted by 구차니
이론 관련/전기 전자2015. 9. 11. 18:48

라즈베리 파이에서 USB 전류가 제한되서 어떻게 하나 조사..

[링크 : http://theiopage.blogspot.kr/2012/06/increasing-raspberry-pis-usb-host.html] polyfuse

[링크 : http://datasheet.octopart.com/MINISMDC014F-2-Tyco-Electronics-datasheet-58412.pdf] miniSMDC014


일단 폴리 스위치 / 폴리 퓨즈라는 이름으로 소자가 있고..

과전류가 흐르면 열로 전환하면서 저항이 상승하여

식을때 까지 전류를 제한하도록 되는 일종의 퓨즈 역활

[링크 : http://www.tc-associates.com/images/samples/KR2/Micrel_KR.pdf] MIC2004

[링크 : http://egloos.zum.com/fancyman21/v/5359313] polyswitch



'이론 관련 > 전기 전자' 카테고리의 다른 글

디지털 서보(?)  (0) 2015.11.24
DMOS?  (0) 2015.10.20
PID 제어 (Proportional Integral Differential)  (0) 2015.10.13
디지털 필터 - FIR / IIR  (0) 2015.01.23
역률이 모야?  (2) 2011.08.04
Posted by 구차니
Programming/web 관련2015. 9. 11. 14:44

nginx의 경우 FPU가 있으면 crypto 에 강하지만 없으면 으앙 쥬금이라고 하는데..

다른 서버들은.. crypto를 그럼.. FPU를 안쓰는 건 아닐테고.. 벤치마크가 필요할 듯.

[링크 : http://unix.stackexchange.com/questions/39578/webserver-for-embedded-linux]


nginx

lighttpd

monkey

cherokee

hiawatha

+ goahead

[링크 : https://www.linux.com/../807641-which-light-weight-open-source-web-server-is-right-for-you]


ARM926 에도.. option 항목으로 FPU가 있으나

지금까지 본 녀석들 중에는.. VFP나 FPU 내장된 ARM9 계열은 없었던거 같으니..

크게 기대는 말자..

[링크 : https://www.arm.com/products/processors/classic/arm9/arm926.php]


apache / lighttpd / nginx 벤치마크

[링크 : http://wiki.dreamhost.com/Web_Server_Performance_Comparison]

'Programming > web 관련' 카테고리의 다른 글

ssi(Server Side Includes)  (0) 2015.12.09
홈페이지 검증  (0) 2015.09.17
DASH - Dynamic Adaptive Streaming over HTTP  (0) 2015.09.11
웹소켓(websocket)  (0) 2015.01.07
html / input type radio에서의 reset 처리  (0) 2015.01.06
Posted by 구차니
프로그램 사용/VLC2015. 9. 11. 13:48

재생해보려니 안되는데?!?!?! ㅠㅠ




[링크 : https://www.youtube.com/watch?v=447-60cdu2s]

[링크 : http://www-itec.uni-klu.ac.at/dash/?page_id=6]

'프로그램 사용 > VLC' 카테고리의 다른 글

vlc for windows / ascii art ㅋㅋㅋ  (0) 2016.11.22
vlc 옵션 -vvv  (0) 2015.09.15
VLC dshow(캡쳐장비) 해상도 설정  (0) 2015.05.23
VLC로 multicast 테스트  (0) 2014.10.22
VLC에서 mms로 스트리밍 하기  (0) 2014.03.13
Posted by 구차니
Programming/web 관련2015. 9. 11. 13:27

dash.js / HTML5 video 부터 검색하다 보니 나온녀석..

임베디드에서 쓸만한 녀석은.. nginx-rtmp-module 정도인가..


Servers

Note that no specific support is required from the server for DASH content, with the exception of Live Streaming.


Flussonic Media Server has support for DASH.[31]

Helix Universal Server has support for DASH in various modes.

Nginx-rtmp-module supports generating MPEG-DASH live streams since version 1.0.8.[32] They can be played with a modified version of dash.js[33] and with bitdash.[34]

Wowza Streaming Engine has full support for MPEG-DASH.[35]

Akamai CDN supports DASH.[36]

Azure Media Services platform has support for MPEG-DASH.[37]

Limelight Networks CDN supports DASH.[38]

Unified Origin supports MPEG-DASH.[39][40]

bitmovin provides the cloud-based transcoding service bitcodin.com which supports MPEG-DASH.[41]

Nimble Streamer has live and VOD MPEG-DASH support.[42]

[링크 : https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP


MPD - Media Presentation Description

MMT - MPEG Media Transport

[링크 : http://www.tta.or.kr/data/weekly_view.jsp?news_id=3747]


dash.js

[링크 : https://github.com/Dash-Industry-Forum/dash.js/wiki]

[링크 : https://azure.microsoft.com/.../media-services-embed-mpeg-dash-in-html5/]


webm based dash-js ?

[링크 : http://www-itec.uni-klu.ac.at/dash/?page_id=746]



+

우분투에서는 빌드 해야 하네..

[링크 : https://github.com/arut/nginx-rtmp-module]

[링크 : https://www.vultr.com/docs/setup-nginx-rtmp-on-ubuntu-14-04]



+

Using DASH - Server Side

First you'll need to convert your WebM video to a DASH manifest with the accompanying video files in various bit rates. To start with you'll need:


ffpmeg - with libvpx and libvoribis support for WebM video and audio (ffmpeg.org).

libwebm - specifically for the samplemuxer tool (git clone https://gerrit.chromium.org/gerrit/p/webm/libwebm.git)

webm-tools - specifically for the manifest creation tool, webm_dash_manifest (git clone https://gerrit.chromium.org/gerrit/p/webm/webm-tools.git)

[링크 : https://developer.mozilla.org/.../DASH_Adaptive_Streaming_for_HTML_5_Video]

[링크 : https://developer.mozilla.org/.../Setting_up_adaptive_streaming_media_sources]

[링크 : https://developer.mozilla.org/.../Audio_and_video_delivery/Live_streaming_web_audio_and_video]


 It is called HTTP Live Streaming (HLS) and is only supported by Apple's technology. Google (Chromium / YouTube) uses its own implementation called dash mpeg and everybody else is either confused or using H.264 encapsulated in MP4.

[링크 : http://raspberrypi.stackexchange.com/.../how-can-i-stream-h-264-video-from-the-raspberry-pi-camera-module-via-a-web-serve]




--

WebM 파일은 VP8 비디오와 Vorbis 오디오 스트림으로 이루어져 있으며 마트료시카 프로파일에 기반을 둔다.

[링크 : https://ko.wikipedia.org/wiki/WebM]

[링크 : http://www.webmproject.org/]

[링크 : http://wiki.webmproject.org/adaptive-streaming/webm-dash-specification]

'Programming > web 관련' 카테고리의 다른 글

홈페이지 검증  (0) 2015.09.17
웹 서버별 특징  (0) 2015.09.11
웹소켓(websocket)  (0) 2015.01.07
html / input type radio에서의 reset 처리  (0) 2015.01.06
HTML META cache  (0) 2014.10.20
Posted by 구차니

공부할게 드럽게 많네..

일단은 머하는 녀석인지만! 조사

node.js는 서버 미들웨어

angular.js는 MVC 구현체.. 라고 하면되려나?



node.JS에 대해서.

Node.js는 구글의 크롬 V8 자바스크립트 엔진을 기반으로 한, 고성능 네트워크 서버이다.

Single Thread 기반의 Event Loop를 기반으로 하고 있으며, File, Network 등에 대해서 비동기 IO 처리를 하는 서버 미들웨어

[링크 : http://bcho.tistory.com/876]


Angular.js는 구글이 만든 MV*(Model - View - Whatever) 자바스크립트 프레임워크로 원페이지 어플리케이션에서 뛰어나면서 전통적인 웹 어플리케이션에 약간의 "마법"을 부린 것처럼 동작하는 것도 가능하다.

[링크 : http://blog.outsider.ne.kr/975]

'Programming > javascript & HTML' 카테고리의 다른 글

ul / li로 메뉴 꾸미기  (0) 2015.09.16
<link> 관련 약어 정리  (0) 2015.09.14
html5  (0) 2015.09.10
html event  (0) 2015.09.10
jquery  (0) 2015.09.08
Posted by 구차니