I want to get frame rate of video, but i don't want to use FFMPEG,JAVACV lib. is that possible to get frame rate of video in android?
I read KEY_FRAME_RATE it's says that,"Specifically, MediaExtractor provides an integer value corresponding to the frame rate information of the track if specified and non-zero." but i don't know how to use it?
if you know about how to get frame rate from video then answer here.
Note: Try to run the above code in worker thread.
Update 1 What is KEY_FRAME_RATE and may be optional
Constant Value: "frame-rate"
Update 2 Code check if for NPE if KEY_FRAME_RATE not present. See above