lemonheim note
2013년 12월 14일 토요일
ffmpeg의 C헤더를 C++헤더에 include할때...
1. C++ 헤더에 아래와 같이 extern 구문을 넣어줍니다.
extern "C" {
#include <libavcodec/avcodec.h>
#include <libswscale/swscale.h>
}
#include <libavutil/imgutils.h>
2. 컴파일 옵션의 CXXFLAGS에 -D__STDC_CONSTANT_MACROS 옵션을 추가합니다.
댓글 없음:
댓글 쓰기
최근 게시물
이전 게시물
홈
피드 구독하기:
댓글 (Atom)
mitmproxy 설치(mac), iPhone Proxy 연결
Blender를 이용해서 2D Image를 3D Object로 만들기..
대상이 되는 이미지를 SVG(Scalable Vector Graphics) 이미지로 변환 - 각종 툴이나 웹상에서 바로 바꿔주는 다양한 방법이 있음(검색 검색~) - 찾은거 하나 : http://image.online-convert.com/c...
mitmproxy 설치(mac), iPhone Proxy 연결
mitmproxy( man in the middle proxy) 설치 메모 https://mitmproxy.org/ 에서 설치 방법 확인 brew를 사용해서 설치 진행 - $ brew install mitmproxy - 설치후...
MQTT mosquitto 서버 Mac 설치/ 테스트
MQTT mosquitto 서버 설치와 간이 테스트 https://mosquitto.org 모스키토 설치 brew install mosquitto 모스키토 서비스 실행 brew services start mosquitto 모스키...
댓글 없음:
댓글 쓰기