Seek before play and incorrect time reporting

I've been using OSMF to implement HLS streaming in my video player, and I've come across an issue that seems to be a bug.
Basically, I'm using a MediaPlayer object with an F4MElement. I wait for the PLAY and SEEK traits to be available, and then play the media.
Using this method works fine, and subsequent seek operations also work correctly. The time I get will be the current time of the total.
For example when I play a 60 second long video for a second or two and then seek to 30 seconds in, the video will play from 30 seconds in and the currentTime of the media player will correctly report 30 as the currentTime and 60 as the duration
However, if I perform a seek *before* playing the video or before some undetermined time has passed(simulating playing from the stream an offset in), then play, while the video will correctly play from the seek point, it will report the current time incorrectly. Specifically, it will report it as if the seek point is the 0 point of the media.
For example, when I load a 60 second long video and seek to 30 seconds in, then play, the video will play from 30 seconds in, but the currentTime of the media player will incorrectly report 0 as the currentTime(60 is correctly reported as the duration).
What seems to be happening is that the currentTime is being reported as an offset from when the first play operation was started, but it should be an offset from the beginning of the stream. Is there any way to fix this?

Are you using resource.clipStartTime by any chance? Using clipStartTime ends up passing in the optional start time when calling ns.play() e.g.
var startTime:Number = 30;
ns.play(videoName, startTime, -1, true);
Unfortunately this literally resets the videos true timecode to begin showing ns.time as 0:00 instead of the startTime (0:30). This is not a bug but by design for generating a playlist (not OSMF specific). See the attached docs for more info.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.htm l#play()
If you are using clipStartTime remove it then manually seek to your startTime as soon as the stream has loaded. If you're already doing that then I'm not sure why but it sounds like it's implementing a clipStartTime regardless.

Similar Messages

  • Mail delivery problems and incorrect time stamps

    I'm running Server 10.4.9 and along with hosting two webpages I am hosting email for one of the domains. Whenever a message is received by an account hosted by my server, the time listed for receiving the email is incorrect. It varies from 1 to 4 hours fast or slow depending on the source of the email. It happens with both incoming and outgoing mail. If a message is sent from one account to another on my server, the time stamp is correct.
    In addition to the incorrect time, I have noticed messages directed to one account being delivered to another. For example, in my own mailbox I recieve messages that were intented to go to another user mailbox on my server. I don't know if that is related to the same problem or if it is a spam issue but I figure any bit of information will be helpful.
    And finally, I do not believe all mail is reaching the intended mailbox. I have junkmail and notjunkmail accounts enabled for spam and if I redirect 10 emails usually only 5 at the most will make it. I get no return errors when redirecting (ex: undeliverable)
    I have checked the obvious time and date panels in OS X including the server admin and everything matches. The timezone is also correct. I type date into the terminal and that comes up correct as well. This isn't my first time configuring a server.... I've hosted mail servers with 10.2 and 10.3 in the past with no problems but this is my first time using 10.4. I'm pretty comfortable navigating through the server, but I have limited experience in terminal. (Just for FYI) Usually with enough time I can figure almost anything out, but I've run out of ideas here. Any help would be greatly appreciated. Thanks...

    I'm running Server 10.4.9 and along with hosting two
    webpages I am hosting email for one of the domains.
    Whenever a message is received by an account hosted
    by my server, the time listed for receiving the
    email is incorrect. It varies from 1 to 4 hours
    fast or slow depending on the source of the email.
    Where are you looking at the timestamp? On the message headers? Are you taking into account any timezone corrections on same headers? E.g. following message sent from Apple HQ to UK...
    Received: from uk2mxserver3-10.uk2.net ... Sun, 15 Apr 2007 10:24:34 +0100 (BST)
    Received: from bz3.apple.com ... Sun, 15 Apr 2007 10:24:31 +0100
    Received: from acutil03.apple.com ... Sun, 15 Apr 2007 02:24:22 -0700 (PDT)
    Otherwise you will need to post examples.
    In addition to the incorrect time, I have noticed
    messages directed to one account being delivered to
    another. For example, in my own mailbox I recieve
    messages that were intented to go to another user
    mailbox on my server. I don't know if that is
    related to the same problem or if it is a spam issue
    but I figure any bit of information will be helpful.
    And finally, I do not believe all mail is reaching
    the intended mailbox. I have junkmail and
    notjunkmail accounts enabled for spam and if I
    redirect 10 emails usually only 5 at the most will
    make it. I get no return errors when redirecting
    (ex: undeliverable)
    What does the mail.log show for these messages? You should be able to track them moving through the system.
    -david

  • Find My iPhone and incorrect time problem

    I just tried out the Find My iPhone feature on iCloud (Mac Mini) and played a sound on my iPhone just to see if it worked, which it did. My query is I immediately got an email from Apple to say a sound was played on my iPhone but the time was totally incorrect. I played the sound at 1830 hours but the email said it was played at 1030 hours (8 hours earlier).
    The time on my iPhone and Mac Mini are both correct. How do I make the Find My iPhone display the correct time?
    Thank you.

    That's about right,  8 hours from California time.  Check your preferences for this site
    And see what your timezone is set to:

  • Webm loads completely before playing and starts playhead at the end

    Hi,
    We are trying to figure out playback of our WebM videos in Firefox. Looking at the native video player by going directly to a video url we have some strange behavior.
    We have found that the browser seems to download the entire video before beginning playback. When the video finally does download and playback, we find that often the playhead will be placed at the end of the video. If the playhead is not at the end of the video, you can't just click play, you have to click a position in the "timeline" to get the video to begin playing.
    Ideally, the behavior would be that the video beings playback as it starts to download from the beginning of the file.
    We are encoding the videos with FFMPEG using libvorbis and libvpx. We server our content from Amazon Cloudfront, but can also test from a lighttpd server (same behavior).
    Please let me know if you would like more information and thank you for your help!
    Here are a bunch of our videos to look at:
    http://cdn.computerscience1.net/2013/spring/lectures/1/lecture1-240p.webm
    http://cdn.computerscience1.net/2013/spring/lectures/1/lecture1-360p.webm
    http://cdn.computerscience1.net/2013/spring/lectures/1/lecture1-720p.webm
    http://cdn.computerscience1.net/2013/spring/lectures/1/lecture1-1080p.webm

    Has anyone found an answer to this? I tested and used a different converter other than Miro and the issue didn't happen. The webm file played normally. Fact is, i dont want to pay for another converter - I really want to use Miro.
    ...anything?

  • Exchange 2010 invites in ical show with floating timezone and incorrect time

    When I receive exchange 2010 invites sent via email as an ics attachment and open them to add them into ical the time zone shows as floating and the event time is incorrect as it doesn't take the time zone into consideration. How can I change the time zone/ time for these events?

    Well seems that its sad that no-one from Apple or otherwise knows why Apple Mail and iCal are such junk - but I'll answer for those who might want to know what solves these things.
    In a nutshell - I removed my accounts from iCal and Mail - added things thru iCal and had it create the account in Mail automatically (Exchange 2010 has all my mail up online anyways) - and sure enough this fixed things.
    Guess doing the Mail separately from iCal doesn't work right. Go figure.

  • N78 and incorrect time

    Hi all,
    For some reason the time displayed in the main menu of my N78 sometimes lags behind the time displayed on the standby screen. If I haven't used then phone for a while and go through the main menu to use an application or search the web, when I go back into the main menu next, the time is on the time I last went through the main menu. For example the standby screen can display 0945, I go into the main menu and it says 0945, as does the applications menu. I then do some stuff in the applications and when I go back through the main menu it still says 0945 regardless of how long I've been. It will eventually update if I leave it alone for a while, or if I'm in the main menu when the actual time ticks onto the next minute. It's as if it gets stuck on the last time I was in the main menu. Any ideas??

    arunix wrote:bernacher is saying right here if  the problem is still remain  then change battery(Cell)......
    Actually, I already did change the battery and I'm still getting the error. What I haven't done is delete that particular file....yet.

  • Track delays before playing  -  Help please

    DSP - 3 One of my tracks seems to delay before playing and I end up with a black screen before it begins. I went back to Final Cut and can't find any problem with it there. All my other tracks start fine. Help please.
    Thanks.

    Where are you seeing this? On a DVD player or in Simulator? What kind of menu are you using?
    The delay on a disc is usually (but not always) related to where the menu is physically located (usually near the spindle hole) compared to the track (anywhere else moving outwards towards the edge of the disc), and the routing tables which DVDSP creates on your behalf when the disc is built. Not all menu/track relationships will see the same delay and you can perhaps reduce it by adding the asset for the troublesome track into another track and setting it apart with a story. Your menu can then point to the assets within the story and it should make a difference.
    However, the delay you see on your player will almost certainly be different to that seen on another player - without using a spec level authoring package (or trying it in DVDSP4 where you can move menus into specific VTSs) you may well be stuck with it as it is if adding the asset to an existing track doesn't work.

  • How to fix Flash Player buffering entire video before playing?

    I am using the most up to date version of flash (16.0.0.305), windows 7, and the problem persists across all browser (IE, firefox, chrome). Today all flash videos are buffering the entire video before playing and i can't seem to figure out how to fix it. I've gone through the entire troubleshooting from Video playback issues (i.e. clearing caches, re installing chrome, re-installing flash, etc.) and nothing seems to change it. Youtube and other premium streaming services (ex. netflix) work fine which suggests the streaming problem is specific to flash. Any help would be greatly appreciated.

    I tried uninstall and re install both Flash Player and Chrome it self but nothing changed.
    I also noticed that when i try to download something on chrome (this is the browser i use for everything), for example a movie trailer from Apple's trailer site (for example this movie trailer iTunes Movie Trailers) i right click and press Save As, it does nothing after that and after let's say some seconds the window pops up asking me where to save it, and i save it. That means that when i press "Save As" it does starts downloading in the background (like the first post in this thread states) and only wneh it finishes downloading the Chrome pop up window appear. When it should pop immediatelly asking me where to save it the moment i right click something and press Save As. At least that what i used to do before THIS whole problem started......
    Any thoughts...??????
    Please i am desperate...... 

  • HT5622 The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings no

    The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings nothing!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Game Center and sign out and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • Can't play rented movies.  They appear to download OK and the timer accurately reports days remaining to watch.  But whenever I try to play the movie I get this message, "An error occurred loading this content.  Try again later."

    Can't play rented movies.  They appear to download OK and the timer accurately reports days remaining to watch.  But whenever I try to play the movie I get this message, "An error occurred loading this content.  Try again later.". Have been using the Apple TV for 2 weeks and everything else seems to work OK.  The Apple TV reports its SW is up to date.  I've tried this with two movies rented frim iTunes directly from the Apple TV.

    If after you download the movie, you navigate away and do something else with your Apple TV the content you have downloaded will be overwritten and you'll need to download it again. It's a pain in the neck for many who have slow downloads but it's something that comes with using volatile memory rather than a hard drive for storage.
    Perhaps you're not doing this, but I thought it worth mentioning.

  • When I move my mouse Itunes stops playing. This was happening before I installed latest version. I have installed latest version three times. First and install, then as a repair, and third time I unistalled Itunes and reinstalled i.

    when I move my mouse Itunes stops playing music. Sometimes this happens immediatly and sometime it take 10 to 15 sec. I tried playing Itunes and then tabing another program but same result. If I click on play and do not move mouse Itunes works as usual.. This was happening before I installed latest version. I have installed latest version three times. First and install, then as a repair, and third time I unistalled Itunes and reinstalled i.

    when I move my mouse Itunes stops playing music. Sometimes this happens immediatly and sometime it take 10 to 15 sec.
    At various stages over the years, mouse-related iTunes trouble has been associated with driver conflicts. So it might be worth following up on that possibility.
    Head to the drivers and downloads page for your model of PC, and check to make sure you're not behind on any chipset and input-device-related driver updates. (And while there, just in case, also check to make sure your BIOS, sound-card/integrated audio, and video-card/display-adaptors are up to date.)
    If you're behind on anything, and you update, does that help with the mouse-related iTunes issues?

  • HT1476 How often the charging cycle to be done before the replacement of the battey. Likewise, is it ok to use the iphone while charging such as playing and watching movies. Please give me a reliable answer because this is my first time to use iphone.

    Is it ok to use iphone while charging? Such as playing and wathing videos, or performing internet? How often the charging cycle to be done before the replacement of the battery? Can u please give me reliable answer because this is my first time to use iphone. I've wondering about the battery, since its built-in i wanted to care about the battery.

    Roelt wrote:
    Is it ok to use iphone while charging? Such as playing and wathing videos, or performing internet? ...
    Yes.
    How often the charging cycle to be done before the replacement of the battery?
    Read this:
    http://www.apple.com/batteries/iphone.html

  • I created an album in iPhoto and every time I click on slideshow it plays the pictures backwards from the order in the album. How do I change that?

    I created an album in iPhoto and every time I click on slideshow it plays the pictures backwards from the order in the album. How do I change that?

    When running a slideshow from an album it will not run properly if the photos are sorted manually.  Sort them by any of the other options, title, date, rating, etc. and it will play correctly.
    Send a report of the problem to Apple via http://www.apple.com/feedback/iphoto.html.
    If you must sort them manually create the slideshow in the slideshow mode in iPhoto, not from an album.
    OT

  • HTML5/quicktime player plays and pauses several times a second

    We've been getting some weird entries in our statistics logging on our streaming media system, and I've managed to not-so-much recreate the problem as be around when it occurs.
    Playing about with the interface (scrubbing quickly, then playing/pausing repeatedly, etc) doesn't seem to trigger the problem - it just seems to happen occasionally after a few minutes of a player being open in full-screen mode.
    The actual symptoms are the the stream suddenly starts pausing and playing incredibly quickly - upwards of 10 times a second - and you can see the play and pause buttons swapping incredibly quickly. We're not getting this problem with any other of our players, and we're using the iPad's built-in player, not our own HTML5 player, although I'm still not entirely convinced it isn't a bug with our servers.
    The stream also seems to start looping, and as soon as it reaches the end of the stream it starts again, which is making me wonder if it's a bug with the UI itself, as if the play and pause buttons are getting triggered constantly, but changing the rotation doesn't stop it happening. I also wondered if it was something silly, like someone sneezing on the screen and the moisture triggering the touch screen, but that doesn't seem to be the problem either.
    Has anyone else seen this behaviour before? I don't seem to be able to directly trigger it - it just seems to happen occasionally.
    I'm trying to get a video of the symptoms, but it's not playing ball at the moment. If I can get it to do it again, I'll add a video example in a later post/edit.

    We've been getting some weird entries in our statistics logging on our streaming media system, and I've managed to not-so-much recreate the problem as be around when it occurs.
    Playing about with the interface (scrubbing quickly, then playing/pausing repeatedly, etc) doesn't seem to trigger the problem - it just seems to happen occasionally after a few minutes of a player being open in full-screen mode.
    The actual symptoms are the the stream suddenly starts pausing and playing incredibly quickly - upwards of 10 times a second - and you can see the play and pause buttons swapping incredibly quickly. We're not getting this problem with any other of our players, and we're using the iPad's built-in player, not our own HTML5 player, although I'm still not entirely convinced it isn't a bug with our servers.
    The stream also seems to start looping, and as soon as it reaches the end of the stream it starts again, which is making me wonder if it's a bug with the UI itself, as if the play and pause buttons are getting triggered constantly, but changing the rotation doesn't stop it happening. I also wondered if it was something silly, like someone sneezing on the screen and the moisture triggering the touch screen, but that doesn't seem to be the problem either.
    Has anyone else seen this behaviour before? I don't seem to be able to directly trigger it - it just seems to happen occasionally.
    I'm trying to get a video of the symptoms, but it's not playing ball at the moment. If I can get it to do it again, I'll add a video example in a later post/edit.

  • Report showing labor and machine time based on standard cost estimate

    Hi Friends,
    Ours is an Manufacturing organisation & we have a requirement of report showing machine and labor time as per part wise & cost center wise. We need to run the report before saving standard cost estimate [CK11N]  in order to see the part wise or cost center wise discrepancies in machine and labor time. If any one could help in creating such report in SAP  it will be of great help.
    Regards,
    Varsha

    Hi Varsha,
    you can jump from CK11N to a own report by
    Menu Function 'Costs -> User Exit Display'
         Cost Report 1 / 2 / 3
    The own report can be implemented via (SMOD) enhancement SAPLXCKA
    The report will be handed over the currently displayed in the program interface.
    some example coding is provided for the exit.
    compare SAP Note No. 71146
    best regards,   Udo

Maybe you are looking for

  • Lumia 900 gets stuck on 4G (HSPA+) and won't conne...

    In this thread, 4G referrs to HSPA+, LTE referrs to LTE. Below I'm going to go into detail about the LTE issue with the Lumia 900 on AT&T.  This issue is separate from the no data connectivity issue that has already been addressed with an update. The

  • Integration server already has a business system

    Dear All, I got problem while creating sender business system for FILE-IDOC Scenario.I have created r3_800 business system for IDOC receiver with logical system name APOCLNT800.After that I tried to create business system for FILE Sender with logical

  • Ios7 not updating from the beta.

    I had the beta ios 7 and i just know got the ios7 official update. when I pressed the update button it updates fine but when i went to use my phone, it said activation error. When i try to unlock it its telling me that im not a dev and now i cant use

  • Error Msg Plse Help

    I've tried to add an ebook to my Adobe Digital Editions, but I get the following Error msg " E LIC ALREADY FULFILLED BY ANOTHER USER" please help.

  • Yellow Exclamation Point! HELP

    Every time I go to Safari it kicks me off after 30 seconds and has the yellow exclamation point pop up and say Error Relaunch. I've sent the report to Apple too. Help Please!!!!!