Find Jobs
Hire Freelancers

Get framerate for Flash Flvplayback component

$25-30 USD

Completed
Posted about 17 years ago

$25-30 USD

Paid on delivery
I have a flash swf which is simply a FLVPlayback component on the stage. Using actionscript I load the url to play dynamically. I want to display several statistics to the user upon certain state changes of the .flv video. One statistic I want to display is current framerate of the .flv video. I know that framerate is available to NetStream objects, but not to FLVPlayback objects, however when debugging the movie and I list the variables, I see that the framerate is shown in one of the objects - Movie Clip: Target="_level0.Flvplayer.0" Variable _level0.Flvplayer.0._ns = [object #180, class 'NetStream'] { mc:[movieclip:_level0.Flvplayer.0], onStatus:[function 'onStatus'], onMetaData:[function 'onMetaData'], onCuePoint:[function 'onCuePoint'], time:[getter/setter] 3.5, currentFps:[getter/setter] 12.6382306477093, bufferTime:[getter/setter] 0.1, bufferLength:[getter/setter] 8.966, liveDelay:[getter/setter] 0, bytesLoaded:[getter/setter] 0, bytesTotal:[getter/setter] 0, decodedFrames:[getter/setter] 46, videocodec:[getter/setter] 2, audiocodec:[getter/setter] 2 } So my question is how do I access that currentFps? Thanks! ## Deliverables 1) Code that allows me to access the currentFps of the FLVPlayback component periodically from within the actionscript. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows 2003 Flash Professional 8
Project ID: 2853828

About the project

1 proposal
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$17 USD in 4 days
3.9 (8 reviews)
3.7
3.7

About the client

Flag of UNITED STATES
San Diego, United States
5.0
45
Payment method verified
Member since Feb 8, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.