# Scheduled + live stream + transcoder (adaptive bitrate streaming)

**URL:** <https://community.wowza.com/t/scheduled-live-stream-transcoder-adaptive-bitrate-streaming/45369>\
**Category:** Wowza Streaming Engine\
**Created:** [May 26, 2015, 7:07am UTC](https://community.wowza.com/t/scheduled-live-stream-transcoder-adaptive-bitrate-streaming/45369 "2015-05-26T07:07:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malcomn\_Owen](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@Malcomn\_Owen](https://community.wowza.com/u/Malcomn_Owen)\
**Post date:** [May 26, 2015, 7:07am UTC](https://community.wowza.com/t/scheduled-live-stream-transcoder-adaptive-bitrate-streaming/45369/1 "2015-05-26T07:07:50Z")

</div>

Hello,

I’m new in Wowza and I’m testing the trial version, my goal is create a schedule stream with live content transcoded and transcoded videos.

So far I managed to do this without live stream:

**streamschedule.smil**

```auto
<smil>
    <head>
    </head>
    <body>
        <stream name="stream"></stream>
        <playlist name="pl1" playOnStream="stream" repeat="true" scheduled="2015-05-26 12:00:00">
            <video src="mp4:video1.mp4" start="0" length="-1"/>
        </playlist>
        <playlist name="pl2" playOnStream="stream" repeat="true" scheduled="2015-05-26 13:00:00">
            <video src="mp4:video2.mp4" start="0" length="-1"/>
        </playlist>
        <playlist name="pl3" playOnStream="stream" repeat="true" scheduled="2015-05-26 14:00:00">
            <video src="mp4:video3.mp4" start="0" length="-1"/>
        </playlist>
    </body>
</smil>

```

**switch.smil**

```auto
<?xml version="1.0" encoding="UTF-8"?>
<smil title="Videos">
	<body>
		<switch>
			<video height="720" src="stream_720p" systemLanguage="por" width="1280">
				<param name="videoBitrate" value="1300000" valuetype="data"></param>
				<param name="audioBitrate" value="125000" valuetype="data"></param>
			</video>
			<video height="360" src="stream_360p" systemLanguage="por" width="640">
				<param name="videoBitrate" value="850000" valuetype="data"></param>
				<param name="audioBitrate" value="125000" valuetype="data"></param>
			</video>
			<video height="160" src="stream_160p" systemLanguage="por" width="284">
				<param name="videoBitrate" value="200000" valuetype="data"></param>
				<param name="audioBitrate" value="125000" valuetype="data"></param>
			</video>
		</switch>
	</body>
</smil>

```

Playback:

```auto
http://[wowza-ip-address]:1935/live/smil:switch.smil/playlist.m3u8

```

Or with live stream but without schedule.

```auto
<?xml version="1.0" encoding="UTF-8"?>
<smil title="TV24">
	<body>
		<switch>
			<video height="720" src="myStream_source"
                systemLanguage="por" width="1280">
				<param name="videoBitrate" value="2025000" valuetype="data"></param>
				<param name="audioBitrate" value="192000" valuetype="data"></param>
			</video>
			<video height="360" src="myStream_360p "
                systemLanguage="por" width="640">
				<param name="videoBitrate" value="850000" valuetype="data"></param>
				<param name="audioBitrate" value="192000" valuetype="data"></param>
			</video>
			<video height="160" src="myStream_160p" systemLanguage="por" width="284">
				<param name="videoBitrate" value="200000" valuetype="data"></param>
				<param name="audioBitrate" value="192000" valuetype="data"></param>
			</video>
		</switch>
	</body>
</smil>

```

I know that is for live stream. But I can’t figure out how do this together, place live transcoded stream (myStream) and transcoded video (stream) on schedule playlist.

Sorry for my english, I hope you can understand my question.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 26, 2015, 12:38pm UTC](https://community.wowza.com/t/scheduled-live-stream-transcoder-adaptive-bitrate-streaming/45369/2 "2015-05-26T12:38:22Z")

</div>

Hello there and welcome to the Wowza support forum.

For clarity, lets assume your live stream is called myStream.

I believe the **streamschedule.smil** would look like this:

```auto
<smil>
    <head>
    </head>
    <body>
     	 <stream name="Stream1"></stream>
     	 <stream name="Stream2"></stream>
	 <stream name="Stream3"></stream>
        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2014-12-11 16:26:00">
            <video src="myStream_720p" start="0" length="-1"/>
        </playlist>
	<playlist name="pl2" playOnStream="Stream2" repeat="true" scheduled="2014-12-11 16:26:00">
            <video src="myStream_360p" start="0" length="-1"/>
        </playlist>    
        <playlist name="pl3" playOnStream="Stream3" repeat="true" scheduled="2014-12-11 16:26:00">
            <video src="mySstream_160p" start="0" length="-1"/>
        </playlist>
    </body>
</smil>

```

And the **switch.smil** would then be:

```auto
<smil>
	<head>
	</head>
	<body>
		<switch>
			<video src="Stream1" system-bitrate="2025000"/>
			<video src="Stream2" system-bitrate="850000"/>
			<video src="Stream3" system-bitrate="200000"/>
		</switch>
	</body>
</smil>

```

Please make sure you have reviewed this guide:

[How to do scheduled, adaptive bitrate streaming using Stream class streams](https://www.wowza.com/docs/how-to-do-scheduled-adaptive-bitrate-streaming-using-stream-class-streams)

Also, you can start Wowza in stand-alone mode (install-dir/bin/startup.bat|startup.sh) and view the output in the console. This allows you to see any error or warn messages in real time.

I hope this helps.

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Malcomn\_Owen](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@Malcomn\_Owen](https://community.wowza.com/u/Malcomn_Owen)\
**Post date:** [May 27, 2015, 5:56am UTC](https://community.wowza.com/t/scheduled-live-stream-transcoder-adaptive-bitrate-streaming/45369/3 "2015-05-27T05:56:56Z")

</div>

Thanks for the reply Salvadore

As I mentioned in my post, scheduled live stream with transcoder i can do it, but I can’t discover how to do with another stream with transcoder high quality video.
