merge from wukong, fix the bug of build x264 on minimal server
正在显示
2 个修改的文件
包含
23 行增加
和
1 行删除
| @@ -77,7 +77,9 @@ else | @@ -77,7 +77,9 @@ else | ||
| 77 | cd $ff_current_dir && | 77 | cd $ff_current_dir && |
| 78 | rm -rf x264-snapshot-20131129-2245-stable && unzip -q ${ff_src_dir}/x264-snapshot-20131129-2245-stable.zip && | 78 | rm -rf x264-snapshot-20131129-2245-stable && unzip -q ${ff_src_dir}/x264-snapshot-20131129-2245-stable.zip && |
| 79 | cd x264-snapshot-20131129-2245-stable && | 79 | cd x264-snapshot-20131129-2245-stable && |
| 80 | - ./configure --prefix=${ff_release_dir} --disable-opencl --bit-depth=8 --enable-static && | 80 | + ./configure --prefix=${ff_release_dir} --disable-opencl --bit-depth=8 --enable-static \ |
| 81 | + --disable-avs --disable-swscale --disable-lavf \ | ||
| 82 | + --disable-ffms --disable-gpac && | ||
| 81 | make ${SRS_JOBS} && make install | 83 | make ${SRS_JOBS} && make install |
| 82 | ret=$?; if [[ 0 -ne ${ret} ]]; then echo "build x264 failed"; exit 1; fi | 84 | ret=$?; if [[ 0 -ne ${ret} ]]; then echo "build x264 failed"; exit 1; fi |
| 83 | fi | 85 | fi |
| @@ -573,6 +573,26 @@ class RESTServers(object): | @@ -573,6 +573,26 @@ class RESTServers(object): | ||
| 573 | "rtmp":{ | 573 | "rtmp":{ |
| 574 | "dev-livestream": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-dev-hiwifi&stream=live/livestream", | 574 | "dev-livestream": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-dev-hiwifi&stream=live/livestream", |
| 575 | "sales-livestream": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/livestream" | 575 | "sales-livestream": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/livestream" |
| 576 | + }, | ||
| 577 | + "meiyi": { | ||
| 578 | + "rtmp": { | ||
| 579 | + "avatar": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/avatar", | ||
| 580 | + "MenInBlack3": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/MenInBlack3", | ||
| 581 | + "skyfall": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/skyfall", | ||
| 582 | + "SpiderMan": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/SpiderMan", | ||
| 583 | + "thehobbit": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/thehobbit", | ||
| 584 | + "thorthedarkworld": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/thorthedarkworld", | ||
| 585 | + "transformers": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=rtmp&device_id=chnvideo-sales-hiwifi&stream=live/transformers" | ||
| 586 | + }, | ||
| 587 | + "hls": { | ||
| 588 | + "avatar": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/avatar", | ||
| 589 | + "MenInBlack3": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/MenInBlack3", | ||
| 590 | + "skyfall": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/skyfall", | ||
| 591 | + "SpiderMan": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/SpiderMan", | ||
| 592 | + "thehobbit": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/thehobbit", | ||
| 593 | + "thorthedarkworld": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/thorthedarkworld", | ||
| 594 | + "transformers": "http://demo.chnvideo.com:8085/api/v1/servers?id=ingest&action=hls&device_id=chnvideo-sales-hiwifi&stream=live/transformers" | ||
| 595 | + } | ||
| 576 | } | 596 | } |
| 577 | } | 597 | } |
| 578 | } | 598 | } |
-
请 注册 或 登录 后发表评论