https://github.com/rioam2/rifx
🔍 Binary parsing module for RIFX files (Big-Endian variant of the Resource Interchange File Format, aka RIFF). Commonly used for media files such as AVI, ANI & WAV
https://github.com/rioam2/rifx
avi binary decoder parser riff rifx wav
Last synced: 11 months ago
JSON representation
🔍 Binary parsing module for RIFX files (Big-Endian variant of the Resource Interchange File Format, aka RIFF). Commonly used for media files such as AVI, ANI & WAV
- Host: GitHub
- URL: https://github.com/rioam2/rifx
- Owner: rioam2
- License: mit
- Created: 2020-07-06T23:39:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T17:05:23.000Z (almost 6 years ago)
- Last Synced: 2025-03-11T12:51:36.490Z (over 1 year ago)
- Topics: avi, binary, decoder, parser, riff, rifx, wav
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rifx
Binary parsing module for RIFX files (Big-Endian variant of the Resource Interchange File Format).
The Resource Interchange File Format (RIFF) is a generic file container format for storing data in tagged chunks. It is primarily used to store multimedia such as sound and video, though it may also be used to store any arbitrary data ([Read more on Wikipedia](https://en.wikipedia.org/wiki/Resource_Interchange_File_Format))
### Quick Start
```bash
go get -u github.com/rioam2/rifx
```
```go
package main
import (
"os"
"fmt"
"github.com/rioam2/rifx"
)
func main() {
file, err := os.Open("my-rifx-file.wav")
if err != nil {
panic(err)
}
rootList, err := rifx.FromReader(file)
if err != nil {
panic(err)
}
rootList.ForEach(func(block *rifx.Block) {
fmt.Println(block)
})
}
```