1 Star 1 Fork 1

codimiracle / fetch-m3u8

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

fetch-m3u8

介绍

通过 m3u8 连接获取整个视频,该工具会先下载好分片,并通过 ffmpeg 对视频进行转换得到合并的视频。

安装教程

若不需要修改代码,请直接使用 release 中提供的包。

  1. 安装 rust
  2. 下载 ffmpeg essentials 版本,放在 third-party 目录下
  3. cargo build
  4. cargo run

使用说明

该工具比较简易,只是,只需要记住下面的命令行即可,<url> 为 m3u8 视频的链接,<directory> 为暂时存放视频片段的路径。

fetch-m3u8 <url> <directory>

参与贡献

  1. Fork 本仓库
  2. 新建 feature_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
MIT License Copyright (c) 2022 codimiracle Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

通过 m3u8 连接获取整个视频,该工具会先下载好分片,并通过 ffmpeg 对视频进行转换得到合并的视频。 展开 收起
Rust
MIT
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/codimiracle/fetch-m3u8.git
git@gitee.com:codimiracle/fetch-m3u8.git
codimiracle
fetch-m3u8
fetch-m3u8
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891