Results 1 to 7 of 7

Thread: VOD iOS playback freezes on first frame

  1. #1

    Default VOD iOS playback freezes on first frame

    Hi,

    Some of my short VOD clips fail to play in iOS (iOS6, iPad, Simulator). The first frame loads, but the video never plays - the loading message and spinner stay forever. Other short videos play successfully. I can view the videos with no problem in Safari on Mac, in VLC on Windows, etc. It is only on iOS (Safari and native app) that the problem manifests itself.

    playlist.m3u8:

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=256477,CODECS="avc1.66.30",RESOLUTION=640x480
    chunklist.m3u8?wowzasessionid=1850863335
    chunklist.m3u8:

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:10
    #EXT-X-MEDIA-SEQUENCE:1
    #EXTINF:3.972,
    media_1.ts?wowzasessionid=1850863335
    #EXT-X-ENDLIST
    mediavalidatortool:

    mediastreamvalidator http://<url>/video_9ac61783a189a96cea3c93a3f995cae6db3ef7a2_1379387221.mp4/playlist.m3u8
    
    mediastreamvalidator: Beta Version 1.1(130423)
    
    Validating http://<url>/video_9ac61783a189a96cea3c93a3f995cae6db3ef7a2_1379387221.mp4/playlist.m3u8
    Validating child playlist chunklist.m3u8?wowzasessionid=33067098 [256.48 kbits/sec]
    
    --------------------------------------------------------------------------------
    http://<url>/video_9ac61783a189a96cea3c93a3f995cae6db3ef7a2_1379387221.mp4/playlist.m3u8
    --------------------------------------------------------------------------------
    
    Playlist Syntax: 	OK
    
    Alternate playlist(s):
    
    --------------------------------------------------------------------------------
    chunklist.m3u8?wowzasessionid=33067098
    --------------------------------------------------------------------------------
    
    Playlist Syntax: 	OK
    
    Segments:	OK
    
    Average segment duration: 3.02 seconds
    Playlist target bitrate: 256.48 kbits/sec
    Segment bitrate: Average: 243.85 kbits/sec, Max: 243.85 kbits/sec
    We are using Amazon S3 and MediaCache. We have no issues with video playback except on iOS for certain (but not all) short video clips.

    Any suggestions would be appreciated.

    Thanks,
    Dan

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

    Default

    Dan,

    Try setting the cupertinoPlaylistChunkCount shown in the Configuring HLS Packetizing article to "1"

    And/or, depending on the actual length and encoding, if you can encode the file to have a key frame frequency of 1 second, then set cupertinoChunkDurationTarget to "1000" (1 second). Then if the video is at least 3 seconds long you might leave cupertinoPlaylistChunkCount at default setting or "3". In any case, those are the settings I would work with in this case, along with key frame frequency, which gop (or key frame interval) / fps

    Richard

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

    Default

    edit: Try setting the cupertinoPlaylistChunkCount shown in the Configuring HLS Packetizing article to "1"

  4. #4

    Default

    Hi Richard,

    Does this setting apply to VOD? I found the following article, but it mostly looks like it's related to live: http://www.wowza.com/forums/content....tinostreaming)

    I'll try adding to the HTTPStreamer/Properties container to see if it makes a difference:

    <Property>
    	<Name>cupertinoPlaylistChunkCount</Name>
    	<Value>1</Value>
    	<Type>Integer</Type>
    </Property>
    Thanks,
    Dan

  5. #5

    Default

    Hi Richard,

    I don't see any change in behaviour with this property setting in the VOD context.

    Dan

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

    Default

    Dan,

    Right, sorry, not for vod. All I can suggest is encoding the file with very short key frame interval, 1 second if possible, so Wowza breaks smaller chunks. Not sure if that will help. For reference, this is our video encoding guide

    Richard

  7. #7

    Default

    Thanks Richard, I'll look into the encoder side of things.

    Dan

Similar Threads

  1. [VOD Streaming] Create a time frame for VOD stream
    By anhdung in forum Live Streaming and Encoders
    Replies: 2
    Last Post: 05-27-2014, 04:33 AM
  2. Mediacache addon playback from S3 freezes
    By skorobko in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 02-06-2014, 08:53 AM
  3. Problem with vod file playback after ios 6.1
    By ozgurdeniz in forum Video On Demand Streaming Discussion
    Replies: 7
    Last Post: 01-03-2014, 10:57 AM
  4. Replies: 10
    Last Post: 09-26-2013, 12:41 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
  •