Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to play a .flv file frame by frame

Status
Not open for further replies.

elisavmus

Programmer
Sep 20, 2007
2
RO
I load a flv from code. I want to be able to get the next frame every time I push a button. I tried using seek() and passing it playheadTime+0.045 but it doesn't seem to work. It jumps much more than one frame. (For a flv movie frame rate of 20 per second one frame will occur once every 0.05 seconds so if I seek to the current position + a number smaller than the time until the next frame I should get the next frame). Can anyone give me some advice regarding this?
 
You can only advance to the next key frame. Unlike film, in video, frames between key frames are just "tween" frames and do not contain full video data, you cannot land on them. If you set every frame as key frame, it should work; but the file size will be... I presume it will be sky-high.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top