https://github.com/ther1d/fmp4
Go language implementation of simple byte-range manifest generator for fragmented mp4.
https://github.com/ther1d/fmp4
Last synced: 4 months ago
JSON representation
Go language implementation of simple byte-range manifest generator for fragmented mp4.
- Host: GitHub
- URL: https://github.com/ther1d/fmp4
- Owner: TheR1D
- Created: 2023-06-23T17:17:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T13:35:17.000Z (over 2 years ago)
- Last Synced: 2025-06-26T19:00:14.086Z (4 months ago)
- Language: Go
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fmp4
Go language implementation of simple byte-range manifest generator for fragmented mp4 files.
Disclaimer: This project is mainly for learning purpose, as I'm new to Go language and I wanted to learn more about ISO base media file format like MP4. So you might find some bugs or unused code, etc... Any advice or suggestion is welcome.## Usage
To generate simple example manifests for fragmented mp4 files, run the shell script (Mac only). It will download test video, parse Atoms (aka Boxes), and generate byte-range manifests for video track. For convenience, it will also start a simple http server using [Gin](https://github.com/gin-gonic/gin) to serve the manifests and video files with byte-rage retrieve possibility, and open it in VLC player.
```shell
sh run.sh
```