Muhammad Irfan
Muhammad Irfan

Reputation: 1457

how to get flv frame rate in as3?

Well, i have to set the stage frame rate according to the frame rate of the flv and I will have differnet flv with different frame rate so i have to get frame rate of FlV using action script ??

Is there any method available in Video Class of ActionScript??

Upvotes: 0

Views: 2313

Answers (2)

Paul Gregoire
Paul Gregoire

Reputation: 9793

You can also get the FPS from the NetStream like so: var fps = ns.currentFPS;

Upvotes: 2

Aurel Bílý
Aurel Bílý

Reputation: 7981

flv.video.FLVPlayback.metadata["framerate"]

Upvotes: 2

Related Questions