'2015/09'에 해당되는 글 90건

  1. 2015.09.13 uv4l
  2. 2015.09.12 슈프림 커맨더 - 사이브란 미션
  3. 2015.09.11 전류제어
  4. 2015.09.11 웹 서버별 특징
  5. 2015.09.11 dash with VLC
  6. 2015.09.11 DASH - Dynamic Adaptive Streaming over HTTP
  7. 2015.09.11 node.js / angular.js ...
  8. 2015.09.10 z-wave
  9. 2015.09.10 nginx fastcgi 캐싱
  10. 2015.09.10 ie 호환성 모드 -_-
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 구차니
하드웨어/Network 장비2015. 9. 10. 17:11

U+ 에서 IoT로 광고하길래 스펙을 찾아 봤더니

zigbee나 RF가 아닌 z-wave 방식?

zigbee나 bluetooth를 대체할 IoT용 통신 노드들의 통신프로토콜이라고 해야 하려나?




[링크 : http://www.uplus.co.kr/ent/iot/IotswiSpec.hpi]


Radio specifications

Bandwidth: 9600 bit/s, 40 kbit/s or 100 kbit/s, speeds are fully interoperable

Modulation: GFSK Manchester channel encoding

Range: Approximately 100m, assuming "open air" conditions, with reduced range indoors depending on building materials

Frequency band: The Z-Wave Radio uses the 868.42 MHz SRD Band (Europe); the 900 MHz ISM band: 908.42 MHz (United States); 916 MHz (Israel); 919.82 MHz (Hong Kong); 921.42 MHz (Australian/New Zealand),India 865.2 MHz 

[링크 : https://ko.wikipedia.org/wiki/Z-Wave]



솔찍히.. zigbee 단품으로 개당 2~3만원하는건 부담 스럽긴 하니...


+

2015.09.16

[링크 : http://wiki.ase.tut.fi/courseWiki/images/9/94/SDS10243_2_Z_Wave_Protocol_Overview.pdf]

[링크 : http://www.z-wavealliance.org/]

'하드웨어 > Network 장비' 카테고리의 다른 글

iptime 전원 어댑터관련...  (0) 2016.11.04
망할 iptime 외부접속 보안 설정  (0) 2016.11.03
직비(zig-bee) / 블루투스 SPP(Serial Port Profile)  (0) 2015.07.02
intelligent hub?  (0) 2014.11.27
DM9161 phy address  (0) 2013.06.19
Posted by 구차니
프로그램 사용/nginx2015. 9. 10. 16:26

혹시나 해서 찾아 봤더니 ㄷㄷㄷ

그나저나...

nginx는 프로그램 자체에서 지원하고..

php의 경우 fpm-php에서 fastcgi에 대해서 캐싱을 지원한다고 한다.



[링크 : https://www.digitalocean.com/.../how-to-setup-fastcgi-caching-with-nginx-on-your-vps]

[링크 : http://websetnet.com/ko/how-to-configure-nginx-fastcgi-cache/]

Posted by 구차니
Microsoft/Windows2015. 9. 10. 16:01

ie9 라고 하더라도 ie 호환성 모드로 하면 ie7로 작동

[링크 : http://kimsq.cweb.co.kr/b/tinylogs/34]


ie7로 작동하니 당연히.. ie9 부터 작동하는 HTML5도 작동이 불가라.. video 태그도 안되는 듯?

[링크 : https://uknowit.uwgb.edu/page.php?id=34780]

'Microsoft > Windows' 카테고리의 다른 글

win7 starter?  (0) 2015.11.07
IE 보호모드  (0) 2015.09.14
윈7 그림판 글꼴 부드럽게 끄기  (0) 2015.06.26
KB3045171 글꼴관련 업데이트 문제점?  (0) 2015.05.31
windows 7 iSCSI?  (0) 2015.05.14
Posted by 구차니