Results 1 to 3 of 3

Thread: Scheduled + live stream + transcoder (adaptive bitrate streaming)

  1. #1
    Join Date
    May 2015
    Posts
    2

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

    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
    <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
    <?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:
    http://[wowza-ip-address]:1935/live/smil:switch.smil/playlist.m3u8
    Or with live stream but without schedule.

    <?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 <video src="myStream" start="-2" length="-1" /> 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.

  2. #2

    Default

    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:
    <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:
    <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

    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

  3. #3
    Join Date
    May 2015
    Posts
    2

    Default

    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.
    Last edited by Malcomn; 05-27-2015 at 07:01 AM.

Similar Threads

  1. Tracking which bitrate quality a player is consuming (adaptive bitrate)
    By gauravmishra in forum Wowza Streaming Server Java API
    Replies: 12
    Last Post: 01-05-2015, 05:43 AM
  2. Adaptive Bitrate VOD Streaming w/ Transcoder
    By djsindt in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 01-24-2014, 08:34 AM
  3. Adaptive bitrate, force a bitrate via HTTPProvider
    By Meinaart in forum Server-side Modules and Code Samples Discussion
    Replies: 9
    Last Post: 04-05-2012, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •