Html5 Vertical Camcorder

I am trying to get the source element of a html5 video tag to return the exact frame number.
Something close to this qaru.site/questions/247701 / ... .
My goal here is to show the exact timecode. I watched VideoFrame and many others, but none of them is accurate. If you play a video with the timecode turned on or the number of frames, for example, the one I use video_keyframes12_24p_Mbits1.8.mp4 I did it myself. You will eventually see one frame.

Dose who has a hint of this?
Thanks a lot!

+4
source share
1 answer

, API- - Firefox , , , . . .

, / 30 , , ( 29.97/59.94 fps/NTSC). , .

, - , . , , , Chrome FFMpeg , Firefox , * ( MP4) ..

( : ). API- > VideoPlaybackQuality. [ Chrome IE ( Windows 8+), Firefox.

, HTMLVideoElement:

var q = video.getVideoPlaybackQuality();

, :

var frames = q.totalVideoFrames;

, . , MSE . , , MSE.

- , . SMPTE, , (ala - ). , , , ( ).

*) , , Cisco mp4.

+4

All Articles