본문 바로가기

삽질

[GStreamer] Gstreamer RTSP Server source code - Geany /* GStreamer * Copyright (C) 2008 Wim Taymans * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY.. 더보기
[Ubuntu] add-apt-repository command not found $ sudo apt-get install python-software-properties $ sudo apt-get install apt-file $ apt-file update $ apt-file search add-apt-repository As you can see add-apt-repository is in software-properties-common: software-properties-common: /usr/bin/add-apt-repository software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz After installing software-properties-common I was able to use add.. 더보기
[Ubuntu] Ubuntu 시작 프로그램 등록 $ gnome-session-properties add click name: 적어주고command: excute 파일 선택 comment: 적어주고 add reboot 하면 등록한 프로그램이 바로 실행될 것이다. 만약 자동으로 명령을 입력하고 싶다면 command 부분에 실행될 파일 뒤에 -e 옵션을 주면 된다. 더보기
[GStreamer] GStreamer RTSP 설치 * 설치 환경: Udoo boad quad (lubuntu 14.04), Ubuntu 14.04 LTS * 기존 apt-get install gstreamer-1.0으로 설치하면 1.2.4 버전이 설치된다. rtsp를 사용하기 위해서는 이 버전으로는 안된다. (good plugin에 버그가 있어 configuration이 안됨) 그래서 1.4.3 버전을 수동으로 다운로드 및 설치 https://gstreamer.freedesktop.org/src/ 위 홈페이지에서 gstreamer, good, bad, base, ugly, rtsp-server, libav 를 각각 다운 받는다. (모두 1.4.3 버전으로) gstreamer를 설치하기 전에 기존에 설치 된 gstreamer 와 plugin 들을 모두 제.. 더보기
[UDOO] UDOO Camera - OpenCV 3.1(with Cmake) (Ubuntu 14.04) #1. for opencv with gstreamer 0.10 (on UDOO - UDOObuntu quad v1.1 )#2. for opencv with gstreamer 1.24 (on UDOO-UDOObuntu quad rc2) 0 step.#1. 바탕화면에 UDOO Configuration Tool을 실행시켜 Enable UDOO Camera Module을 활성화 시켜준다.#2. 생략 1st step.#1. To install the dependencies required from OpenCV, just run the following commands:sudo apt-get -y install libopencv-dev build-essential cmake git pkg-config gstream.. 더보기
[OpenCV] OpenSIFT (for visual studio 2013) SIFT (Scale-invariant feature transform) 는 간단히 어떤 이미지에서 크기와 회전에 불변하는 특징점을 추출하여 다른 이미지에서 원본 이미지의 특징점을 찾아 검출 해내는 알고리즘. 그냥 물체를 인식하기 위한 그런 거... https://robwhess.github.io/opensift/ 에서 .zip 파일 다운로드 압축을 풀면 SIFT 관련 파일들이 있다. OpenSIFT 에서 다운 받은 소스파일은 리눅스용으로 작성되어 있다. 이것을 Windows Visual Studio 환경에서 컴파일 하기 위해서는 수정이 필요하다. 0. Visual Studio 프로젝트 생성프로젝트를 생성하고 다운 받은 SIFT 폴더안에 src 폴더에 있는 c파일, include 폴더안에 있는 .h 파일.. 더보기
[OpenCV] cMake를 이용하여 OpenCV 3.0 빌드하기 (for Visual Studio 2013) 1. OpenCV 소스 다운로드OpenCV: http://opencv.org/GitHub: https://github.com/itseez/opencv 두 사이트 중 아무곳에서 다운을 받고 경로에 압축을 푼다. (C:\OpenCV 3.0\opencv_master)(github를 추천, 공식홈피에서 제공하는 소스는 직접 빌드하기엔 에러가 많이 난다는 소리가...) 2. 추가 모듈 다운로드SURF, SIFT 등 추가 모듈을 활용하려면 아래 링크에서 다운로드 및 설치 경로에 압축 해제(C:\OpenCV 3.0\opencv_contrib)https://github.com/Itseez/opencv_contrib 3. CMake 다운로드 및 설치https://cmake.org/download/ 4. CMake로 co.. 더보기
[FFMpeg] 명령어 두 비디오 파일 PSNR 비교 ffmpeg -i input_video.mp4 -i reference_video.mp4 -filter_complex "psnr" "output_video.mp4" RTSP 스트리밍 녹화하기 ffmpeg -i rtsp://127.0.0.1:8554/test -vcodec copy -acodec copy "rtspout.mp4" -threads 8 -y 더보기