-動画配信サーバーをつくるまで

RTMP Serverが必要。オープンソースでもあるぞ

http://server-setting.info/centos/crtmpserver-streaming.html

*C++ RMTP Server [#r3826380]

日本語の情報が一番多かった。

*起動と停止 [#g709c499]

 ./crtmpserver stop ./configs/flvplayback.lua
 ./crtmpserver stop ./configs/flvplayback.lua

**起動スクリプトなど [#c954ad44]

http://wiki.rtmpd.com/tutorial_full_centos_build


**利用するポートの情報 [#e5118e04]

1935,6666,9999をあけておくことが必要。たぶん内部だけでよい。

*Media Server Starter [#qbf90f6f]

https://www.adobe.com/cfusion/tdrc/index.cfm?loc=ja&product=adobemediaserver#

ダウンロードが進まない・・・

*HTTP Live Streaming(以下 HLS) [#e9f9291e]

Appleが開発したプロトコル。Media Serverも対応しているらしい。ただし動画ファイルをぶった切りする必要があり、その手順がめんどくさそう。

FFmpeg というソフトが対応しているらしい。


**FFMpeg [#off385cb]

E:\ffmpeg-20141120-git-4388e78-win64-static\bin>ffmpeg.exe -i test.m4v -codec co
py -map 0 -f segment -vbsf h264_mp4toannexb -segment_format mpegts -segment_time
 10 -segment_list test.m3u8 test-%03d.ts

**AddType [#x00fa757]

 AddType application/x-mpegURL .m3u8
 AddType video/MP2T            .ts

*有料の選択し [#yd3e316d]

+WP-Bemoove


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS