1
1
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:
Mattias Wadman 2023-08-21 09:37:44 +02:00
parent 2eae4c2fd5
commit f15f9bc1a4
7 changed files with 1201 additions and 1146 deletions

View File

@ -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,

View File

@ -77,7 +77,7 @@
|`macho_fat` |Fat&nbsp;Mach-O&nbsp;macOS&nbsp;executable&nbsp;(multi-architecture) |<sub>`macho`</sub>|
|[`markdown`](#markdown) |Markdown |<sub></sub>|
|[`matroska`](#matroska) |Matroska&nbsp;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&nbsp;file |<sub></sub>|
|[`moc3`](#moc3) |MOC3&nbsp;file |<sub></sub>|
|[`mp3`](#mp3) |MP3&nbsp;file |<sub>`id3v2` `id3v1` `id3v11` `apev2` `mp3_frame`</sub>|
|`mp3_frame` |MPEG&nbsp;audio&nbsp;layer&nbsp;3&nbsp;frame |<sub>`mp3_frame_tags`</sub>|
|`mp3_frame_vbri` |MP3&nbsp;frame&nbsp;Fraunhofer&nbsp;encoder&nbsp;variable&nbsp;bitrate&nbsp;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

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -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
View File

@ -0,0 +1,2 @@
### Authors
- [@ronsor](https://github.com/ronsor)

View File

@ -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
View File

@ -0,0 +1,2 @@
### Authors
- [@ronsor](https://github.com/ronsor)