사용자 도구

사이트 도구


wowza012

smil 파일을 이용한 라이브 방법

smil 파일의 이름이 “streamschedule.smil” 이고 실제 파일의 위치가: ”/home/WWW/livetv” 이고 각 환경 설정에 정의된 파일의 저장 경로가 다음과 같다.

/usr/local/WowzaMediaServer-3.1.2/conf/livetv 파일에 설정된 경로

                <Streams>
			<StreamType>live</StreamType>
			<StorageDir>/home/WWW/livetv</StorageDir>
                </Streams>

/usr/local/WowzaMediaServer-3.1.2/conf/vod_00001 파일에 설정된 경로

		<Streams>
			<StreamType>default</StreamType>
			<StorageDir>/home/WWW/00001/vod</StorageDir>
                </Streams>

/usr/local/WowzaMediaServer-3.1.2/conf/vod_00041 파일에 설정된 경로

		<Streams>
			<StreamType>default</StreamType>
			<StorageDir>/home/WWW/00041/vod</StorageDir>
                </Streams>
<smil>
<body>
<stream name="stream_h_easybil"></stream>
<stream name="stream_l_00001"></stream>
<stream name="stream_l_00041"></stream>
<stream name="stream_l_easybil"></stream>
  <playlist name="plist_h_000011" playOnStream="stream_h_00001" repeat="true" scheduled="2012-11-20 20:30:00">
    <video src="mp4:00001/dra_planb20101027.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_h_000012" playOnStream="stream_h_00001" repeat="true" scheduled="2012-11-20 21:16:40">
    <video src="mp4:00001/dra_planb20101027.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_h_000413" playOnStream="stream_h_00041" repeat="true" scheduled="2012-11-20 20:00:00">
    <video src="mp4:00041/dra_planb20101103.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_h_000414" playOnStream="stream_h_00041" repeat="true" scheduled="2012-11-20 20:46:40">
    <video src="mp4:00041/dra_planb20101027.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_h_easybil5" playOnStream="stream_h_easybil" repeat="true" scheduled="2012-11-20 00:00:00">
    <video src="live_easybil1" start="-2"  length="3000" />
  </playlist>
  <playlist name="plist_l_000011" playOnStream="stream_l_00001" repeat="true" scheduled="2012-11-20 20:30:00">
    <video src="mp4:00001/dra_planb20101027.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_l_000012" playOnStream="stream_l_00001" repeat="true" scheduled="2012-11-20 21:16:40">
    <video src="mp4:00001/dra_planb20101027.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_l_000413" playOnStream="stream_l_00041" repeat="true" scheduled="2012-11-20 20:00:00">
    <video src="mp4:00041/dra_planb20101103.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_l_000414" playOnStream="stream_l_00041" repeat="true" scheduled="2012-11-20 20:46:40">
    <video src="mp4:00041/dra_planb20101027.mp4" start="0"  length="-1" />
  </playlist>
  <playlist name="plist_l_easybil5" playOnStream="stream_l_easybil" repeat="true" scheduled="2012-11-20 00:00:00">
    <video src="live_easybil2" start="-2"  length="3000" />
  </playlist>
</body>
</smil>

플래시 라이브 미디어에서 라이브 영상 정보를 rtmp:[와우자서버]/livetv/live_easybil%i 형태로 입력해 준다. 여기서 livetv 는 vod에 대한 Application.xml 파일의 Storage 경로 이다. 실제로 flowplay 에서는 아래의 스트림명 stream_l_easybil 를 호출해 주면된다…. 즉 스트림으로 vod 나 live가 smil 스케줄에 지정된 시간대로 흘러가는 형태이다.

wowza012.txt · 마지막으로 수정됨: 2016/05/16 21:32 저자 minetech