Coder Social home page Coder Social logo

Comments (5)

BruceWangNo1 avatar BruceWangNo1 commented on August 24, 2024

I think the frame rate of a certain video is unavailable from the HTTP response until the video is actually downloaded locally to be examined. What do you think? @EtiennePerot

from ytdl.

EtiennePerot avatar EtiennePerot commented on August 24, 2024

If that were true, how could the YouTube video player display "1080p60" or "720p60" (rather than "1080p"/"720p") in its video quality list, without itself having downloaded both of those video streams?

Example 60fps video if that helps: https://www.youtube.com/watch?v=MBRqu0YOH14

from ytdl.

BruceWangNo1 avatar BruceWangNo1 commented on August 24, 2024

As I found out, Format does include fps information in its "meta" field. However the maintainer decided not to include that in Format's main fields. I have added a method to struct Format, so you can access fps by Format.AccessMeta("fps"). The maintainer haven't merged my pull request yet, so check out my forked repository for more information. As for the mentioned bonus points you mentioned, I will probably start to work on it tomorrow. @EtiennePerot

from ytdl.

BruceWangNo1 avatar BruceWangNo1 commented on August 24, 2024

Bonus problem solved. Now you can use "best-fps" filter to get the best quality video with fps as the first priority. The maintainer has not merged my pull request yet. So check out my forked git repository. @EtiennePerot

from ytdl.

EtiennePerot avatar EtiennePerot commented on August 24, 2024

from ytdl.

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.