Can I get the number of the current frame in an HTML5 video?

前端 未结 3 974
盖世英雄少女心
盖世英雄少女心 2020-12-17 21:32

I am currently trying to customize an HTML5 video player so that I can add a button that returns the current frame number.

Lets say I have a 30fps video that lasts 9

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-17 22:10

    There is a decent Video Frame JS lib to work with frames https://github.com/X3TechnologyGroup/VideoFrame

    It's very old question, but this may be useful for new readers.

    Ref: Get frame numbers in HTML5 Video

提交回复
热议问题