live stream ABR

Hi

I followed the video tutorial of setting up adaptive bitrate streaming : https://www.wowza.com/docs/how-to-do-adaptive-bitrate-streaming

I will repeat my steps if I am doing it right.

  1. flme encoder is sending stream to my wowza sever rtmp://192.168.122.246/live with name livestream

1.enabled transcoding (3 qualities)

2.configured smil through wowza streaming manager and applied to live application

now I can play strem

http://192.168.122.246:1935/live/livestream/manifest.f4m

http://192.168.122.246:1935/live/livestream_160p/manifest.f4m

http://192.168.122.246:1935/live/livestream_360p/manifest.f4m

but if I wan to play this url it does not work

http://192.168.122.246:1935/live/smil:livestream.smil/manifest.f4m

and i get this error in wowza log file

WARN server comment 2015-07-28 09:22:34 - - - - - 33.621 - - - - - - - - HTTPStreamerAdapterSanJoseStreamer.onPlaylist: Stream not found [live/smil:livestream.smil/manifest.f4m]: livestream.smil

smil file is present in content directory and looks like this

ls /usr/local/WowzaStreamingEngine/content/ | grep -i live

livestream.smil

cat /content/livestream.smil

<?xml version="1.0" encoding="UTF-8"?>

I am running latest wowza streaming engine 4.2 with free license for testing purpose before moving to production

Thanks

Hi,

The .smil file has the wrong bitrates for the streams if you’re using the default transrate.xml or transcode.xml templates.

If using one of the default templates, the the .smil file should look like this.

<?xml version="1.0" encoding="UTF-8"?>
<smil title="livestream">
	<body>
		<switch>
			<video src="livestream_source">
				<param name="videoBitrate" value="1000000" valuetype="data"></param>
			</video>
			<video src="livestream_360p">
				<param name="videoBitrate" value="850000" valuetype="data"></param>
			</video>
			<video src="livestream_160p">
				<param name="videoBitrate" value="200000" valuetype="data"></param>
			</video>
		</switch>
	</body>
</smil>

I recommend removing one of the encodes from the transcoding template and then remove that stream from the .smil file too as a Trial license can only publish a maximum of 3 streams.

This will include the stream being ingested by the transcoder and the renditions of this stream that are being created.

It’s likely that you’re getting a message in the Wowza log files to say that you’ve hit the maximum publishing limit and a .smil file requires all the streams to be active for it to work as switching to a stream which isn’t available will result in a “Stream not found” message and the adaptive bitrate stream will fail.

Regards,

Jason

HI

oh yeah I had wrong bitrates, now it works like a charm.

Thanks!

Thanks for the update and glad you got this sorted.

Salvadore