wordpress Video Embed & Thumbnail Generator plugin
동영상 MOV 화일을 워드프레스에서 임베드시켜 재생하기 위하여
wordpress Video Embed & Thumbnail Generator plugin 을
이용하여 MP4로 인코딩후 post에 [VIDEO] Tag를 이용하여 post하는
방법에 대한 설명입니다.
ubuntu 14.04
HHVM Version 3.11.0
wordpress 4.4
1. ffmpeg 설치
apt-get install yasm frei0r-plugins-dev gnutls-bin libgnutls-dev libass-dev libgsm1-dev libmp3lame-dev libopencv-dev libopenjpeg-dev libopus-dev libpulse-dev libschroedinger-dev libsoxr-dev libspeex-dev libtheora-dev libv4l-dev libvorbis-dev libvpx-dev libx264-dev libxvidcore-dev libopenal-dev libcdio-paranoia-dev wget http://www.ffmpeg.org/releases/ffmpeg-2.2.1.tar.bz2 tar -xf ffmpeg-2.2.1.tar.bz2 cd ffmpeg-2.2.1 ./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib/x86_64-linux-gnu/ --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib/x86_64-linux-gnu/ --enable-runtime-cpudetect make && make install ffmpeg
2.Video Embed & Thumbnail Generator 설치
3.인코딩할 미디어 라이브러리 선택후 인코딩하기
4.post에 미디어 삽입하기