I have a MP4 video that when I play it locally, I can see it without problems but when I play it via Wowza the chunks are huge.
From Windows I can get the following information on the file properties and VLC’s codec information:
But when I try to play it via VOD in Wowza Streaming Engine, the following playlist and chunklist:
It is a 1.2 GB video that lasts more than an hour and WSE is segmenting it in 2 chunks! Since we have a link with a small BW to the WSE you can imagine how that it takes 20 minutes just to get the video started.
I must add that I already tried adding “/Root/Application/HTTPStreamer - cupertinoChunkDurationTarget - Integer - 10000” to Application > Properties > Custom, and the result is exactly the same.
Wowza Streaming Engine creates chunks on keyframes in the video you are delivering. You must make sure that your source content has keyframes, also known as a Group of Pictures or GOP, at even distances. From what you describe the video you have was created with an open GOP. Streaming media does not support an open GOP.
We have an article on how to create streaming media compatible content. While the article focuses on the free and open source command line encoder FFmpeg, the same concepts apply to all encoders and content.
Please do not use Handbrake to create content as they removed the “no-scenecut” option from their source code and as such it cannot make streaming media compatible content.