i will try it...
i will try it...
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:
I'm using osmf demo player (http://osmf.org/configurator/fmp/#) with the following line:<smil>
<video src="../5ch.stream/mp4:1316361600.flv" begin="0.30" dur="0.10" system-bitrate="850000"/>
I am using Wowza 3 preview 4
Last edited by velshome; 09-18-2011 at 11:25 AM.
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.
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.
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.
Also, this does not work to create a sequential playlist. I had indicated that is was, that was wrong.
The article is updated. Use the updated example. It was just the decimal place being off.
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.
Try deleting the phone's safari cache. It did work for me. Or make a new file new.smil. Copy this exactly:
RichardCode:<smil> <head> </head> <body> <switch> <video begin="30.0" dur="40.0" src="mp4:sample.mp4" system-bitrate="450000"/> </switch> </body> </smil>
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 ?