Results 1 to 8 of 8

Thread: HLS stream freeze after seeking video forward or backward

  1. #1
    Join Date
    Dec 2012
    Posts
    28

    Default HLS stream freeze after seeking video forward or backward

    Hi guys.

    I have issue and I don't really know how to solve it. When I'm seeking my video forward or backward, video and audio freeze and time goes forward. But after sometimes, video reach to time and continue to play.
    The point is, I've checked this video on HDS and HSS and nothing happened. I'll just happen on HLS.

    Here is a link that you can check by yourself: http://vayapanel.com:801/video/parti...f-867202a475da

    Thanks a lot.

  2. #2
    Join Date
    Dec 2012
    Posts
    28

    Default

    Here is another video longer than previous one: http://vayapanel.com:801/video/parti...d-b017a77a3416

    Hope it'll help.

  3. #3

    Default

    It could be that the key frame interval is to high. For seek to work, Wowza needs a key frame every 10 seconds. You can increase Wowza key frame tolerance by adding the following property to the MediaReader/Properties section in [install-dir]/conf/[application]/Application.xml. It looks like this:
    <MediaReader>
    	<Properties>
    		<Property>
    			<Name>seekKeyFrameSearchWindow</Name>
    			<Value>40000</Value>
    			<Type>Integer</Type>
    		</Property>
    	</Properties>
    </MediaReader>
    Another suggestion is to try adding seekTarget Property to the Application.xml /Streams /Properties list set to "enhanced":
    <Property>
    <Name>seekTarget</Name>
    <!-- valid values are: videoKeyFrame, audio, enhanced. DEFAULT = videoKeyFrame -->
    <Value>enhanced</Value>
    </Property>
    What is the key frame interval? And video and audio codec?
    If you determine you need to re-encode the files you can use this guide:
    How to encode video on demand content

    Salvadore

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Do you have this problem when playing a single file instead of the .smil? It might be a problem with switching, as I see you are doing ABR HLS streaming.

    But it is not clear that you are actually doing HLS streaming. I don't see the player downloading .ts chunks. I think you need the Enterprise or Premium version of JW Player to do HLS on the desktop.

    Richard

  5. #5
    Join Date
    Dec 2012
    Posts
    28

    Default

    well I checked it single file and thats fine. guess you're right. but the problem is not just freezing. scince I made the changes that Salvadore's said, it gets worse. freezing problem somehow solved but it'll move forward and backward and sometimes sound plays but picture freezes. Maybe you're right and I have to purchase JW player.

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    How was the content encoded, what are the video encoding details? I wonder if there is a very long key frame interval. Take a look at this article on vod encoding

    Richard

  7. #7
    Join Date
    Dec 2012
    Posts
    28

    Default

    Hi Richard,

    I encoded whole content exactly the way Wowza community instructed with FFMPEG and command below:
    ffmpeg -y -i Butterfly_HD_1080p.mp4 -s 320x180 -y -strict experimental -acodec aac -ab 64k -ac 2 -ar 48000 -vcodec libx264 -vprofile baseline -level 30 -g 48 -b 200000 -threads 64 butterflyiphone_320.mp4
    but I still have the problem!

  8. #8
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Do you still have that seekKeyFrameSearchWindow property in place? Try taking that out. Or try a brand new application. Is there any custom modules? If so, remove for the moment.

    What device and iOS version are you testing with?

    Richard

Similar Threads

  1. Video sometimes freeze
    By chatlumo in forum General Forum
    Replies: 1
    Last Post: 02-07-2013, 08:45 PM
  2. Disable seeking for on demand (HLS)
    By felixx in forum Video On Demand Streaming Discussion
    Replies: 0
    Last Post: 10-17-2012, 09:36 AM

Posting Permissions

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