Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: New: Ability to specify a play start time and duration for HTTP streaming

  1. #11
    Join Date
    Sep 2011
    Posts
    3

    Default Thanls

    i will try it...

  2. #12
    Join Date
    Oct 2010
    Posts
    12

    Default

    For me the .smil method works halfway, i.e. the file plays, but always from the beginning.
    I've tried specifying begin="30" instead of begin="0.30" but it still plays from the beginning.
    Also, the first line of your example (first post) seems to be missing playlist.m3u8

    Here's the smil file:
    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="../5ch.stream/mp4:1316361600.flv" begin="0.30" dur="0.10" system-bitrate="850000"/>
    </switch>
    </body>
    </smil>
    I'm using osmf demo player (http://osmf.org/configurator/fmp/#) with the following line:
    http://localhost:1935/vod/_definst_/...l/manifest.f4m

    P.S.
    I am using Wowza 3 preview 4
    Last edited by velshome; 09-18-2011 at 11:25 AM.

  3. #13
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    Does the .flv file actually contains h.264 video and AAC or MP3 audio? It might work better to be an actual quicktime (eg .mp4) container.

    Richard

  4. #14
    Join Date
    Oct 2010
    Posts
    12

    Default

    Richard,

    It does, it's H264 Baseline and AAC audio.
    But just to be on a safe side I've tested with sample.mp4 that comes with Wowza (the 'Bunny clip') and the results are the same - video plays from the beginning no matter what is specified in begin='' option.

  5. #15
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    I am getting same, and have forwarded issue. We'll get back to you.

    Also, in my test "0.40" is 400 milliseconds, so it should be "4.0" to be 4 seconds. We'll update the doc.

    Thanks,
    Richard

  6. #16
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    Also, this does not work to create a sequential playlist. I had indicated that is was, that was wrong.

    Richard

  7. #17
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    The article is updated. Use the updated example. It was just the decimal place being off.

    Richard

  8. #18
    Join Date
    Oct 2010
    Posts
    12

    Default

    Richard,

    Thanks for the update !
    Tried with begin="40.0" and 400.0 and even 4000.0 - still plays from the start of the file (sample.mp4)

    Also, would you recommend a way to create sequential playlist on server side ?
    If I use MediaList API to create a module, would I be able to have more than one file in playlist ?

    What I'm trying to accomplish is to play a number of files, starting at a specific position in first file, then playing it till the end, then playing the rest of the files and stopping at some point in the last file.

    Thanks !

  9. #19
    Join Date
    Dec 2007
    Posts
    25,690

    Default

    Try deleting the phone's safari cache. It did work for me. Or make a new file new.smil. Copy this exactly:
    Code:
    <smil>
     <head>
     </head>
     <body>
      <switch>
       <video begin="30.0" dur="40.0" src="mp4:sample.mp4" system-bitrate="450000"/>
      </switch>
     </body>
    </smil>
    Richard

  10. #20
    Join Date
    Oct 2010
    Posts
    12

    Default

    Created new smil file with your code (copy/paste), moved sample.mp4 to the same location as .smil file - still the same.

    I'm actually using OSMF player to test, not IPhone (http://osmf.org/configurator/fmp/#)
    Can't test with iPhone now, but will try it a bit later.

    Can it be a problem of smoothstreaming ?

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

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