Git Product home page Git Product logo

ipcamera's Introduction

##build

  1. sudo apt install libtheora-dev libvorbis-dev

  2. download ffmpeg-4.3, unzip, cd ffmpeg-4.3

  3. ./configure --prefix=/usr/local/ffmpeg --enable-shared --enable-libfdk-aac --enable-gpl --enable-nonfree --enable-postproc --enable-avfilter --enable-pthreads --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-decoder=h264 --enable-encoder=libx264 There will be some errors occur。

  4. yasm/nasm not found or too old. Use --disable-yasm for a crippled build: wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar -zxvf yasm-1.3.0.tar.gz ./configure && make && make install

  5. ERROR: libfdk_aac not found:

https://sourceforge.net/projects/opencore-amr/files/fdk-aac/ download fdk-aac-0.1.5.tar.gz ./configure&& make && make install

  1. ERROR: libtheora not found:

http://downloads.xiph.org/releases/theora/?C=M;O=D libtheora-1.2.0alpha1.tar.gz ./configure && make && make install

  1. *** Could not run Ogg test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means Ogg was incorrectly installed *** or that you have moved Ogg since it was installed:

http://downloads.xiph.org/releases/ogg/?C=M;O=D libogg-1.3.2.tar.gz ./configure && make && make install

  1. ERROR: libvorbis not found: http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar

  2. ERROR: libmp3lame >= 3.98.3 not found: http://downloads.sourceforge.net/lame download lame-3.99.5.tar.gz ./configure && make && make install

  3. ERROR: libx264 not found: https://www.videolan.org/developers/x264.html, download a stable version ./configure --enable-shared --disable-asm && make && make install

  4. ERROR: libxvid not found: wget http://downloads.xvid.org/downloads/xvidcore-1.3.5.tar.gz cd build/generic/ ./configure && make && make install

  5. WARNING: Option --enable-decoder=libx264 did not match anything WARNING: using libfdk without pkg-config WARNING: using libx264 without pkg-config:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH sudo ldconfig

  1. then cd ffmpeg-4.3 && ./configure ...... && make -j8 && sudo make install

  2. If there is no openssl in your system, openssl also need to be installed.

  3. RUN: if ffmpeg was installed into /usr/local/ffmpeg/lib: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ffmpeg/lib

  4. change onvif source code: stdsoap2.h: #define WITH_OPENSSL comment out #include <xlocale.h>

Searched the system for this file, found locale.h rather than xlocale.h Searched the web to read about both. Found out that xlocale.h is the threadsafe version of locale.h

ipcamera's People

Watchers

James Cloos avatar allenhekexin avatar

Forkers

bestoby adas-eye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.