m3u8

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

posted on 2016-03-09 14:16  anjuncc  阅读(596)  评论(0编辑  收藏  举报

导航