Results 1 to 7 of 7

Thread: Duration issue when streaming large MP3 files

  1. #1
    Join Date
    Feb 2012
    Posts
    3

    Exclamation Duration issue when streaming large MP3 files

    When we stream large MP3 files (1 hour or more) the duration of the stream is greater than it actually is (as reported by our own application and by QuickTime/Windows Media Player/VLC).
    The duration difference seems to be relative to the length of the media, for example an mp3 with duration of about 50 is 2 seconds longer than expected, where for an mp3 with duration of 1:33:46 we get extra 13 seconds.
    This is an issue for us since we wrote our own player and we base our slider position to frame mapping on the duration of the media that we get.
    If we scrub the playhead to the end of the file, it seems that the stream continues even-though the playhead has reached the slider end.

    Please help us resolve this issue.

  2. #2
    Join Date
    Dec 2007
    Posts
    28,412

    Default

    Do you get the same problem with the same file(s) using the Wowza Flash example player SimpleVideoStreaming or with JW Player?

    Richard

  3. #3

    Default

    Try adding the following property the MediaReader/Properties on conf/[application]/Application.xml:

    Code:
    <Property>
    	<Name>calculateMoreAccurateFrameWindow</Name>
    	<Value>true</Value>
    	<Type>Boolean</Type>
    </Property>
    Charlie

  4. #4
    Join Date
    Feb 2012
    Posts
    3

    Default

    Quote Originally Posted by rrlanham View Post
    Do you get the same problem with the same file(s) using the Wowza Flash example player SimpleVideoStreaming or with JW Player?

    Richard
    I've tried with Adobe Flash Media Server's sample video player and it showed the long (wrong) duration
    The Wowza Flash example does not show the file duration.

  5. #5
    Join Date
    Feb 2012
    Posts
    3

    Default

    Quote Originally Posted by charlie View Post
    Try adding the following property the MediaReader/Properties on conf/[application]/Application.xml:

    Code:
    <Property>
    	<Name>calculateMoreAccurateFrameWindow</Name>
    	<Value>true</Value>
    	<Type>Boolean</Type>
    </Property>
    Charlie
    Adding this property had no effect.
    It may be worth mentioning that the file for which we're having a problem is a 44.1KHz file and not 48KHz

  6. #6
    Join Date
    May 2011
    Posts
    498

    Default

    Would you send a zip of [install-dir]/conf and logs directories, along with one of the files that exhibit the problem so we can look into this some more. A short video is fine. Please reference this thread in your email to support@wowza.com.

    -Lisa

  7. #7
    Join Date
    Jun 2011
    Posts
    636

    Default

    For others with this problem, this is the resolution:

    Make sure you are on a recent Wowza release (3.1.0 or greater) and add these properties in your
    /conf/[AppName]/Application.xml to the MediaReader/Properties container:

    Code:
    <Property> 
       <Name>calculateMoreAccurateFrameSize</Name> 
       <Value>true</Value> 
       <Type>Boolean</Type> 
    </Property> 
    <Property> 
       <Name>calculateMoreAccurateFrameWindow</Name> 
       <Value>200</Value> 
       <Type>Integer</Type> 
    </Property>

Similar Threads

  1. MP3 Streaming for S3 files: Not Working on Android Device
    By abhi158005 in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 02-20-2014, 07:55 AM
  2. Set duration to RTMP MP3 Streaming
    By chf2013 in forum Server-side Modules and Code Samples Discussion
    Replies: 3
    Last Post: 06-19-2013, 06:22 PM
  3. Video on demand for large files
    By kudrik in forum General Forum
    Replies: 2
    Last Post: 01-23-2012, 01:09 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
  •