Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrschumacher/m3u8-downloader
https://github.com/jrschumacher/m3u8-downloader
Last synced: about 2 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jrschumacher/m3u8-downloader
- Owner: jrschumacher
- License: mit
- Created: 2024-09-12T07:10:20.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T08:06:14.000Z (2 months ago)
- Last Synced: 2024-10-09T22:22:00.389Z (about 1 month ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# m3u8-downloader - download m3u8 files and convert to mp4
This project downloads a m3u8 file and converts it to mp4. It uses ffmpeg to convert the file.
## Installation
```bash
go install github.com/jrschumacher/m3u8-downloader@latest
```## Usage
```bash
NAME
m3u8-downloader - is a tool to download videos from m3u8 manifest files.SYNOPSIS
m3u8-downloader [OPTIONS]OPTIONS
-download
Set to true to download the video
-ffmpeg string
Path to ffmpeg executable
-filename string
Filename of the downloaded video
-help
Show usage
-version
Show versionEXAMPLES
To extact the manifest file from a URL:
m3u8-downloader https://example.com/video.m3u8To download a video from a m3u8 manifest file:
m3u8-downloader -download https://example.com/video.m3u8To download a video from a m3u8 manifest file with a custom filename:
m3u8-downloader -download -filename my_video https://example.com/video.m3u8
To download a video from a m3u8 manifest file with a custom ffmpeg path:
m3u8-downloader -download -ffmpeg /usr/local/bin/ffmpeg https://example.com/video.m3u8
```