Coder Social home page Coder Social logo

Comments (9)

osklil avatar osklil commented on June 30, 2024

That is basically what it does by default. There is no data modification, other than decryption using openssl. If you don't want decryption you can use --no-decrypt.

from hls-fetch.

osklil avatar osklil commented on June 30, 2024

Do you have a case where hls-fetch does not work?

from hls-fetch.

zuzzurro avatar zuzzurro commented on June 30, 2024

I probably did not make myself clear. The tool works fine for me (thanks for it, it's been a life saver sometimes) when I need to dump a video.ts from an the net. But sometimes instead of the video I may want to duplicate the "folder" hierarchy locally so that I could serve the hls stream myself. This does not seem possible right now. If I remove the "-o" argument it still tried to dump into video.ts. I need to have all the metadata and all the chunks of all bitrates downloaded, with the same structure tha can be statically server with an http server instead.

from hls-fetch.

zuzzurro avatar zuzzurro commented on June 30, 2024

And, sorry, when I said writing a single mp4 I said something really stupid. What I meant of course was a single .ts file build from the video segments. mp4 is really the wrong thing to say in this context.

from hls-fetch.

osklil avatar osklil commented on June 30, 2024

You mean save parts, along with m3us, into individual files? I don't know of any other hierarchy within the HLS technology.

from hls-fetch.

zuzzurro avatar zuzzurro commented on June 30, 2024

Yes. The hierarchy i'm talking about goes from the main m3u8 with multiple bitrates and audios, to the single bitrate manifest down to the segments. Sorry for not being more terminologically precise for the HLS platform...

from hls-fetch.

zuzzurro avatar zuzzurro commented on June 30, 2024

I found this script on github, that kind of does what I am looking for:

https://gist.githubusercontent.com/anonymous/4755742/raw/e7d209dfb68942f3a54140354657efce785049b2/hls-mirror.py

Just in case...

from hls-fetch.

osklil avatar osklil commented on June 30, 2024

Good find! Yeah, it looks pretty easy. Just a matter of downloading and parsing the m3u8, and then download and save each separate piece. I guess it's something that could be implemented in hls-fetch as well...

from hls-fetch.

flavioribeiro avatar flavioribeiro commented on June 30, 2024

there's also a project called hlsclient written in python for this purpose.

from hls-fetch.

Related Issues (8)

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.