mirror of
https://github.com/wader/fq.git
synced 2024-09-11 12:05:39 +03:00
leveldb: update docs
This commit is contained in:
parent
41f27a13c1
commit
cc0d5a8b9b
@ -102,7 +102,9 @@ ipv6_packet,
|
|||||||
jpeg,
|
jpeg,
|
||||||
json,
|
json,
|
||||||
jsonl,
|
jsonl,
|
||||||
[leveldb_ldb](doc/formats.md#leveldb_ldb),
|
[leveldb_descriptor](doc/formats.md#leveldb_descriptor),
|
||||||
|
[leveldb_log](doc/formats.md#leveldb_log),
|
||||||
|
[leveldb_table](doc/formats.md#leveldb_table),
|
||||||
[luajit](doc/formats.md#luajit),
|
[luajit](doc/formats.md#luajit),
|
||||||
[macho](doc/formats.md#macho),
|
[macho](doc/formats.md#macho),
|
||||||
macho_fat,
|
macho_fat,
|
||||||
|
299
doc/formats.md
299
doc/formats.md
@ -2,139 +2,141 @@
|
|||||||
|
|
||||||
[fq -rn -L . 'include "formats"; formats_table']: sh-start
|
[fq -rn -L . 'include "formats"; formats_table']: sh-start
|
||||||
|
|
||||||
|Name |Description |Dependencies|
|
|Name |Description |Dependencies|
|
||||||
|- |- |-|
|
|- |- |-|
|
||||||
|[`aac_frame`](#aac_frame) |Advanced Audio Coding frame |<sub></sub>|
|
|[`aac_frame`](#aac_frame) |Advanced Audio Coding frame |<sub></sub>|
|
||||||
|`adts` |Audio Data Transport Stream |<sub>`adts_frame`</sub>|
|
|`adts` |Audio Data Transport Stream |<sub>`adts_frame`</sub>|
|
||||||
|`adts_frame` |Audio Data Transport Stream frame |<sub>`aac_frame`</sub>|
|
|`adts_frame` |Audio Data Transport Stream frame |<sub>`aac_frame`</sub>|
|
||||||
|`aiff` |Audio Interchange File Format |<sub></sub>|
|
|`aiff` |Audio Interchange File Format |<sub></sub>|
|
||||||
|`amf0` |Action Message Format 0 |<sub></sub>|
|
|`amf0` |Action Message Format 0 |<sub></sub>|
|
||||||
|`apev2` |APEv2 metadata tag |<sub>`image`</sub>|
|
|`apev2` |APEv2 metadata tag |<sub>`image`</sub>|
|
||||||
|[`apple_bookmark`](#apple_bookmark) |Apple BookmarkData |<sub></sub>|
|
|[`apple_bookmark`](#apple_bookmark) |Apple BookmarkData |<sub></sub>|
|
||||||
|`ar` |Unix archive |<sub>`probe`</sub>|
|
|`ar` |Unix archive |<sub>`probe`</sub>|
|
||||||
|[`asn1_ber`](#asn1_ber) |ASN1 BER (basic encoding rules, also CER and DER) |<sub></sub>|
|
|[`asn1_ber`](#asn1_ber) |ASN1 BER (basic encoding rules, also CER and DER) |<sub></sub>|
|
||||||
|`av1_ccr` |AV1 Codec Configuration Record |<sub></sub>|
|
|`av1_ccr` |AV1 Codec Configuration Record |<sub></sub>|
|
||||||
|`av1_frame` |AV1 frame |<sub>`av1_obu`</sub>|
|
|`av1_frame` |AV1 frame |<sub>`av1_obu`</sub>|
|
||||||
|`av1_obu` |AV1 Open Bitstream Unit |<sub></sub>|
|
|`av1_obu` |AV1 Open Bitstream Unit |<sub></sub>|
|
||||||
|`avc_annexb` |H.264/AVC Annex B |<sub>`avc_nalu`</sub>|
|
|`avc_annexb` |H.264/AVC Annex B |<sub>`avc_nalu`</sub>|
|
||||||
|[`avc_au`](#avc_au) |H.264/AVC Access Unit |<sub>`avc_nalu`</sub>|
|
|[`avc_au`](#avc_au) |H.264/AVC Access Unit |<sub>`avc_nalu`</sub>|
|
||||||
|`avc_dcr` |H.264/AVC Decoder Configuration Record |<sub>`avc_nalu`</sub>|
|
|`avc_dcr` |H.264/AVC Decoder Configuration Record |<sub>`avc_nalu`</sub>|
|
||||||
|`avc_nalu` |H.264/AVC Network Access Layer Unit |<sub>`avc_sps` `avc_pps` `avc_sei`</sub>|
|
|`avc_nalu` |H.264/AVC Network Access Layer Unit |<sub>`avc_sps` `avc_pps` `avc_sei`</sub>|
|
||||||
|`avc_pps` |H.264/AVC Picture Parameter Set |<sub></sub>|
|
|`avc_pps` |H.264/AVC Picture Parameter Set |<sub></sub>|
|
||||||
|`avc_sei` |H.264/AVC Supplemental Enhancement Information |<sub></sub>|
|
|`avc_sei` |H.264/AVC Supplemental Enhancement Information |<sub></sub>|
|
||||||
|`avc_sps` |H.264/AVC Sequence Parameter Set |<sub></sub>|
|
|`avc_sps` |H.264/AVC Sequence Parameter Set |<sub></sub>|
|
||||||
|[`avi`](#avi) |Audio Video Interleaved |<sub>`avc_au` `hevc_au` `mp3_frame` `flac_frame`</sub>|
|
|[`avi`](#avi) |Audio Video Interleaved |<sub>`avc_au` `hevc_au` `mp3_frame` `flac_frame`</sub>|
|
||||||
|[`avro_ocf`](#avro_ocf) |Avro object container file |<sub></sub>|
|
|[`avro_ocf`](#avro_ocf) |Avro object container file |<sub></sub>|
|
||||||
|[`bencode`](#bencode) |BitTorrent bencoding |<sub></sub>|
|
|[`bencode`](#bencode) |BitTorrent bencoding |<sub></sub>|
|
||||||
|`bitcoin_blkdat` |Bitcoin blk.dat |<sub>`bitcoin_block`</sub>|
|
|`bitcoin_blkdat` |Bitcoin blk.dat |<sub>`bitcoin_block`</sub>|
|
||||||
|[`bitcoin_block`](#bitcoin_block) |Bitcoin block |<sub>`bitcoin_transaction`</sub>|
|
|[`bitcoin_block`](#bitcoin_block) |Bitcoin block |<sub>`bitcoin_transaction`</sub>|
|
||||||
|`bitcoin_script` |Bitcoin script |<sub></sub>|
|
|`bitcoin_script` |Bitcoin script |<sub></sub>|
|
||||||
|`bitcoin_transaction` |Bitcoin transaction |<sub>`bitcoin_script`</sub>|
|
|`bitcoin_transaction` |Bitcoin transaction |<sub>`bitcoin_script`</sub>|
|
||||||
|[`bits`](#bits) |Raw bits |<sub></sub>|
|
|[`bits`](#bits) |Raw bits |<sub></sub>|
|
||||||
|[`bplist`](#bplist) |Apple Binary Property List |<sub></sub>|
|
|[`bplist`](#bplist) |Apple Binary Property List |<sub></sub>|
|
||||||
|`bsd_loopback_frame` |BSD loopback frame |<sub>`inet_packet`</sub>|
|
|`bsd_loopback_frame` |BSD loopback frame |<sub>`inet_packet`</sub>|
|
||||||
|[`bson`](#bson) |Binary JSON |<sub></sub>|
|
|[`bson`](#bson) |Binary JSON |<sub></sub>|
|
||||||
|[`bytes`](#bytes) |Raw bytes |<sub></sub>|
|
|[`bytes`](#bytes) |Raw bytes |<sub></sub>|
|
||||||
|`bzip2` |bzip2 compression |<sub>`probe`</sub>|
|
|`bzip2` |bzip2 compression |<sub>`probe`</sub>|
|
||||||
|[`caff`](#caff) |Live2D Cubism archive |<sub>`probe`</sub>|
|
|[`caff`](#caff) |Live2D Cubism archive |<sub>`probe`</sub>|
|
||||||
|[`cbor`](#cbor) |Concise Binary Object Representation |<sub></sub>|
|
|[`cbor`](#cbor) |Concise Binary Object Representation |<sub></sub>|
|
||||||
|[`csv`](#csv) |Comma separated values |<sub></sub>|
|
|[`csv`](#csv) |Comma separated values |<sub></sub>|
|
||||||
|`dns` |DNS packet |<sub></sub>|
|
|`dns` |DNS packet |<sub></sub>|
|
||||||
|`dns_tcp` |DNS packet (TCP) |<sub></sub>|
|
|`dns_tcp` |DNS packet (TCP) |<sub></sub>|
|
||||||
|`elf` |Executable and Linkable Format |<sub></sub>|
|
|`elf` |Executable and Linkable Format |<sub></sub>|
|
||||||
|`ether8023_frame` |Ethernet 802.3 frame |<sub>`inet_packet`</sub>|
|
|`ether8023_frame` |Ethernet 802.3 frame |<sub>`inet_packet`</sub>|
|
||||||
|`exif` |Exchangeable Image File Format |<sub></sub>|
|
|`exif` |Exchangeable Image File Format |<sub></sub>|
|
||||||
|`fairplay_spc` |FairPlay Server Playback Context |<sub></sub>|
|
|`fairplay_spc` |FairPlay Server Playback Context |<sub></sub>|
|
||||||
|`flac` |Free Lossless Audio Codec file |<sub>`flac_metadatablocks` `flac_frame`</sub>|
|
|`flac` |Free Lossless Audio Codec file |<sub>`flac_metadatablocks` `flac_frame`</sub>|
|
||||||
|[`flac_frame`](#flac_frame) |FLAC frame |<sub></sub>|
|
|[`flac_frame`](#flac_frame) |FLAC frame |<sub></sub>|
|
||||||
|`flac_metadatablock` |FLAC metadatablock |<sub>`flac_streaminfo` `flac_picture` `vorbis_comment`</sub>|
|
|`flac_metadatablock` |FLAC metadatablock |<sub>`flac_streaminfo` `flac_picture` `vorbis_comment`</sub>|
|
||||||
|`flac_metadatablocks` |FLAC metadatablocks |<sub>`flac_metadatablock`</sub>|
|
|`flac_metadatablocks` |FLAC metadatablocks |<sub>`flac_metadatablock`</sub>|
|
||||||
|`flac_picture` |FLAC metadatablock picture |<sub>`image`</sub>|
|
|`flac_picture` |FLAC metadatablock picture |<sub>`image`</sub>|
|
||||||
|`flac_streaminfo` |FLAC streaminfo |<sub></sub>|
|
|`flac_streaminfo` |FLAC streaminfo |<sub></sub>|
|
||||||
|`gif` |Graphics Interchange Format |<sub></sub>|
|
|`gif` |Graphics Interchange Format |<sub></sub>|
|
||||||
|`gzip` |gzip compression |<sub>`probe`</sub>|
|
|`gzip` |gzip compression |<sub>`probe`</sub>|
|
||||||
|`hevc_annexb` |H.265/HEVC Annex B |<sub>`hevc_nalu`</sub>|
|
|`hevc_annexb` |H.265/HEVC Annex B |<sub>`hevc_nalu`</sub>|
|
||||||
|[`hevc_au`](#hevc_au) |H.265/HEVC Access Unit |<sub>`hevc_nalu`</sub>|
|
|[`hevc_au`](#hevc_au) |H.265/HEVC Access Unit |<sub>`hevc_nalu`</sub>|
|
||||||
|`hevc_dcr` |H.265/HEVC Decoder Configuration Record |<sub>`hevc_nalu`</sub>|
|
|`hevc_dcr` |H.265/HEVC Decoder Configuration Record |<sub>`hevc_nalu`</sub>|
|
||||||
|`hevc_nalu` |H.265/HEVC Network Access Layer Unit |<sub>`hevc_vps` `hevc_pps` `hevc_sps`</sub>|
|
|`hevc_nalu` |H.265/HEVC Network Access Layer Unit |<sub>`hevc_vps` `hevc_pps` `hevc_sps`</sub>|
|
||||||
|`hevc_pps` |H.265/HEVC Picture Parameter Set |<sub></sub>|
|
|`hevc_pps` |H.265/HEVC Picture Parameter Set |<sub></sub>|
|
||||||
|`hevc_sps` |H.265/HEVC Sequence Parameter Set |<sub></sub>|
|
|`hevc_sps` |H.265/HEVC Sequence Parameter Set |<sub></sub>|
|
||||||
|`hevc_vps` |H.265/HEVC Video Parameter Set |<sub></sub>|
|
|`hevc_vps` |H.265/HEVC Video Parameter Set |<sub></sub>|
|
||||||
|[`html`](#html) |HyperText Markup Language |<sub></sub>|
|
|[`html`](#html) |HyperText Markup Language |<sub></sub>|
|
||||||
|`icc_profile` |International Color Consortium profile |<sub></sub>|
|
|`icc_profile` |International Color Consortium profile |<sub></sub>|
|
||||||
|`icmp` |Internet Control Message Protocol |<sub></sub>|
|
|`icmp` |Internet Control Message Protocol |<sub></sub>|
|
||||||
|`icmpv6` |Internet Control Message Protocol v6 |<sub></sub>|
|
|`icmpv6` |Internet Control Message Protocol v6 |<sub></sub>|
|
||||||
|`id3v1` |ID3v1 metadata |<sub></sub>|
|
|`id3v1` |ID3v1 metadata |<sub></sub>|
|
||||||
|`id3v11` |ID3v1.1 metadata |<sub></sub>|
|
|`id3v11` |ID3v1.1 metadata |<sub></sub>|
|
||||||
|`id3v2` |ID3v2 metadata |<sub>`image`</sub>|
|
|`id3v2` |ID3v2 metadata |<sub>`image`</sub>|
|
||||||
|`ipv4_packet` |Internet protocol v4 packet |<sub>`ip_packet`</sub>|
|
|`ipv4_packet` |Internet protocol v4 packet |<sub>`ip_packet`</sub>|
|
||||||
|`ipv6_packet` |Internet protocol v6 packet |<sub>`ip_packet`</sub>|
|
|`ipv6_packet` |Internet protocol v6 packet |<sub>`ip_packet`</sub>|
|
||||||
|`jpeg` |Joint Photographic Experts Group file |<sub>`exif` `icc_profile`</sub>|
|
|`jpeg` |Joint Photographic Experts Group file |<sub>`exif` `icc_profile`</sub>|
|
||||||
|`json` |JavaScript Object Notation |<sub></sub>|
|
|`json` |JavaScript Object Notation |<sub></sub>|
|
||||||
|`jsonl` |JavaScript Object Notation Lines |<sub></sub>|
|
|`jsonl` |JavaScript Object Notation Lines |<sub></sub>|
|
||||||
|[`leveldb_ldb`](#leveldb_ldb) |LevelDB Table |<sub></sub>|
|
|[`leveldb_descriptor`](#leveldb_descriptor) |LevelDB Descriptor |<sub></sub>|
|
||||||
|[`luajit`](#luajit) |LuaJIT 2.0 bytecode |<sub></sub>|
|
|[`leveldb_log`](#leveldb_log) |LevelDB Log |<sub></sub>|
|
||||||
|[`macho`](#macho) |Mach-O macOS executable |<sub></sub>|
|
|[`leveldb_table`](#leveldb_table) |LevelDB Table |<sub></sub>|
|
||||||
|`macho_fat` |Fat Mach-O macOS executable (multi-architecture) |<sub>`macho`</sub>|
|
|[`luajit`](#luajit) |LuaJIT 2.0 bytecode |<sub></sub>|
|
||||||
|[`markdown`](#markdown) |Markdown |<sub></sub>|
|
|[`macho`](#macho) |Mach-O macOS executable |<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>|
|
|`macho_fat` |Fat Mach-O macOS executable (multi-architecture) |<sub>`macho`</sub>|
|
||||||
|[`moc3`](#moc3) |MOC3 file |<sub></sub>|
|
|[`markdown`](#markdown) |Markdown |<sub></sub>|
|
||||||
|[`mp3`](#mp3) |MP3 file |<sub>`id3v2` `id3v1` `id3v11` `apev2` `mp3_frame`</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>|
|
||||||
|`mp3_frame` |MPEG audio layer 3 frame |<sub>`mp3_frame_tags`</sub>|
|
|[`moc3`](#moc3) |MOC3 file |<sub></sub>|
|
||||||
|`mp3_frame_vbri` |MP3 frame Fraunhofer encoder variable bitrate tag |<sub></sub>|
|
|[`mp3`](#mp3) |MP3 file |<sub>`id3v2` `id3v1` `id3v11` `apev2` `mp3_frame`</sub>|
|
||||||
|`mp3_frame_xing` |MP3 frame Xing/Info tag |<sub></sub>|
|
|`mp3_frame` |MPEG audio layer 3 frame |<sub>`mp3_frame_tags`</sub>|
|
||||||
|[`mp4`](#mp4) |ISOBMFF, QuickTime and similar |<sub>`aac_frame` `av1_ccr` `av1_frame` `avc_au` `avc_dcr` `flac_frame` `flac_metadatablocks` `hevc_au` `hevc_dcr` `icc_profile` `id3v2` `image` `jpeg` `mp3_frame` `mpeg_es` `mpeg_pes_packet` `opus_packet` `png` `prores_frame` `protobuf_widevine` `pssh_playready` `vorbis_packet` `vp9_frame` `vpx_ccr`</sub>|
|
|`mp3_frame_vbri` |MP3 frame Fraunhofer encoder variable bitrate tag |<sub></sub>|
|
||||||
|`mpeg_asc` |MPEG-4 Audio Specific Config |<sub></sub>|
|
|`mp3_frame_xing` |MP3 frame Xing/Info tag |<sub></sub>|
|
||||||
|`mpeg_es` |MPEG Elementary Stream |<sub>`mpeg_asc` `vorbis_packet`</sub>|
|
|[`mp4`](#mp4) |ISOBMFF, QuickTime and similar |<sub>`aac_frame` `av1_ccr` `av1_frame` `avc_au` `avc_dcr` `flac_frame` `flac_metadatablocks` `hevc_au` `hevc_dcr` `icc_profile` `id3v2` `image` `jpeg` `mp3_frame` `mpeg_es` `mpeg_pes_packet` `opus_packet` `png` `prores_frame` `protobuf_widevine` `pssh_playready` `vorbis_packet` `vp9_frame` `vpx_ccr`</sub>|
|
||||||
|`mpeg_pes` |MPEG Packetized elementary stream |<sub>`mpeg_pes_packet` `mpeg_spu`</sub>|
|
|`mpeg_asc` |MPEG-4 Audio Specific Config |<sub></sub>|
|
||||||
|`mpeg_pes_packet` |MPEG Packetized elementary stream packet |<sub></sub>|
|
|`mpeg_es` |MPEG Elementary Stream |<sub>`mpeg_asc` `vorbis_packet`</sub>|
|
||||||
|`mpeg_spu` |Sub Picture Unit (DVD subtitle) |<sub></sub>|
|
|`mpeg_pes` |MPEG Packetized elementary stream |<sub>`mpeg_pes_packet` `mpeg_spu`</sub>|
|
||||||
|`mpeg_ts` |MPEG Transport Stream |<sub></sub>|
|
|`mpeg_pes_packet` |MPEG Packetized elementary stream packet |<sub></sub>|
|
||||||
|[`msgpack`](#msgpack) |MessagePack |<sub></sub>|
|
|`mpeg_spu` |Sub Picture Unit (DVD subtitle) |<sub></sub>|
|
||||||
|`ogg` |OGG file |<sub>`ogg_page` `vorbis_packet` `opus_packet` `flac_metadatablock` `flac_frame`</sub>|
|
|`mpeg_ts` |MPEG Transport Stream |<sub></sub>|
|
||||||
|`ogg_page` |OGG page |<sub></sub>|
|
|[`msgpack`](#msgpack) |MessagePack |<sub></sub>|
|
||||||
|[`opentimestamps`](#opentimestamps) |OpenTimestamps file |<sub></sub>|
|
|`ogg` |OGG file |<sub>`ogg_page` `vorbis_packet` `opus_packet` `flac_metadatablock` `flac_frame`</sub>|
|
||||||
|`opus_packet` |Opus packet |<sub>`vorbis_comment`</sub>|
|
|`ogg_page` |OGG page |<sub></sub>|
|
||||||
|[`pcap`](#pcap) |PCAP packet capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>|
|
|[`opentimestamps`](#opentimestamps) |OpenTimestamps file |<sub></sub>|
|
||||||
|`pcapng` |PCAPNG packet capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>|
|
|`opus_packet` |Opus packet |<sub>`vorbis_comment`</sub>|
|
||||||
|[`pg_btree`](#pg_btree) |PostgreSQL btree index file |<sub></sub>|
|
|[`pcap`](#pcap) |PCAP packet capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>|
|
||||||
|[`pg_control`](#pg_control) |PostgreSQL control file |<sub></sub>|
|
|`pcapng` |PCAPNG packet capture |<sub>`link_frame` `tcp_stream` `ipv4_packet`</sub>|
|
||||||
|[`pg_heap`](#pg_heap) |PostgreSQL heap file |<sub></sub>|
|
|[`pg_btree`](#pg_btree) |PostgreSQL btree index file |<sub></sub>|
|
||||||
|`png` |Portable Network Graphics file |<sub>`icc_profile` `exif`</sub>|
|
|[`pg_control`](#pg_control) |PostgreSQL control file |<sub></sub>|
|
||||||
|`prores_frame` |Apple ProRes frame |<sub></sub>|
|
|[`pg_heap`](#pg_heap) |PostgreSQL heap file |<sub></sub>|
|
||||||
|[`protobuf`](#protobuf) |Protobuf |<sub></sub>|
|
|`png` |Portable Network Graphics file |<sub>`icc_profile` `exif`</sub>|
|
||||||
|`protobuf_widevine` |Widevine protobuf |<sub>`protobuf`</sub>|
|
|`prores_frame` |Apple ProRes frame |<sub></sub>|
|
||||||
|`pssh_playready` |PlayReady PSSH |<sub></sub>|
|
|[`protobuf`](#protobuf) |Protobuf |<sub></sub>|
|
||||||
|[`rtmp`](#rtmp) |Real-Time Messaging Protocol |<sub>`amf0` `mpeg_asc`</sub>|
|
|`protobuf_widevine` |Widevine protobuf |<sub>`protobuf`</sub>|
|
||||||
|`sll2_packet` |Linux cooked capture encapsulation v2 |<sub>`inet_packet`</sub>|
|
|`pssh_playready` |PlayReady PSSH |<sub></sub>|
|
||||||
|`sll_packet` |Linux cooked capture encapsulation |<sub>`inet_packet`</sub>|
|
|[`rtmp`](#rtmp) |Real-Time Messaging Protocol |<sub>`amf0` `mpeg_asc`</sub>|
|
||||||
|`tar` |Tar archive |<sub>`probe`</sub>|
|
|`sll2_packet` |Linux cooked capture encapsulation v2 |<sub>`inet_packet`</sub>|
|
||||||
|`tcp_segment` |Transmission control protocol segment |<sub></sub>|
|
|`sll_packet` |Linux cooked capture encapsulation |<sub>`inet_packet`</sub>|
|
||||||
|`tiff` |Tag Image File Format |<sub>`icc_profile`</sub>|
|
|`tar` |Tar archive |<sub>`probe`</sub>|
|
||||||
|[`tls`](#tls) |Transport layer security |<sub>`asn1_ber`</sub>|
|
|`tcp_segment` |Transmission control protocol segment |<sub></sub>|
|
||||||
|`toml` |Tom's Obvious, Minimal Language |<sub></sub>|
|
|`tiff` |Tag Image File Format |<sub>`icc_profile`</sub>|
|
||||||
|[`tzif`](#tzif) |Time Zone Information Format |<sub></sub>|
|
|[`tls`](#tls) |Transport layer security |<sub>`asn1_ber`</sub>|
|
||||||
|`udp_datagram` |User datagram protocol |<sub>`udp_payload`</sub>|
|
|`toml` |Tom's Obvious, Minimal Language |<sub></sub>|
|
||||||
|`vorbis_comment` |Vorbis comment |<sub>`flac_picture`</sub>|
|
|[`tzif`](#tzif) |Time Zone Information Format |<sub></sub>|
|
||||||
|`vorbis_packet` |Vorbis packet |<sub>`vorbis_comment`</sub>|
|
|`udp_datagram` |User datagram protocol |<sub>`udp_payload`</sub>|
|
||||||
|`vp8_frame` |VP8 frame |<sub></sub>|
|
|`vorbis_comment` |Vorbis comment |<sub>`flac_picture`</sub>|
|
||||||
|`vp9_cfm` |VP9 Codec Feature Metadata |<sub></sub>|
|
|`vorbis_packet` |Vorbis packet |<sub>`vorbis_comment`</sub>|
|
||||||
|`vp9_frame` |VP9 frame |<sub></sub>|
|
|`vp8_frame` |VP8 frame |<sub></sub>|
|
||||||
|`vpx_ccr` |VPX Codec Configuration Record |<sub></sub>|
|
|`vp9_cfm` |VP9 Codec Feature Metadata |<sub></sub>|
|
||||||
|[`wasm`](#wasm) |WebAssembly Binary Format |<sub></sub>|
|
|`vp9_frame` |VP9 frame |<sub></sub>|
|
||||||
|`wav` |WAV file |<sub>`id3v2` `id3v1` `id3v11`</sub>|
|
|`vpx_ccr` |VPX Codec Configuration Record |<sub></sub>|
|
||||||
|`webp` |WebP image |<sub>`exif` `vp8_frame` `icc_profile` `xml`</sub>|
|
|[`wasm`](#wasm) |WebAssembly Binary Format |<sub></sub>|
|
||||||
|[`xml`](#xml) |Extensible Markup Language |<sub></sub>|
|
|`wav` |WAV file |<sub>`id3v2` `id3v1` `id3v11`</sub>|
|
||||||
|`yaml` |YAML Ain't Markup Language |<sub></sub>|
|
|`webp` |WebP image |<sub>`exif` `vp8_frame` `icc_profile` `xml`</sub>|
|
||||||
|[`zip`](#zip) |ZIP archive |<sub>`probe`</sub>|
|
|[`xml`](#xml) |Extensible Markup Language |<sub></sub>|
|
||||||
|`image` |Group |<sub>`gif` `jpeg` `mp4` `png` `tiff` `webp`</sub>|
|
|`yaml` |YAML Ain't Markup Language |<sub></sub>|
|
||||||
|`inet_packet` |Group |<sub>`ipv4_packet` `ipv6_packet`</sub>|
|
|[`zip`](#zip) |ZIP archive |<sub>`probe`</sub>|
|
||||||
|`ip_packet` |Group |<sub>`icmp` `icmpv6` `tcp_segment` `udp_datagram`</sub>|
|
|`image` |Group |<sub>`gif` `jpeg` `mp4` `png` `tiff` `webp`</sub>|
|
||||||
|`link_frame` |Group |<sub>`bsd_loopback_frame` `ether8023_frame` `ipv4_packet` `ipv6_packet` `sll2_packet` `sll_packet`</sub>|
|
|`inet_packet` |Group |<sub>`ipv4_packet` `ipv6_packet`</sub>|
|
||||||
|`mp3_frame_tags` |Group |<sub>`mp3_frame_vbri` `mp3_frame_xing`</sub>|
|
|`ip_packet` |Group |<sub>`icmp` `icmpv6` `tcp_segment` `udp_datagram`</sub>|
|
||||||
|`probe` |Group |<sub>`adts` `aiff` `apple_bookmark` `ar` `avi` `avro_ocf` `bitcoin_blkdat` `bplist` `bzip2` `caff` `elf` `flac` `gif` `gzip` `html` `jpeg` `json` `jsonl` `leveldb_ldb` `luajit` `macho` `macho_fat` `matroska` `moc3` `mp3` `mp4` `mpeg_ts` `ogg` `opentimestamps` `pcap` `pcapng` `png` `tar` `tiff` `toml` `tzif` `wasm` `wav` `webp` `xml` `yaml` `zip`</sub>|
|
|`link_frame` |Group |<sub>`bsd_loopback_frame` `ether8023_frame` `ipv4_packet` `ipv6_packet` `sll2_packet` `sll_packet`</sub>|
|
||||||
|`tcp_stream` |Group |<sub>`dns_tcp` `rtmp` `tls`</sub>|
|
|`mp3_frame_tags` |Group |<sub>`mp3_frame_vbri` `mp3_frame_xing`</sub>|
|
||||||
|`udp_payload` |Group |<sub>`dns`</sub>|
|
|`probe` |Group |<sub>`adts` `aiff` `apple_bookmark` `ar` `avi` `avro_ocf` `bitcoin_blkdat` `bplist` `bzip2` `caff` `elf` `flac` `gif` `gzip` `html` `jpeg` `json` `jsonl` `leveldb_table` `luajit` `macho` `macho_fat` `matroska` `moc3` `mp3` `mp4` `mpeg_ts` `ogg` `opentimestamps` `pcap` `pcapng` `png` `tar` `tiff` `toml` `tzif` `wasm` `wav` `webp` `xml` `yaml` `zip`</sub>|
|
||||||
|
|`tcp_stream` |Group |<sub>`dns_tcp` `rtmp` `tls`</sub>|
|
||||||
|
|`udp_payload` |Group |<sub>`dns`</sub>|
|
||||||
|
|
||||||
[#]: sh-end
|
[#]: sh-end
|
||||||
|
|
||||||
@ -691,7 +693,36 @@ $ fq -n -d html '[inputs | {key: input_filename, value: .html.head.title?}] | fr
|
|||||||
$ fq -r -o array=true -d html '.. | select(.[0] == "a" and .[1].href)?.[1].href' file.html
|
$ fq -r -o array=true -d html '.. | select(.[0] == "a" and .[1].href)?.[1].href' file.html
|
||||||
```
|
```
|
||||||
|
|
||||||
## leveldb_ldb
|
## leveldb_descriptor
|
||||||
|
|
||||||
|
### Limitations
|
||||||
|
|
||||||
|
- fragmented non-"full" records are not merged and decoded further.
|
||||||
|
|
||||||
|
### Authors
|
||||||
|
|
||||||
|
- [@mikez](https://github.com/mikez), original author
|
||||||
|
|
||||||
|
### References
|
||||||
|
|
||||||
|
- https://github.com/google/leveldb/blob/main/doc/impl.md#manifest
|
||||||
|
- https://github.com/google/leveldb/blob/main/db/version_edit.cc
|
||||||
|
|
||||||
|
## leveldb_log
|
||||||
|
|
||||||
|
### Limitations
|
||||||
|
|
||||||
|
- fragmented non-"full" records are not merged and decoded further.
|
||||||
|
|
||||||
|
### Authors
|
||||||
|
|
||||||
|
- [@mikez](https://github.com/mikez), original author
|
||||||
|
|
||||||
|
### References
|
||||||
|
|
||||||
|
- https://github.com/google/leveldb/blob/main/doc/log_format.md
|
||||||
|
|
||||||
|
## leveldb_table
|
||||||
|
|
||||||
### Limitations
|
### Limitations
|
||||||
|
|
||||||
|
39
format/leveldb/testdata/leveldb_manifest_torepr.fqtest
vendored
Normal file
39
format/leveldb/testdata/leveldb_manifest_torepr.fqtest
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
$ fq -d leveldb_descriptor torepr uncompressed.ldb/MANIFEST-000004
|
||||||
|
[
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"comparator": "leveldb.BytewiseComparator"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"log_number": 6
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"previous_log_number": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"next_file_number": 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"last_sequence": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"new_file": {
|
||||||
|
"file_number": 5,
|
||||||
|
"file_size": 1626,
|
||||||
|
"largest_internal_key": {
|
||||||
|
"sequence_number": 4,
|
||||||
|
"type": "value",
|
||||||
|
"user_key": "row"
|
||||||
|
},
|
||||||
|
"level": 0,
|
||||||
|
"smallest_internal_key": {
|
||||||
|
"sequence_number": 3,
|
||||||
|
"type": "value",
|
||||||
|
"user_key": "lorem.dolor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user