mirror of
https://github.com/wader/fq.git
synced 2024-09-11 20:07:11 +03:00
doc,moc3,caff: Add author and regenerate docs
This commit is contained in:
parent
2eae4c2fd5
commit
f15f9bc1a4
@ -107,7 +107,7 @@ jsonl,
|
||||
macho_fat,
|
||||
[markdown](doc/formats.md#markdown),
|
||||
[matroska](doc/formats.md#matroska),
|
||||
moc3,
|
||||
[moc3](doc/formats.md#moc3),
|
||||
[mp3](doc/formats.md#mp3),
|
||||
mp3_frame,
|
||||
mp3_frame_vbri,
|
||||
|
@ -77,7 +77,7 @@
|
||||
|`macho_fat` |Fat Mach-O macOS executable (multi-architecture) |<sub>`macho`</sub>|
|
||||
|[`markdown`](#markdown) |Markdown |<sub></sub>|
|
||||
|[`matroska`](#matroska) |Matroska file |<sub>`aac_frame` `av1_ccr` `av1_frame` `avc_au` `avc_dcr` `flac_frame` `flac_metadatablocks` `hevc_au` `hevc_dcr` `image` `mp3_frame` `mpeg_asc` `mpeg_pes_packet` `mpeg_spu` `opus_packet` `vorbis_packet` `vp8_frame` `vp9_cfm` `vp9_frame`</sub>|
|
||||
|`moc3` |MOC3 file |<sub></sub>|
|
||||
|[`moc3`](#moc3) |MOC3 file |<sub></sub>|
|
||||
|[`mp3`](#mp3) |MP3 file |<sub>`id3v2` `id3v1` `id3v11` `apev2` `mp3_frame`</sub>|
|
||||
|`mp3_frame` |MPEG audio layer 3 frame |<sub>`mp3_frame_tags`</sub>|
|
||||
|`mp3_frame_vbri` |MP3 frame Fraunhofer encoder variable bitrate tag |<sub></sub>|
|
||||
@ -510,6 +510,9 @@ Decode value as caff
|
||||
... | caff({uncompress:true})
|
||||
```
|
||||
|
||||
### Authors
|
||||
- [@ronsor](https://github.com/ronsor)
|
||||
|
||||
## cbor
|
||||
|
||||
### Convert represented value to JSON
|
||||
@ -750,6 +753,11 @@ $ fq 'grep_by(.id == "Tracks") | matroska_path' file.mkv
|
||||
- https://www.matroska.org/technical/codec_specs.html
|
||||
- https://wiki.xiph.org/MatroskaOpus
|
||||
|
||||
## moc3
|
||||
|
||||
### Authors
|
||||
- [@ronsor](https://github.com/ronsor)
|
||||
|
||||
## mp3
|
||||
|
||||
### Options
|
||||
|
2320
doc/formats.svg
2320
doc/formats.svg
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 146 KiB |
@ -3,6 +3,7 @@ package caff
|
||||
import (
|
||||
"bytes"
|
||||
"compress/flate"
|
||||
"embed"
|
||||
"io"
|
||||
|
||||
"github.com/wader/fq/format"
|
||||
@ -12,6 +13,9 @@ import (
|
||||
"github.com/wader/fq/pkg/scalar"
|
||||
)
|
||||
|
||||
//go:embed caff.md
|
||||
var caffFS embed.FS
|
||||
|
||||
var probeGroup decode.Group
|
||||
|
||||
func init() {
|
||||
@ -28,6 +32,7 @@ func init() {
|
||||
{Groups: []*decode.Group{format.Probe}, Out: &probeGroup},
|
||||
},
|
||||
})
|
||||
interp.RegisterFS(caffFS)
|
||||
}
|
||||
|
||||
const (
|
||||
|
2
format/caff/caff.md
Normal file
2
format/caff/caff.md
Normal file
@ -0,0 +1,2 @@
|
||||
### Authors
|
||||
- [@ronsor](https://github.com/ronsor)
|
@ -3,12 +3,17 @@ package moc3
|
||||
// https://github.com/OpenL2D/moc3ingbird/blob/master/src/moc3.hexpat
|
||||
|
||||
import (
|
||||
"embed"
|
||||
|
||||
"github.com/wader/fq/format"
|
||||
"github.com/wader/fq/pkg/decode"
|
||||
"github.com/wader/fq/pkg/interp"
|
||||
"github.com/wader/fq/pkg/scalar"
|
||||
)
|
||||
|
||||
//go:embed moc3.md
|
||||
var moc3FS embed.FS
|
||||
|
||||
func init() {
|
||||
interp.RegisterFormat(
|
||||
format.MOC3,
|
||||
@ -17,6 +22,7 @@ func init() {
|
||||
Groups: []*decode.Group{format.Probe},
|
||||
DecodeFn: decodeMOC3,
|
||||
})
|
||||
interp.RegisterFS(moc3FS)
|
||||
}
|
||||
|
||||
const (
|
||||
|
2
format/moc3/moc3.md
Normal file
2
format/moc3/moc3.md
Normal file
@ -0,0 +1,2 @@
|
||||
### Authors
|
||||
- [@ronsor](https://github.com/ronsor)
|
Loading…
Reference in New Issue
Block a user