Results 1 to 7 of 7

Thread: mpeg-ts adaptive streaming (without wowza trascoder)

  1. #1

    Default mpeg-ts adaptive streaming (without wowza trascoder)

    Hello,
    we would like to use a hardware transcoder to encode HD-SDI signal in more qualities for adaptive streaming.
    We don't want software transcoding because of reliability.

    Is it possible in general send multiple qualities for adaptive streaming thru MPEG-TS? (eg. create more .stream files and select appropriate video stream from TS using PID)
    What settings on wowza should be used? From what I know .stream file can have only one entry inside.

    Regards,
    Martin

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Martin,

    Multi-bitrate with mpeg-ts is covered in this tutorial:
    http://www.wowza.com/forums/content....based-encoder)

    Each stream has to be key frame aligned for switching to work. This is how to check if the streams are key frame aligned or not
    http://www.wowza.com/forums/content....rame-alignment

    Richard

  3. #3

    Default

    Hello,
    I don't see enought information. There is only how to playback adaptive streaming.
    But I don't see description how to put multiple qualities in.
    How do I send multiple qualities to wowza?
    Is it simple: Like each quality can be in different MPEG-TS (I simply create more .stream files and then I connect them in SMIL file to stream adaptively)?
    Regards,
    Martin

  4. #4
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    You would have the incoming streams as mpeg-ts to Wowza as you do now.

    Source (mepg-ts) --> Wowza --> Client

    The .smil file is called "live-smil.smil" in theis example.

    The .smil file will be made up of the .stream files and should look like this :

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="live1.stream" system-bitrate="700000"/>
    <video src="live2.stream" system-bitrate="500000"/>
    <video src="live3.stream" system-bitrate="350000"/>
    </switch>
    </body>
    </smil>

    The .SMIL file should be in the content directory of the live application
    E.g.
    [Wowza-install]/content/live-smil.smil

    and the link to access this would be,
    iOS -
    http://[Wowza-IP]:1935/live/smil:live-smil.smil/playlist.m3u8
    Jason
    Last edited by JasonH; 04-18-2012 at 06:40 AM.

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    The multi-bitrate section of that tutorial is extensive and detailed.

    Adaptive bitrate (ABR) live streaming to Flash, Apple iOS devices and Silverlight requires that you have an encoder that can generate multiple bitrate streams from the same source that are properly key-frame aligned. Once you have an encoder that can generate properly aligned streams then you need to create a Synchronized Multimedia Integration Language (SMIL) file that links the streams together for playback.

    For example, let's say we have three live streams encoded at three different bitrates myStream_700.stream (700kbps total bitrate), myStream_350.stream (350kbps total bitrate) and myStream_200.stream (200kbps total bitrate). Using a text editor, create a SMIL file in the [install-dir]/content folder with the name myStream.smil with the following content:

    Code:
    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="myStream_700.stream" system-bitrate="700000"/>
    <video src="myStream_350.stream" system-bitrate="350000"/>
    <video src="myStream_200.stream" system-bitrate="200000"/>
    </switch>
    </body>
    </smil>
    You can see that there is a <video> entry in the <switch> container for each rendition of the stream. The system-bitrate value is set to the total bitrate in bits-per-second for that stream.

    To play using Adobe Flash player (San Jose/Flash HTTP)

    Double-click [install-dir]/examples/SimpleVideoStreaming/clientOSMF/bin-release/SimpleOSMFPlayer.html, enter the information below and click the Play button.
    Code:
    Code:
    Stream: http://&#91;wowza-ip-address]:1935/vod/s...l/manifest.f4m


    To play using an Apple iOS device (Cupertino/Apple HTTP Live Streaming)
    Enter the following URL into the Safari web browser on the device:
    Code:
    http://&#91;wowza-address]:1935/vod/smil.../playlist.m3u8
    To play using Microsoft Silverlight (Smooth Streaming)
    Double-click [install-dir]/examples/SimpleVideoStreaming/clientSilverlight/Default.html, enter the URL below and click the Play button.

    Code:
    http://&#91;wowza-address]:1935/vod/smil....smil/Manifest
    Richard

  6. #6

    Default

    Hello,

    My problem with this, I cannot set up the stream name in the encoder if I use mpeg ts out. Or its not a problem? Where will the wowza know which stream which?

    Have you got any idea how to do it with inlet?
    Or any idea how to push multiple streams from Inlet to wowza?
    BR
    No

    Quote Originally Posted by rrlanham View Post
    The multi-bitrate section of that tutorial is extensive and detailed.



    Richard

  7. #7

    Default

    See the MPEG-TS tutorial section "Publishing the stream", step 2: http://www.wowza.com/forums/content....based-encoder)

    To clarify, the stream name is not set on the encoder for MPEG-TS. The mpegts.stream file or files in the Wowza content folder are used as the stream name. They contain the rtsp/udp URI to your encoder stream(s).

Posting Permissions

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