GithubHelp home page GithubHelp logo

Support archives about gohls HOT 4 CLOSED

shimberger avatar shimberger commented on July 28, 2024
Support archives

from gohls.

Comments (4)

shimberger avatar shimberger commented on July 28, 2024

Thanks for the Idea :) It sounds like a cool feature but I am not sure how to implement it. I suspect it would make the code quite complex since right now we are calling ffmpeg with a filename and capturing stdout for encoding. I guess we would have to temporarily unpack the files but then we are using the space anyway and the idea of using archives almost seems moot.

If you have a good way to implement it, let me know. In general I am happy to accept all kinds of PRs if someone finds it useful but this one sounds like it could make things complicated.

from gohls.

midzer avatar midzer commented on July 28, 2024

I did some investigation. Maybe https://github.com/mholt/archiver does the trick:

Stream files in and out of archives without needing actual files on disk

from gohls.

shimberger avatar shimberger commented on July 28, 2024

Thanks for all the research. I am not sure it is feasible to stream into ffpmeg since AFAIK ffmpeg needs to seek around the file to find the position and it can't do that with a stream. Are you willing to do an experiment? What's the use case? Do you have uncompressed media that is stored in archives? I don't want to discourage you I am just not sure it won't make things more complicated.

from gohls.

shimberger avatar shimberger commented on July 28, 2024

I'm closing this issue for now but put it in the idea-backlog.

from gohls.

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.