how to find framerate of 3GP file?
Is there any particular box present in 3gp file to specify framerate?
Solution:
--------------
3gp is actually QuickTime file. There is no special field for Frames Per Second, so you have to
calculate by dividing the number of frames in stream and stream time
duration.
calculate by dividing the number of frames in stream and stream time
duration.
mDurationInSecs = pMediaTrkInfo->trackDuration / lMovieInfo.timescale;
fFrameRate = pMediaTrkInfo->totalNumOfFrames/ (*apVidInfoLst)[index].mDurationInSecs;
//Frame Rate calculation if 10 frames r played in 2 secs, then FPS is 5 (10/5)
No comments:
Post a Comment