audo apt-get install pkg-config
sudo apt-get install automake autoconf m4 libtool
sudo apt-get install libavformat-dev
sudo apt-get ppa-purge
ppa-purge ppa:mc3man/trusty-media
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
/usr/local/nginx/conf/mime.types
application/x-mpegURL m3u8;
video/MP2T ts;
http://media.xxxx.com/jp3.mp4
https://github.com/johnf/m3u8-segmenter
ffmpeg -i b.mp4 -codec copy -bsf h264_mp4toannexb a.ts
./segmenter -i out.ts -n 10 -p segmenter_test -m test.m3u8 -u