Code Monkey home page Code Monkey logo

Comments (4)

rodber avatar rodber commented on May 25, 2024

Any idea on size for these videos? 15MB? 50MB?

from chevereto.

jherazob avatar jherazob commented on May 25, 2024

I know the requirements for sites like Imgur and Reddit are very high (if i recall Imgur only visibly limits clips with audio by length, up to 1 minute, but without sound i think it has some absurd ceiling like 200Mb or something, and Reddit's are even higher even with audio), and i guess in the end the server admin will have the ultimate choice, so my guess is that it should be configurable by the installer.

This is image hosting so if you wanna host 4K movies in it it's your problem (and likely heavily discouraged on the docs), but most people will likely only host short clips which is what image hosting sites do. Hell, they do it to save bandwidth, take a huge gif and turn it into an mp4 and it's suddenly like 1/10th the size, that's why hosting sites started doing it. Imgur in particular i know that internally, when they get a gif bigger than 2Mb, they automatically convert it to mp4 and only serve that ("gifv", an mp4 enveloped by a minimal html) unless explicitly asked for the gif.

So yeah, likely user-configurable with some sane default.

from chevereto.

rodber avatar rodber commented on May 25, 2024

Client applications often compress image/video on client side, that way processing gets cheaper on the server. We don't have that layer yet.

If this is straight h264 the job required by the server is minimum (take a frame and done) but for other formats it gets harder as it will require processing.

In other words, yay but only for h264.

from chevereto.

jherazob avatar jherazob commented on May 25, 2024

Checked and yeah, h264 seems to be the codec used in non-video sites, confirmed that both Reddit and Imgur use it, and i'd bet the same is true of others like Tumblr and others. This also seems to be well supported in both desktop and mobile. So yeah, your guess seems correct, which is good.

from chevereto.

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.