FLV seek snaps to nearest 12 seconds

I'm quite new to OSMF and I'm having an odd problem. I've built a very simple media player that features basic controls and nothing else.
When I try to seek through my videos however, it skips to the nearest 12 second interval. For example, clicking anywhere at the start seeks to 00:12, click anywhere slightly after that seeks to 00:24, and so on. The seeker is returning the correct duration when I click it, but regardless the player skips to the next 12 second interval. This happens on different FLV lengths too, I tried it with various videos.
I'm confused as to why this would be, is there some sort of parameter where I can set the seeking to 'precise' or something? I had a scan through the docs and didn't see anything to that effect.
Any help would be greatly appreciated!

Hi,
Check this:
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#see k()
As you can see, you can enable EnhancedSeek if you use a FMS server. Otherwise, you need to re-encode the videos with a smaller key frame interval.
hth,
-Andrian

Similar Messages

  • FLV on web - Player takes a second to appear

    Greetings,
    I have an FLV that is hosted/streamed via FCS.
    The swf background that is behind the FLV player/skin appears
    for a second or two before the FLV skin pops on.
    I have pasted a screen capture of the player behind it to
    compensate.
    Does anyone have a better method? Is ther a better method via
    preloader
    to handle streaming video?
    Regards,
    ToeCutter

    Hi,
    I think both Planning and Essbase are done sending the required data/metadata to client and from that point on it's up to the client to generate the form. Like you are suggesting, although you see the form with cells and numbers, it takes time to generate the scroll bars (i.e. complete the form generation). My hunch is that this could be related to a security setting or an antivirus setting that could be slowing down the java script. Essentially, it's a hefty java script that generates the form and in some cases (such as with McAfee) there are certain settings to enable scanning java scripts on web pages before running them. You can make sure by tracking the process in task manager on the client when opening the form. If this is the case, disabling this option might improve the performance.
    Cheers,
    Alp

  • [SOLVED] Player which can seek by 5 (or less) seconds

    Hi!
    I'm looking for a player which will allow me to seek the video by 5 (or less) seconds. I didn't find an appropriate option in xine. There's a config option for mplayer, which theoretically allows to override the default seek time, but it seems that it supports only values greater than 10 seconds, which is unsatisfying. If there's some player which will support that function, please let me know.
    Cheers.
    Last edited by lateralus (2008-10-15 09:20:31)

    Procyon wrote:You can set mplayer seek time to less than 5. Some formats will give problems though, like mp4. When rewinding 2 seconds e.g. it will often run into a point where it can't get past. But that's just with mp4 I believe.
    And mp4 is happened to be a format of the files in which I need this precise seeking
    But nevermind, I totally forgot about vlc, and it has all functions that I need (seeks by about 3 seconds, even in mp4).
    Thanks anyway, cheers.

  • Itunes 10.5.2 is running so slowly - it takes over 1 second for a track to start and whenever i move to a different position in the song using seek, it takes over 1 second for the audio to start playing

    Anyone having problems with iTunes 10.5.2?
    I'm having long times to start a track and then over 1 second to start playing again whenever I skip to another part of the track.

    Refer this article to reset Winsock to it's default.  Your PCTools may have inserted LSP.
    http://support.apple.com/kb/TS4123?viewlocale=en_US
    After reset and restarting windows, you may get a prompt to remap LSP, click no.

  • Cursor movement with snap to nearest data

    I would like to have a SINGLE cursor snap to the closest data point to the mouse cursor on an XY graph when mouse:down.
    The cursor action requires dragging. Any way to have the cursor snap to the closest data point (closeset in euclidian pixal units) to the mouse location without dragging?
    I've tried to extract the mouse coordinates and then search through a list of XY graph coordinates converted to pixel coordinates. It seems like the mapping of graph coordinates to pixel coordinates is inconsistent with changes in text and other features outside the graph area.
    Useful features
    1. output XY coordinates of at least one corner of the graph (inside where the data is) area.
    2. An index to the closest data point in the graph where the mouse is located.
    3. An option for a cursor to snap to the closest data point where the mouse is located while mouse:down.
    Any workarounds (example VIs) are greatly appreciated.
    Solved!
    Go to Solution.

    Here is some code attached which is hopefully useful to others.
    The incorrect graph coordinates I referred to earlier was in an NI example "Draw Graph with Events". Maybe NI can fix in the next release? (Not the best example of how to do things correctly....).
    have fun.
    Attachments:
    GraphMouseInteraction.zip ‏33 KB
    Graph to pixel Coord.vi ‏39 KB

  • Flex App Hangs on Streaming FLV Seek

    Good afternoon all.
    In my current Flex 2 project, I'm switching our video
    playback components from using progressive download to streaming
    playback via FMS 3. Everything's working great and doing what it
    should, but occasionally when I perform a seek on a NetStream, my
    whole application freezes until the seek operation is complete.
    I was curious if there were places in my code that were
    causing the slowdown, so I created a very basic barebones version
    of the streaming player (one netconnection, one netstream, one
    flash.media.video component, and an HSlider as a timeline) and even
    then I was getting the freeze on seek.
    Is this behavior common, or should I perform more tests to
    see if there's a bottleneck somewhere? If it helps, FMS is
    currently being run on a somewhat overtaxed dev box - could that be
    causing the freeze as well?
    Thanks!
    --GC

    quote:
    Originally posted by:
    justria
    Me? I've seen the problem on Safari.
    I've got the same thing on IE when anti-phishing filter is
    turned on.
    http://mitek.id.au/blog/2008/08/02/flex-debugging-session-is-stuck-at-the-loading-stageie- only/
    Turning anti-phishing filter off for my local site fixed this
    problem.
    And I've got RSL libraries which I am dynamically loading and
    sometimes they stuck as well at a later stage. And I can't find the
    reason or solution for it so far. It happens only on a local site
    (Apache 2.2.9 on Windows) and it never happens on production site
    which runs same version of Apache under FreeBSD.
    Actually, one thing improved the situation, but not fixed it
    - I've added an empty event handler on preintialize event in the
    loaded application component. The success rate improved from 2/10
    to 5/10.
    Cheers,
    Dmitri.

  • Issue seeking & scrubbing through a very large FLV

    BACKGROUND
    I am working with a flash developer on a project where we
    need to playback, scrub and seek through a 2 hour video. The
    developer is controlling a locally stored 3.3 GB FLV file using the
    netstream command. The FLV specs are: 640x480x29.97FPS encoded w/
    key frames every 12 frames to support ½ second seek accuracy.
    PROBLEMS
    It feels like the there is some caching mechanism fighting
    against our seek performance past the first few minutes of the
    video.
    1) The first time we seek to any point past the first few
    minutes there is a long one-time delay. If we go to the 30 minute
    mark, it takes 10-15 seconds to cue the video. However, after that
    one delay, subsequent seeks from 0-30 minutes are immediate.
    2) If we seek or scrub past ~5300 seconds, go back to the
    start and then try to go past the 5300 mark the seek delay happens
    again. So after "warming the movie up" we can quickly seek through
    the first half until we attempt to pass the magic 5300 second mark.
    I could live with problem #1 but #2 is a deal breaker. Here
    are some more data points:
    TESTS
    1) SMALLER FLV: If I compress the movie to 2.75 GB I can seek
    further in before running into the above problem (6300 seconds)
    2) LARGER BUFFER: Setting a large pre-load buffer solved the
    performance issues but there is no way we have enough RAM to
    preload the entire video. (We tried and it crashed).
    3) MEMORY OBSERVATIONS: When we seeked to 30 minutes, we did
    NOT notice a jump in memory usage while waiting for the video to
    cue.
    Does anyone have any ideas on this one? My gut is telling me
    that Flash is building some kind of time code lookup table on the
    fly and it is arbitrarily limited in size.
    pete

    That's a tough one. Acrobat is not designed for tiling PDF files to create another PDF. That's really what you're asking. There is the option to PRINT to a PDF, and turn on the Poster feature. If were in Windows where there is a real Adobe PDF printer driver, you could probably use that feature. But for various reasons (too complicated to describe here), that was withdrawn on the Macintosh.
    If you have a copy of Adobe InDesign, and if you installed an Adobe PDF 9 PPD file (see description below), it could be done in a somewhat awkward way. InDesign allows you to place PDF files so you would need to make a page of the proper size and place your large PDF:
    Then after installing the Adobe PDF 9 PPD file, you could choose File > Print. Then choose to print a PostScript file to the Adobe PDF 9.0 PPD file. In the Setup panel, you'd choose a Letter size page. Then you'd choose the Tile option at the bottom and set the Overlap amount:
    Then you'd save the PostScript file and process through Distiller.
    My blog post below describes how to find and install the Adobe PDF 9.0 PPD file:
    http://indesignsecrets.com/creating-postscript-files-in-snow-leopard-for-older-print-workf lows.php

  • FCP6 adds 20 extra seconds when exporting to .FLV

    When I export a FCP6 project to .flv (File> Export> Using quicktime conversion and Format: Flash Video (FLV))it automatical adds 20 extra seconds to the end, showing the last frame, before the movie stops.
    How can I avoid this?

    Hi Ken,
    IMHO the FLV component is cr*p. Look at the version number. It says something with X... which usually is the moniker for development versions. Come on (M)A(cro)dobe.
    Btw. is it Flash CS3?
    So, try the following:
    Export your timeline as a self-contained QuickTime-Movie (File > Export > QuickTime Movie, then Checkbox: Make Movie self-contained).
    Then use the standalone Flash video encoder application (in /Applications folder).
    If that doesn't work either, you could also try 3rd party apps:
    VisualHub - http://www.techspansion.com/visualhub/
    Flix Encoder Standard - http://www.on2.com/products/flix/flix-standard/
    The latter supports Flash 8 (better quality VP6 codec). Both are reasonably priced ($23, $39) and have demo versions available.
    Hope this helps.
    Best regards, Oliver

  • Problem seeking video in flash player 9,0,115,0

    Hi all,
    I had a flash app that loads and plays an FLV, when it
    reaches the end it seeks to a point in the middle of the video and
    loops that. This had been working fine for ages, but now with the
    latest flash player update, there is a bug in the seek. Sometimes
    (and only sometimes), when it seeks the video display is all
    garbled, its as if it isn't seeking to a keyframe. But the point I
    am seeking to does have a keyframe (in fact it has a navigation
    cuepoint).
    The project is AS2 published for flash player 8 and I'm
    testing locally. I am not using a component, just simple straight
    forward video, netconnection, netstream etc. I'm using the
    NET_STATUS event to check the video finishing, and using seek(10)
    to seek to second 10 (where I have a navigation cuepoint).
    Any ideas why this is happening? With the previous flash
    player, trying to seek to a point which doesnt have a keyframe
    results in seeking to the nearest keyframe. Now it seems the player
    doesn't always seek to the point I want to, even if there is a
    keyframe there, and seeks to a point just after the
    keyframe!!

    No dude, i don't think so it is an appropriate link for your right solution.
    please keep your patience i am sure you will get a positive reply because this is the most helpful forums.
    Wish you all the best.
    Free Games -
    Free Online Games -
    Play Free Games -
    Play Free Online Games

  • FCP Freezes When Exporting to Flash Video (FLV)

    Final Cut Pro 7.0.2 freezes when exporting to Flash Video (FLV). The resulting FLV file contains only a few seconds of the exported video. A 2009 Apple Support notice offers this re. FCP 6 and CS3 Flash Video Encoder...
    ===
    Final Cut Pro: May quit unexpectedly when exporting to Flash
    Last Modified: February 13, 2009
    Article: TS2593
    Symptoms
    Final Cut Pro may quit unexpectedly when you export using QuickTime Conversion if you choose Flash Video (FLV) from the Format menu.
    Products Affected
    Final Cut Pro 6.x, Adobe Creative Suite 3 Flash Video Encoder
    Resolution
    This can happen if you use the Adobe Creative Suite 3 Flash Video Encoder and Final Cut Pro together. This issue does not occur with the Flash Video Encoder in Adobe Creative Suite 4. To work around the issue:
    Choose File > Export > QuickTime Movie.
    Be sure to enable Make Movie Self-Contained.
    Open the exported movie in QuickTime Player.
    Export the movie to Flash from QuickTime Player.
    ===
    I just installed CS5, so I would think I shouldn't be bothered with an older, problematic Flash Video Encoder. I don't think I should have to convert an MOV file to an FLV file using QuickTime Reader or anything else. Why doesn't it export correctly out of FCPro 7.0.2?

    oh well.

  • Is Frame by Frame Seek possible in Flex 4?

    Hi,
    I am working on a Flex player and I want to move frame by frame but the seek() function moves only in seconds.Is it possible using any other function? Plz reply. I am kind of stuck. The functionality I want is available in VLC media player. You can see it by playing a video and continue pressing the "e" key from the keyboard which moves the video frame by frame.
    Thank in advance.

    David,
    It seems iM4 can have only one project open at a time.
    Your observation is correct, iMovie 4 will not let you copy and paste or drag and drop video clips, audio clips, and photos from one project into another.
    With iMovie 4 you will be limited to opening one project at a time. However there are several techniques that will allow you to share clip(s) from one project to another (eg. clips that have been edited on the timeline or clips from one project's media folder to another project media folder).
    Exactly what are you trying to do, or were you just asking to see if this feature was available in iMovie 4?

  • Snap to Point problems

    Illustrator CS6:
    I feel a bit of a fraud even asking this, as it seems so basic – but I am having trouble "snapping" one object to another.
    I can get objects to snap to ruler guides fine, but not other objects.
    Can anyone help?

    There are three snapping options in the View menu: Smart Guides, Snap to Grid, and Snap to Point.
    When the Smart Guides are on with the default options in the preferences, you can snap align the bounding box of the object being dragged to the bounding boxes of other objects by dragging the object from any point on its fill or path.  Smart Guides will show the alignment lines and also intersection lines when two sides of the bounding boxes of the dragged and target objects coincide and also when the center points coincide.
    If you hold the Ctrl key down while dragging, the Smart Guides will also snap the point under the cursor which doesn't have to be an anchor point but any point on the object's fill or path to a path or anchor point of another object and will display a label indicating if it is the anchor point or path being snapped to. If you are not dragging a whole object but  segment/s you don't have to hold the Ctrl key - it will snap to paths and points.
    Wen Snap to Grid is on, the Smart Guides if on are automatically turned off. When dragging whole objects, Snap to Grid snaps first straight lines if any to the nearest line on the gird and if there are no straight lines it snaps the nearest point of the object to the nearest point on the grid. There is no visual feedback with labels or cursor changes for eventual snapping because it always snaps to the nearest intersection of the grid.
    Snap to Point can be on when one of the previous two options is on. It will snap the point under the cursor which like the Smart Guides could be also any point on the object's fill, to the anchor points of other objects and it will indicate this by changing the cursor to white.
    Snap to Point compliments the Smart Guides by making the cursor white when snapping to a point and you don't have to hold Ctrl when dragging whole objects to snap to a point.
    With Snap to Grid on, Snap to Point has a priority and the point under the cursor will snap to a point of another object instead to the grid.
    Also have in mind that another level of snapping is added by using Snap to Pixel Grid feature available when creating a new document and from the Transform panel. It deals with anti-aliasing, it is object based, and will have a priority over all of the other snapping options

  • Default object duration in x.0 seconds only?

    am i being silly when i expect that the "default object duration" preference setting to honour whatever value is given after in decimals there for seconds instead of round it up or down to the nearest whole second as it seems to do????
    yeah yeah, 12.5 seconds in 25 fps does equal a half frame, but why does it give me options that aren't really available????
    this mickey mouse tool is getting more and more on my nerves...

    ok, translation - step by step:
    in motion, got to Motion -> Preferences -> Project Panel
    under Still Images & Objects, you will find Custom Default Duration, with options "Use project duration" or "Use custom duration".
    behind "Use custom duration" you will find a text entry field that will let you enter a custom duration (duh) and a popup menu that will let you select whether the number you entered is in frames or seconds.
    now please humour me and set this to "seconds" and then enter, let's say "10.5"
    in ntsc, this should give you a custom duration of 10.5 x 29.97 frames == a standard duration of 314.685 frames (for those of us who use pal video, that should be 262.5 frames duration).
    instead of rounding this up or down to the nearest round number, the moment you close the preferences and reopen it, motion will have changed your 10.5 to 10.0
    try entering any other decimal number and you will find that motion resets it to 0
    in other words; motion __pretends to be giving you the option to enter default duration in decimals, but in reality, you can only have full seconds default duration or you will have to do the maths yourself and switch to setting the number of frames you would like to have as default duration
    as for why this would bother me enough to post here? it is part of a long gripe with the endless number of mickey mouse "features" that motion seems to have.
    but if you can explain why it would be a good idea for an interface to allow the user to enter decimals as a default value and then, as soon as the user clicks away to ignore the decimal, by all means, please do enlighten me!

  • Recording And Seeking inside f4v

    I'm making DVR application and I'd like to use h-264 codec, but got following problem.
    While f4v file is recording, client application (for example Adobe DVR Sample Application player) cannot seek inside the video.
    It starts playing sought part of the video and stops in few seconds.
    When recording process finishes the seek works correctly in the recorded  file.
    The process described above works fine when I use vp6 codec.
    im using FMLE 3.1 and FMIS 3.5.3

    for example file size is 2000 seconds and growing (file is recording)
    when i am trying to seek lets say at 100 seconds video is playing for like 2 seconds and stopping, then after little time it starts playing again without problem,
    if i'm trying to seek to 1700-1800 seconds somewhere near and of file, same happens video is playing for 2 seconds but stop time is increased much more.
    as i see it depends on file size, when file is bigger stop time increases.
    this problem not appears when i stop recording.
    bitrate 1024kpbs, 25fps, tried almost all settings from FMLE
    Audio codec is mp3

  • Timed Event Navigate to URL at end of FLV

    Greetings,
    Long time flash "dabbler" who has avoided using scripts as long as possible. But now finds himself having to use CS4 and AS3.
    However, I have a situation that would have been easy to handle in older version of Flash or Swish. Previousely if I had an imported FLV or SWF that was 7 seconds long at 20 FPS I would have gone to frame 140 and set a getURL action to redirect to a webpage at the end of the movie.
    But with CS4 & AS3, this is not so simple anymore.
    I have a button that when pressed successfully invokes the navigateToURL parameter when pressed. But at the same time I am playing an FLV in the background that is 7 seconds long.
    What I need to do is have a timed event that at the end of 7 seconds (7000 milliseconds) then invokes the navigateToURL function.
    Anyone have any ideas on how to accomplish this? I have looked all over and have not seen anything that accomplishes this.
    Here is what i have as my script on frame 1 in my actions layer including some timed event scripting I found via Google search ...
    stop();
    // We need to import the utils package
    import flash.utils.*;
    // Create a new Timer object with a delay of 7000 ms
    var introTimer:Timer = new Timer(7000);
    introTimer.addEventListener(”timer”, timedFunction);
    // Start the timer
    introTimer.start();
    // Function will be called every 7000 milliseconds
    function timedFunction(eventArgs:TimerEvent)
    trace(”Timer fired ” + introTimer.currentCount + ” times.”);
    var request:URLRequest = new URLRequest("http://www.welcomesmile.ca/test.php");
    navigateToURL(request, "_self");
    I of course get a pile of errors with this script. I would appreciate if anyone could help me or suggest maybe a better way to accomplish my goal?
    Best regards & thanks,
    Martin

    I'm trying to attempt a similar result as Snarky7D, but I'm even less familiar with Action script than he is... any help is appreciated.
    I have a flash movie for my website's splash page, and I want to create a script to automatically go to a second URL from the site as soon as the splash video has completed. I just can't figure out whether this is best introduced as an action script event within Flash, or if there is a simpler way within Dreamweaver?
    I gather there is a need to create a video cue point or "VideoEvent.COMPLETE", which I have done within flash, timing it at 9.90 of my 10 second video. I don't know how to reference the end of the video's playback itself. And currently I have served the video and a separate action script file to my server with this coding:
    import fl.video.VideoEvent;
    function timedFunction(e:VideoEvent):void
         var request:URLRequest = new URLRequest("http://www.benlawrence.ca/Demo2010.html");
         navigateToURL(request, "_self");
    myVideoPlayer.addEventListener(VideoEvent.COMPLETE,timedFunction);
    Within the html page in dreamweaver I have this FLV object coding (with the script reference at the end):
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="720" height="480">
      <param name="movie" value="Assets/film/Flash/MotionIntro_03.flv" />
      <param name="quality" value="high" />
      <param name="SCALE" value="exactfit" />
      <embed src="Assets/film/Flash/MotionIntro_03.flv" width="720" height="480" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="exactfit"></embed>
    </object>
    <script type="application/javascript" src="Scripts/MotionIntro_03.fla.as"></script>
    Am I getting closer? In the meantime I'm going to read up more on Javascript, because that may be easier to implement...

Maybe you are looking for