Giter VIP home page Giter VIP logo

Comments (3)

weirme avatar weirme commented on July 23, 2024 2

I think each frame corresponds to a score in the tsv file. Assuming a frame rate of 30 frames per sec, the 1st video with a length of 5 min 54 sec (about 360sec) should have more than 10000 frames.

from fcsn.

SinDongHwan avatar SinDongHwan commented on July 23, 2024 2

@aayushkothari11
first, you can get fps and duration time of each videos using "ffmpeg -i video.mp4"
fps of 1st video is about 29.97fps(about 30fps)
duration time is 05:53.64

second, importance scores are scores of each frames.
you can check a length of 1st video.
i checked using python. a length of importance scores of 1st video is 10,597.
therefore, number of frames of 1st video = (5*60 + 53) * 30 = 10,590

from fcsn.

ayushkothari27 avatar ayushkothari27 commented on July 23, 2024 1

@weirme @SinDongHwan
Even I thought the same with frame rate 30 fps but that only satisfying for some videos. After using ffmpeg, I came to know that some videos use 30 while some use 24 fps. Thank you for your help! Much appreciated.
Also is there any good way to convert video from these fps to 3 fps so that the importance scores of the frames can also be easily related.

from fcsn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.