Git Product home page Git Product logo

hlsdl-2021's Introduction

hlsdl

Forked from https://github.com/xavave/hlsdl-vs2019

This program converts .m3u8 playlists (using fragmented MPEG-2 Transport Streams) to a .ts video. It supports decryption of both AES-128 and SAMPLE-AES encryption.

You can build the project file. Required vs studio 2019

Usage and Options

./hlsdl [options] url


-b ... Automatically choose the best quality.

-W ... Choose largest width lower or equal than this.

-H ... Choose largest height lower or equal than this.

-A ... Select audio language.

-v ... Verbose more information.

-o ... Choose name of output file ("-" alias for stdout).

-u ... Set custom HTTP User-Agent header.

-h ... Set custom HTTP header.

-p ... Set proxy uri.

-k ... Allow to replace part of AES key uri - old.

-n ... Allow to replace part of AES key uri - new.

-f ... Force overwriting the output file.

-F ... Force ignore detection of DRM.

-K ... Force AES key value (hexstring)

-q ... Print less to the console.

-d ... Print the openssl decryption command.

-t ... Print the links to the .ts files.

-s ... Set live start offset in seconds.

-i ... Set live stream download duration in seconds.

-e ... Set refresh delay in seconds.

-r ... Set max retries at open.

-w ... Set max download segment retries.

-a ... Set additional url to the audio media playlist.

-c ... Treat HTTP code 206 as 200 even if request was made without range header.

-C ... the file name of file holding cookie data in the old Netscape / Mozilla cookie data format.

ToDo

  • support for Fragmented MPEG-4 playlist
  • support for EXT-X-MAP in the MPEG-2 Transport Streams playlist

Ideas

  • Multithreading

License

MIT License

hlsdl-2021's People

Contributors

zackmark29 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

c0ldf erkutof

hlsdl-2021's Issues

I have a question about iq.-data-cache-parser


image
image

Because I saw that it was your project, but I didn't find the specific post, SO I want to ask you in this post .where is IQIY Paser tool in the picture below, because I got
https://cache-video.iq.com/dash tvid=7445402587137500&bid=600&vid=abe2c4788688b54418ebe6a4119bf1a5&src=01011021010010000000&vt=0&rs=1&uid=0&ori=pcw&ps=0&k_uid=800e049e9c15fae93d416a41a98ff930&pt=0&d=0&s=&lid=&slid=1&cf=&ct=&authKey=6f824bbc3fa98506654a384dc4285d95&k_tag=1&ost=0&ppt=0&dfp=a1eb0a853672ce57d2b2e5f43d33201ab0168b98f29b7475c7d00347f3e23f9c0f&prio=%7B%22ff%22%3A%22f4v%22%2C%22code%22%3A2%7D&k_err_retries=0&up=&su=1&applang=en_us&sver=2&qd_v=2&tm=1632739486951&qdy=a&qds=0&k_ft1=141287244169348&k_ft4=8196&k_ft5=1&bop=%7B%22version%22%3A%2210.0%22%2C%22dfp%22%3A%22a1eb0a853672ce57d2b2e5f43d33201ab0168b98f29b7475c7d00347f3e23f9c0f%22%7D&ut=0&vf=d7833c472094e2553634eef903f888a3
but I don't know how to parse the link to MP4. If you see it, please help to reply to me. Thank you

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.