Coder Social home page Coder Social logo

py_gui_hls_aria2's Introduction

用Flutter重造了这个轮子, 请前往flutter_hls_downloader

HLS视频录制GUI工具

特性

  • 支持可变分辨率的VOD和Live的HLS m3u8资源
  • 默认会选取最高分辨率的分支进行录制
  • HLS的ts视频碎片使用集成的Aria2进行下载,安全可靠
  • 支持Windows和macOS系统
  • 视频文字水印功能,在随机的视频碎片、上下左右四个角落随机一个角落放置文字水印
  • 使用集成的FFMpeg合并视频

不支持

  • 加密的m3u8流
  • 独立音轨的m3u8流

一体化

  • 集成Aria2c,下载HLS的视频碎片
  • 集成FFmpeg,将HLS的视频碎片合并为完整视频

工作流程

  1. 点击开始录制按钮
  2. 读取一次m3u8源判断m3u8源和代理(如果有设置)的可用性
  3. 不断读取m3u8源,分析出还没有下载的碎片视频链接数组
  4. 将没有下载的碎片视频链接数组交给Aria2下载
  5. 点击停止录制按钮
  6. 使用合并视频功能将视频碎片合并为完全的视频文件

测试情况

  • 在macOS系统上测试通过
  • 在Windows 10.v2004上测试通过

截图

screenshot screenshot

自行编译

  • Windows和macOS在命令行执行命令 pyinstaller main.spec --clean -y

已知问题

  • 启动慢,是pyinstaller的问题,无法解决
  • 在macOS系统,输入框不能输入中文(macOS自带的输入法)
    • 是macOS自带的tcl/tk版本为8.5引起的
    • 安装了新版的Tcl/tk不知道怎么替换,暂时无解

About FFMpeg and Aria2

py_gui_hls_aria2's People

Contributors

gzlock avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.