Altering video playback speed using stage.framerate

Hi All,
I'm trying to programatically change the speed at which an
flv file plays, eg. so I can do slow-motion, or fast-motion video.
From what I have read, I think I should be using
stage.framerate = x, but I cannot get this to work.
I think I might be missing something very obvious (I am new
to flex / flash) so please feel free to test the obvious.
I have included below the flashlog output, and attached the
single .as file.
The behavior that I would expect (and that I want) from this
is for the video to play at ~4x speed.
The observed behavior is that it plays at normal speed.
I have also tried 'vid.stage.framerate = 100'
What am I doing wrong?
thanks,
tom saffell
flashlog output
===========
24
100
0
Error #2095: flash.net.NetStream was unable to invoke
callback onMetaData.

Thanks again Luigi.
I got it to work !
I'm using flex builder, not Flash, so I had to embed the
video another way.
I converted the flv to an SWF using SUPER/ ffmpeg, then used
the code below to load the swf. (credit to shadowmint)
It works ! Beware, this only works with *no sound* in the
swf. The first time i did it with sound the framerate could not be
altered.
Still, this all feels a little hacky to me, so one more
question:
4. In your research, did you investigate how easily all this
can be done in Silverlight?
(im not yet married to the flash solution, even though the
penetration is better..)
cheers
tom

Similar Messages

  • Changing video playback speeds

    I'm trying to watch videos for class on Blackboard. Quicktime is not supported. I use Real Player. I would like to be able to use quicktime. I also would like to be able to speed up and slow down the lecture. I have heard of a program called Enounce, but it is only available for windows. Is there a similar program to use with Mac OS???

    Are you able to alter playback speeds, to speed up and slow down while watching a video. What I mean is, if I'm relistening to a lecture, can I speed up the lecturer and slow him back to regular talk when it is an important portion to the lecture. I noted a product called Enounce (enounce.com). It is available for windows based computers only. Please look at this and tell me if there are settings or options in Quicktime or anyother video player that you can preform these same functions. I'm relatively new to Mac. I love the computer, but am still learning the differences from PC. Thanks again.

  • Video playback speed in After Effects

               After importing QuickTime video into After Effects it plays back at about half (or even slower) the initial frame rate (13 fps or so instead of 29.97 fps). Also in the top right corner of the workspace (Info Panel) I'm getting a message that "...Layer 1 Retrieving Frame".
               Could you, please, give me an advise how to return video playback to normal speed?
               Thank you.
               Vasily

    Eiss wrote:
              Sure, After Effects isn't a movie player. But it is possible to edit source footage in AE in order to make a coherent whole out of it, isn't it?
    Technically possible, but not an ideal workflow. I can also cut through my filet mignon with a spoon, but I can do it a lot faster and with much less frustration if I use my steak knife.
    I edit in Premiere and then use the Import>Adobe Premiere Pro Project option in After Effects to bring my edit into AE.

  • Video playback speeds up automatically?

    Hi all,
    I have a number of short cartoons for my cousins on my iPod nano (7th gen), but the longest video is giving me some trouble. It starts off fine, but about 10 minutes in, it starts to play as if it was on fast forward. Is there some kind of length limit to the video playback for the nano? This particular file is 26 minutes long, while all the other files that play normally are under 8 minutes in length. Does anyone have any ideas where I can start to troubleshoot?
    Thanks!
    Message was edited by: Msg4kelly (typo - changed iPad to iPod)

    Della:
    Not a clue about the problem, sorry, but can "imagine" a workaround just to fool the problem.
    You must have a PLAY button that connect to that first scene (first chapter in the track, I guess). If you connect that button to the second chapter (just to try) that plays fine or again behaves as it was first?
    If that way plays fine, you can add a "false" first scene (i.e. one second of black exported from FCP) and connect the PLAY button to the real first (now second in the track) chapter.
    I told you, it's just a workaround to have in hand in case your dead line gets close!!

  • Video playback while using airport express

    For some reason I can't view music videos on my computer while listening using external speakers with my airport express. Is there some setting I'm missing? Thanks for the help

    This bug has gotten worse in 10.5.7, now the attempt to play a music video while using AE speakers results in a iTunes authorization request. No matter how many times you try, it will not authorize to play these protected videos while AE speakers are selected as output.
    I talked to Apple Support and they were unaware of this bug. They directed me to a kb article that talked about authorizing using the admin account and this did not resolve the problem.
    The only fix is to deselect the AE speakers.
    I have logged a bug report with Apple for this issue.
    I think it would help if others logged the bug as well if we want to get it fixed. We should be allowed to use AE speakers for this type of playback in any case.
    Best regards,
    JP

  • How to get slow playback speed with video

    Hi. Newbie to the forums. hope you can help.
    Can I put a control in flash that allows users to alter the
    playback speed of a video clip? I am making a tutorial (with sound)
    and I want the students to be able to run the video in slow motion
    and then gradually increase the speed as they become more
    confident.
    Any ideas?
    Regards
    Matthew

    Thanks. I checked out the web site, and although it only refers to FCP, I assume "Film Effects" is compatible with FCE HD v3 as well.
    I appreciate the info.
    Gary

  • Re: Satelite M70 - Video playback really slow and dtrange metalic noise

    Hi
    I have a Satelite M70 laptop and a few days now I realise that the video (youtube and any sort of videos) playback speed is really slow, slow motion (my interenet speed is fine)
    and there is a really creepy kind metal noise when the video is playing.... u cant hear anything just that noise.
    Also when i open a file or a menu in windows u get theis king of metalic noise
    I have checked the video and audio codecs and are the latest
    btw: I can hear audio files from media player just fine. It seems this happens only with videos
    Any suggestions cause i cant see any videos!!!!!

    I was 100% sure you will post this.
    Online playback speed is always different. I have fastest 16000 DSL line and I have noticed the same on my M70 and brand new Satellite P300. Sometimes is youtube or some livestream video perfect and sometimes audio and video don't match together or the video playback is like in slow-motion.
    I have also latest drivers and codecs preinstalled on both machines. There is one interesting thing-this slow-motion happen when the HDD led is blinking and when the HDD is running. Please play a little bit with this stuff and watch carefully how it works.
    About sound and speakers is not easy to say if they are defective or not. The fact is that sound on headphones works perfectly is evidence that sound card or sound driver is not the problem.
    I really don't know what to say but I believe the speakers don't work properly.
    What do you think?

  • How can I slow down the playback speed of selected parts of a captivate video?

    Hi everybody,
    I'm pretty new to Captivate and although it offers some great tools, there is something that I just can't get to work:
    I'm creating a video tutorial about how to use a website i'm working with so I've tried using "Automatic" ("Demo" mode chosen) recording option which is recommended for this type of video. However, the video recorded has a different playback speed than the amount of time I recorded. This means that some of the slides have a quicker playback speed than the way I recorded, thereby not leaving enough time to show the given feature.
    The recording mode with the most "true" playback was "Full motion". However, I would still like to be able to slow down selected parts of the video, but can only find guides on how to slow down the entire presentation.
    Can you please advise me on how to slow down only selected parts of the project? If this is not possible in Captivate, please advise me on which video editing software (where you can slow down the playback speed on selected parts of the video) is compatible with Captivate 5?
    Thanks!

    Thank you. Andrew Kramer's Video Copilot video, which I somehow managed to miss, was very helpful.
    I had a 79 second clip which I precomposed and enabled time remapping. But I have 12 places where I need to slow down the layer. After a while, I was runing out of room to add more keyframes using the method promoted in many videos and instruction sites (grab the last two keyframes, including the end frame, and drag).
    In reality, you can add keyframes wherever you like and you can adjust them however works best within the existing timeline without messing with the duration, etc.
    Much appreciated.
    Paul

  • I need to change stage.frameRate, but how to keep tween speed?

    Hello. I am using Flash CS6.
    Right now I am trying to keep fps of tween motion.
    I mean, I made a button that  speeds up and down stage.frameRate, if I click the button it does stage.frameRate +=1 or stage.frameRate -=1, but if stage framerate changes, it speeds up the tween animation too.Is there anyway to keep the speed of tween animation?
    What I want to do is there are 2 movie clips, mcA and mcB, and mcA animation is dependent on stage.frameRate, if I click the forementioned button to change stage framerate, it also changes mcA framerate, but I don't want to change mcB framerate.There is a tween AS, it moves "mcB.x = 0" to "mcB.x = 100" in 10 frames with tween.I want to keep the pace of the tween animation.
    Please give me your advice.

    Use Actionscript to tween positions instead of using the timeline. Then you can base it on time rarther than frames.  For starters, look into using the built-in Tween class.  Once you get a flavor for using it, for better performance you can look into using third party tweening such as TweenLite.

  • I'm downloading using RealPlayer But the video playback is jerky.  The audio playback is OK.   Can anyone suggest a solution.  Would upgrading to RealPlayer Plus be a good thing to do?

    I'm downloading using RealPlayer But the video playback is jerky.  The audio playback is OK.  
    Please can anyone suggest a solution. 
    PS Would upgrading to RealPlayer Plus help?

    I can't understand how internet speeds can be the cause of the problem.  My problem with a jerky playback is that I have already down loaded.   Could this be to do with my computer (I maybe able to persuade my wife that I need a new one).  Earlier I was listening to a clip of the MJQ, downloaded from UTube, and although the sound was good the picture was not.
    My computer is an iMac with an Intel Core 2 Duo with a processing speed of 2.8 Ghz.  Does this information help?

  • Controlling Speed of audio and video playback ?

    Hi!
    I would like to know if there is (or will be) a way with
    upcoming Flash CS4 or even with Adobe Flash Player 10 capabilities
    (or even with Adobe Pixel Bender) to control the speed of an audio
    or video playback.
    For example being able to play some sound slower or faster
    and even adjusting audio pitch (and other audio filtering).
    It's been a while that I've been looking for this (back to
    Flash Player 6 when Flash was part of Macromedia) and with all
    progress achieved since then I hope there is some accelerate and
    decelerate feature now.
    Please let me know about it.

    More information needed for someone to help... click these links and provide the requested information
    -http://forums.adobe.com/message/4200840
    -http://forums.adobe.com/thread/416679
    -http://forums.adobe.com/thread/419406
    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037
    Report back with the codec details of your file, use the programs below... a screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30
    For PC http://mediainfo.sourceforge.net/en or http://www.headbands.com/gspot/
    http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html
    If you have a red line over the timeline after importing a video and before adding any effects... your project is wrong for your video... read above about codecs
    Once you know exactly what it is you are editing, report back with that information... and your project setting, and if there is a red line above the video in the timeline, which indicates a mismatch between video and project
    Also, H.264 will NOT work inside an AVI wrapper http://forums.adobe.com/thread/854115

  • Variable Speed and/or Frame-by-Frame Video playback with Waveform synchronization

    I'm using Diadem 2011 to view data recorded in a LabVIEW Module that we have written.  The function of our LabVIEW module is to simultaneously capture video from two infrared cameras and 8 channels of waveform data from a DAQ and record this data to disk.  Data is recorded as two separate AVI files (compressed) and a TDMS file (using TDMS logging).  Using Diadem, I use the video synchronization function to view the TDMS data and video files.  I can scroll a cursor in the waveform data panel and view the video corresponding to the time selected.
    I am looking for two features from Diadem that I am not sure are present: 1) A way to vary the playback speed from real-time.  2) A way to advance the video in a frame-by-frame manner.  If anyone has any suggestions on how I might implement this in Diadem 2011 or can verify that these features are present, I would very much like to know.
    Thanks in advance.
    Solved!
    Go to Solution.

    Hello Resaebiunne,
    All the functions you are looking for are available in the VIEW toolbar.
    For the frame reverse/forward functions, please make sure that the section with the video inside is highlighted and then use these two buttons. The "Cursor Parameters" icon let's you change the playback speed.
    Hope that helps,
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • When I use my IPhone 4S to view the Shaw Go Movie Central App when I am at home I only use WiFi which is automatic, I start watching a show and sometimes I will get a message like "you can not use your cellular for video playback" or something close to th

    When I use my IPhone 4S to view the Shaw Go Movie Central App when I am at home I only use WiFi which is automatic, I start watching a show and sometimes I will get a message like "you can not use your cellular for video playback" or something close to that. Then I received an email from Telus saying I had used my 3G instead of Wi-Fi  using 75% of my data. How can this happen when I'm on Wi-Fi at home? If it switched to 3G for some reason I should have been disconnected and not just transferred to 3G network using up my data. What is the fix for this??

    It doesn't have to be that complicated, Verizon iPhones come unlocked, just tell VZ you're going on Holiday/Traveling and suspend the service, no need to pay for service if you're not going to be using it. Pick up local SIM cards in the countries of your choosing, pop them in, re-activate iMessage and you're set!
    I recommend getting a SIM card from the Three network in England, they have great EU roaming rates and free like-home roaming in Italy.
    Set your phone's region to match the country you're in, it'll save from some headaches when calling local/international numbers.
    To answer your questions,
    1. If you choose not to have a local SIM card, it is good to keep your phone in Airplane mode to save battery.
    2. Make sure the two iPhones have different names to reduce sync/restore issues.
    3. If husband has an iPhone also, you can chat with iMessage/Facetime, just give him heads up about the new number you'll have. Otherwise, use Whatsapp if he's got an Android. You can activate Whatsapp with your American number or the international number if you choose to get a SIM in Europe.
    Also, Get the MagicJack app and/or Google Hangouts, both of those apps provide you with free calling to the USA and Canada using any internet connection. Google Voice is another good way to SMS across the seas.
    Let me know if you need any more tips for iPhoning across the pond.

  • Video playback in ALL applications stutters while using battery only.

    Video playback in ALL applications stutters while using battery only. All OK when running from power adaptor. New battery did not fix. Recently updated iTunes to 11.0.5 and Flash player 11.8.800.94 .

    Thank you again andyBall_uk.
    I have successfully run Apple Hardware Test and it returned the error code...
    4SNS/1/40000001:VPOR
    A  Google search reveals that this is a sensor error. The "V" of VPOR indicates a voltage sensor and the "P" indicates the sensor is on the Power bus. However don't yet know what the "OR" refers to.
    I have had a non operative optical disk drive for a year or more but the fault with the video only developed in the last week or two. Could the "O" in VPOR refer to the Optical drive?
    By the way, I got the impression from the instructions on running the Apple Hardware Test that I had to use the internal dvd drive to run the APT program from the install disk. But this turned out to be not the case. Just put install disk ito an external drive plugged into the usb ports and use system preferences to set this drive as the start up disk.

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

Maybe you are looking for

  • Checking the Selection Screen Parameters

    Dear All, We are uploading data from various excel sheets into SAP tables. Now at selection screen I just want to check if the location specified exists or not ie. if I have created one variant on one system & then if I am running that report from ot

  • Can't send MMS on O2, 4.2.1 - iPhone 4

    I am having problems with my iPhone 4 not being able to send MMS, on contract with O2. It is only less than 2 months old. The guys at O2 have no idea why this is happening as all my settings are correct, even the Apple tech guys are at a loss... coul

  • Mac won't recognise my correct password

    My password was workign just fine a few mins ago, my mac went to sleep and asked for my passcode. I typed exacltly what i type eveytime however ut just woldnt regognise it! I am 100% sure that its correct and its just not accepting it at all. I haven

  • Iphone 4s and macbook pro 10.5.8

    I've just tried to plug in my iphone 4s to my macbook pro (version 10.5.8) and it says the itunes I have is too old. So Ive tried to download the latest itunes but it says i need mac os x version 10.6.8 or later. Do I have to buy this or can I downlo

  • Why doesn't my Satellite P300D-12Y exist?

    The Name of my product is: Satellite P300D-12Y but at the support homepage there isn't any product with this name. I tried to enter the serial number but there's only the message "Pleas enter a valid serielnumber" And if I use Auto-detect, the progra