Documentation for Stackposts - Social Marketing Tool

Installating FFMPEG

To Stackposts can working Stable you need follow by this steps to installing FFMPEG

1. wget

2. tar xjf ffmpeg-3.3.4.tar.bz2

3. cd ffmpeg-3.3.4

4.  Open file: libavformat/rtmpproto.c

nano libavformat/rtmpproto.

And follow by this steps:

1. Click: Ctrl + W
2. Search: ret = ffurl_read(rt->stream, &c, 1);
3. Replace to: ret = AVERROR(EAGAIN);

5. Run command line 

export TMPDIR=$HOME/tmp

6. Install libraries needed

1. sudo apt-get install libfontconfig1-dev  

2. sudo apt-get install libmp3lame-dev

3. sudo apt-get install speex-dev

4. sudo apt-get install libtheora-dev

5. sudo apt-get install libvorbis-dev

6. sudo apt-get install libssl-dev

7. sudo apt-get install libx264-dev

8. sudo apt-get install libx265-dev

7. Run command line:

./configure --prefix=/usr --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/local/lib --incdir=/usr/include/lib --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx265 --enable-libx264 --enable-openssl --enable-nonfree --disable-yasm

8. Run command line:

make && sudo make install 

9. Open fine: /etc/

Add this line and save


10. Run: ldconfig