# 1. Keytool Path
# For Ubuntu
$ cd /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin
# For Mac
$ cd /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/bin
# 1. ํจํค์ง ๋ชฉ๋ก์ ๋ฐ์์ค๊ณ
sudo apt-get update
# 2. ์ปดํ์ผ์ ํ์ํ ํจํค์ง๋ค ์ค์น
sudo apt-get install build-essential checkinstall cmake git pkg-config yasm libtiff5-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libgtk2.0-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils libopenexr-dev python-tk libeigen3-dev libx264-dev
sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg
- x : not worked
- o: worked (able to open in quicktime but need conversion)
- oo: worked well (preview worked but wrong aspect ratio)
- ooo: worked very well (preview worked, and aspect ratioโs right)
(Codecs are extracted from https://web.archive.org/web/20120722124832/http://opencv.willowgarage.com/wiki/QuickTimeCodecs )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by yuhogyun on 2017. 3. 7.. | |
*/ | |
/** | |
* Todo: | |
* 1. ์์ํธ์ง ํจ๊ณผ(ํ๋, ์ถ์, fadein, fadeout, ์๋ง, ๋ฉ์ธ๊ทธ๋ฆผ ์ฝ์ ) | |
* 2. ์์ ์ ์๋์ผ๋ก ๊ณจ๋ผ์ฃผ์ด์ผํจ => ์ ์ ธ๊ฐ ์ ํํ ์ ์๋๋ก ํ๋๊ฑด ์ด๋จ๊น? NCS์ค์ ์ ํ. | |
* 3. Exception: ์์๋ณด๋ค ์๊ฐ์ด ๊ธด ๊ฒฝ์ฐ, ์์์ด ์๋๊ฒฝ์ฐ | |
* |
ref: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
- x264, xvid ์ ์ธ
$ brew install ffmpeg --with-chromaprint --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libebur128 --with-libgsm --with-libmodplug --with-libmodplug --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-rubberband --with-schroedinger --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg --without-lame --without-qtkit --without-securetransport --without-x264 --without-xvid --HEAD
- x264, xvid ํฌํจ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open Nginx Configuration file | |
vi /etc/nginx/nginx.conf | |
# Add Next line on below http code | |
client_max_body_size 2M; # Edit body size |