Results 1 to 2 of 2

Thread: Multi-bitrate HLS streaming from Amazon S3 with .smil

  1. #1
    Join Date
    Jul 2014
    Posts
    5

    Default Multi-bitrate HLS streaming from Amazon S3 with .smil

    Hi, I have an iOS app and JWPlayer on the web site that stream videos from S3 via Wowza(latest version of the Engine) vods3 app with media cache set up for S3, using .smil file(stored on S3)
    Streaming works for the most part, but I have a couple of issues:

    1. Smil file caching: apparently, the .smil file is cached in the MediaCache. The problem is that if I change the .smil file on S3(or even delete it), the only way for the iOS app to see the changes is TO RESTART THE WHOLE STREAMING ENGINE. Restarting vods3 app does not work. I'm guessing that disabling and re-enabling the MediaCache will also work, but that still does not seem appropriate.
    2. When iOS app streams with HLS, I have playback issues that don't seem to happen when streaming via RTMP(JWPlayer). It seems that HLS always starts with the highest bitrate and then chokes and switches down and when that happens, the video in the app stops for a couple of seconds and then resumes, sometimes with artifacts. When I watch the Monitoring for the vods3 app in Wowza Engine Manager, the start "out" bitrate is very high for HLS, 10 to 17 Mbps and then jumps down, usually at the same time the playback problems occur.

    Anyone has any insights for this?

    My .smil file contents:

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="mp4:vid_360p.mp4" system-bitrate="720000"/>
    <video src="mp4:vid_480p.mp4" system-bitrate="1000000"/>
    <video src="mp4:vid.mp4" system-bitrate="2400000"/>
    </switch>
    </body>
    </smil>
    Last edited by mishak; 02-17-2015 at 02:29 PM.

  2. #2

    Default

    For purging certain item from cache, here's a small article:
    http://www.wowza.com/forums/content....8MediaCache%29

    Regarding slowness moments... I suppose you're having problems with initial fetching of metadata for each video, probably salvadore will comment more here.
    As a probable solution, i was building the tool to force pre-load metadata (by requesting first chunks) of some multibitrate video on HTTP request.

    s3 is not so fast as we want it to be... IMHO.

Similar Threads

  1. Multi-bitrate HLS streaming from Amazon S3 with smil
    By mishak in forum Wowza Streaming Engine in the Cloud
    Replies: 1
    Last Post: 02-20-2015, 12:24 AM
  2. Multi-bitrate HLS playlist without SMIL files
    By alvancamp in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 06-26-2014, 02:03 PM

Posting Permissions

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