Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This problem is indeed caused by the lack of an audio track for video streams sent from Wowza media server. (I have inferred from your stream URLs that you're using Wowza media server to stream your videos).</p> <p>To verify this issue, I created a 5 minute video file with no audio track.</p> <pre><code>mplayer -nolirc -vo null -ao null -frames 0 -identify test_60.mp4 ... Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 Audio: no sound Starting playback... ... </code></pre> <p>Then I added a mp3 track to that video file using mp4box.</p> <pre><code>MP4Box -new -add test_60.mp4 -add test_music.mp3 test_60_music.mp4 </code></pre> <p>And verified that there was indeed an audio track.</p> <pre><code>mplayer -nolirc -vo null -ao null -frames 0 -identify /tmp/test_60_music.mp4 ... AUDIO: 44100 Hz, 2 ch, floatle, 320.0 kbit/11.34% (ratio: 40000-&gt;352800) ID_AUDIO_BITRATE=320000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio) ========================================================================== AO: [null] 44100Hz 2ch floatle (4 bytes per sample) ID_AUDIO_CODEC=ffmp3float Starting playback... ... </code></pre> <p>Then, I put both the test_60.mp4 and test_60_music.mp4 in the Wowza content directory, and tested them. I actually wrote a small test app similar to yours to examine the loadedTimeRanges, but just loading the videos via safari from the device should be sufficient to see the difference.</p> <p>I opened wowza_server:1935/vod/mp4:test_60.mp4/playlist.m3u8 and pressed pause as soon as it started playing. The buffer indicator kept increasing until the full 5 minute video was loaded.</p> <p>Then, I opened wowza_server:1935/vod/mp4:test_60_music.mp4/playlist.m3u8 and did the same, but only the first 1/5th (roughly 1 minute) was loaded.</p> <p>So it seems like a problem with the Wowza server's packetization - note this problem does not happen for me on adobe (flash) media server 5.0. Only 60 seconds is buffered regardless of whether the video contains an audio track.</p> <p>Hope that's helpful. I've asked for input from Wowza folks at the <a href="http://www.wowza.com/forums/showthread.php?20142-Infinite-buffering-for-%2asome%2a-videos-not-others" rel="nofollow">Wowza forums</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload