-
Notifications
You must be signed in to change notification settings - Fork 231
/
Copy pathhelp.fqtest
790 lines (790 loc) · 23.4 KB
/
help.fqtest
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
$ fq -n '_registry.formats | keys[] | "help(\(.))", ([_help("fq"; .)] | join("\n") | split("\n")[] | ("out \(.)" | println))'
"help(aac_frame)"
out aac_frame: Advanced Audio Coding frame decoder
out Options:
out object_type=1 Audio object type
out Examples:
out # Decode file as aac_frame
out $ fq -d aac_frame . file
out # Decode value as aac_frame
out ... | aac_frame
out # Decode file using aac_frame options
out $ fq -d aac_frame -o object_type=1 . file
out # Decode value as aac_frame
out ... | aac_frame({object_type:1})
"help(adts)"
out adts: Audio Data Transport Stream decoder
out Examples:
out # Decode file as adts
out $ fq -d adts . file
out # Decode value as adts
out ... | adts
"help(adts_frame)"
out adts_frame: Audio Data Transport Stream frame decoder
out Examples:
out # Decode file as adts_frame
out $ fq -d adts_frame . file
out # Decode value as adts_frame
out ... | adts_frame
"help(amf0)"
out amf0: Action Message Format 0 decoder
out Examples:
out # Decode file as amf0
out $ fq -d amf0 . file
out # Decode value as amf0
out ... | amf0
"help(apev2)"
out apev2: APEv2 metadata tag decoder
out Examples:
out # Decode file as apev2
out $ fq -d apev2 . file
out # Decode value as apev2
out ... | apev2
"help(ar)"
out ar: Unix archive decoder
out Examples:
out # Decode file as ar
out $ fq -d ar . file
out # Decode value as ar
out ... | ar
"help(asn1_ber)"
out asn1_ber: ASN1 BER (basic encoding rules, also CER and DER) decoder
out Supports decoding BER, CER and DER (X.690).
out
out - Currently no extra validation is done for CER and DER.
out - Does not support specifying a schema.
out - Supports torepr but without schema all sequences and sets will be arrays.
out Examples:
out # frompem` and `topem can be used to work with PEM format
out $ fq -d raw 'frompem | asn1_ber | d' cert.pem
out # Can be used to decode nested parts
out $ fq -d asn1_ber '.constructed[1].value | asn1_ber' file.ber
out # If schema is known and not complicated it can be reproduced
out $ fq -d asn1_ber 'torepr as $r | ["version", "modulus", "private_exponent", "private_exponen", "prime1", "prime2", "exponent1", "exponent2", "coefficient"] | with_entries({key: .value, value: $r[.key]})' pkcs1.der
out # Decode file as asn1_ber
out $ fq -d asn1_ber . file
out # Decode value as asn1_ber
out ... | asn1_ber
out # Supports torepr
out $ fq -d asn1_ber torepr file
out # Supports torepr
out ... | asn1_ber | torepr
out References and links
out https://www.itu.int/ITU-T/studygroups/com10/languages/X.690_1297.pdf
out https://en.wikipedia.org/wiki/X.690
out https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/
out https://lapo.it/asn1js/
"help(av1_ccr)"
out av1_ccr: AV1 Codec Configuration Record decoder
out Examples:
out # Decode file as av1_ccr
out $ fq -d av1_ccr . file
out # Decode value as av1_ccr
out ... | av1_ccr
"help(av1_frame)"
out av1_frame: AV1 frame decoder
out Examples:
out # Decode file as av1_frame
out $ fq -d av1_frame . file
out # Decode value as av1_frame
out ... | av1_frame
"help(av1_obu)"
out av1_obu: AV1 Open Bitstream Unit decoder
out Examples:
out # Decode file as av1_obu
out $ fq -d av1_obu . file
out # Decode value as av1_obu
out ... | av1_obu
"help(avc_annexb)"
out avc_annexb: H.264/AVC Annex B decoder
out Examples:
out # Decode file as avc_annexb
out $ fq -d avc_annexb . file
out # Decode value as avc_annexb
out ... | avc_annexb
"help(avc_au)"
out avc_au: H.264/AVC Access Unit decoder
out Options:
out length_size=4 Length value size
out Examples:
out # Decode file as avc_au
out $ fq -d avc_au . file
out # Decode value as avc_au
out ... | avc_au
out # Decode file using avc_au options
out $ fq -d avc_au -o length_size=4 . file
out # Decode value as avc_au
out ... | avc_au({length_size:4})
"help(avc_dcr)"
out avc_dcr: H.264/AVC Decoder Configuration Record decoder
out Examples:
out # Decode file as avc_dcr
out $ fq -d avc_dcr . file
out # Decode value as avc_dcr
out ... | avc_dcr
"help(avc_nalu)"
out avc_nalu: H.264/AVC Network Access Layer Unit decoder
out Examples:
out # Decode file as avc_nalu
out $ fq -d avc_nalu . file
out # Decode value as avc_nalu
out ... | avc_nalu
"help(avc_pps)"
out avc_pps: H.264/AVC Picture Parameter Set decoder
out Examples:
out # Decode file as avc_pps
out $ fq -d avc_pps . file
out # Decode value as avc_pps
out ... | avc_pps
"help(avc_sei)"
out avc_sei: H.264/AVC Supplemental Enhancement Information decoder
out Examples:
out # Decode file as avc_sei
out $ fq -d avc_sei . file
out # Decode value as avc_sei
out ... | avc_sei
"help(avc_sps)"
out avc_sps: H.264/AVC Sequence Parameter Set decoder
out Examples:
out # Decode file as avc_sps
out $ fq -d avc_sps . file
out # Decode value as avc_sps
out ... | avc_sps
"help(avro_ocf)"
out avro_ocf: Avro object container file decoder
out Supports reading Avro Object Container Format (OCF) files based on the 1.11.0 specification.
out
out Capable of handling null, deflate, and snappy codecs for data compression.
out
out Limitations:
out - Schema does not support self-referential types, only built-in types.
out - Decimal logical types are not supported for decoding, will just be treated as their primitive type
out Examples:
out # Decode file as avro_ocf
out $ fq -d avro_ocf . file
out # Decode value as avro_ocf
out ... | avro_ocf
out References and links
out https://avro.apache.org/docs/current/spec.html#Object+Container+Files
"help(bencode)"
out bencode: BitTorrent bencoding decoder
out Examples:
out # Decode file as bencode
out $ fq -d bencode . file
out # Decode value as bencode
out ... | bencode
out # Supports torepr
out $ fq -d bencode torepr file
out # Supports torepr
out ... | bencode | torepr
out References and links
out https://wiki.theory.org/BitTorrentSpecification#Bencoding
"help(bsd_loopback_frame)"
out bsd_loopback_frame: BSD loopback frame decoder
out Examples:
out # Decode file as bsd_loopback_frame
out $ fq -d bsd_loopback_frame . file
out # Decode value as bsd_loopback_frame
out ... | bsd_loopback_frame
"help(bson)"
out bson: Binary JSON decoder
out Examples:
out # BSON as JSON
out $ fq -d bson torepr file
out # Decode file as bson
out $ fq -d bson . file
out # Decode value as bson
out ... | bson
out # Supports torepr
out $ fq -d bson torepr file
out # Supports torepr
out ... | bson | torepr
out References and links
out https://wiki.theory.org/BitTorrentSpecification#Bencoding
"help(bzip2)"
out bzip2: bzip2 compression decoder
out Examples:
out # Decode file as bzip2
out $ fq -d bzip2 . file
out # Decode value as bzip2
out ... | bzip2
"help(cbor)"
out cbor: Concise Binary Object Representation decoder
out Examples:
out # Decode file as cbor
out $ fq -d cbor . file
out # Decode value as cbor
out ... | cbor
out # Supports torepr
out $ fq -d cbor torepr file
out # Supports torepr
out ... | cbor | torepr
out References and links
out https://en.wikipedia.org/wiki/CBOR
out https://www.rfc-editor.org/rfc/rfc8949.html
"help(dns)"
out dns: DNS packet decoder
out Examples:
out # Decode file as dns
out $ fq -d dns . file
out # Decode value as dns
out ... | dns
"help(dns_tcp)"
out dns_tcp: DNS packet (TCP) decoder
out Examples:
out # Decode file as dns_tcp
out $ fq -d dns_tcp . file
out # Decode value as dns_tcp
out ... | dns_tcp
"help(elf)"
out elf: Executable and Linkable Format decoder
out Examples:
out # Decode file as elf
out $ fq -d elf . file
out # Decode value as elf
out ... | elf
"help(ether8023_frame)"
out ether8023_frame: Ethernet 802.3 frame decoder
out Examples:
out # Decode file as ether8023_frame
out $ fq -d ether8023_frame . file
out # Decode value as ether8023_frame
out ... | ether8023_frame
"help(exif)"
out exif: Exchangeable Image File Format decoder
out Examples:
out # Decode file as exif
out $ fq -d exif . file
out # Decode value as exif
out ... | exif
"help(flac)"
out flac: Free Lossless Audio Codec file decoder
out Examples:
out # Decode file as flac
out $ fq -d flac . file
out # Decode value as flac
out ... | flac
"help(flac_frame)"
out flac_frame: FLAC frame decoder
out Options:
out bits_per_sample=16 Bits per sample
out Examples:
out # Decode file as flac_frame
out $ fq -d flac_frame . file
out # Decode value as flac_frame
out ... | flac_frame
out # Decode file using flac_frame options
out $ fq -d flac_frame -o bits_per_sample=16 . file
out # Decode value as flac_frame
out ... | flac_frame({bits_per_sample:16})
"help(flac_metadatablock)"
out flac_metadatablock: FLAC metadatablock decoder
out Examples:
out # Decode file as flac_metadatablock
out $ fq -d flac_metadatablock . file
out # Decode value as flac_metadatablock
out ... | flac_metadatablock
"help(flac_metadatablocks)"
out flac_metadatablocks: FLAC metadatablocks decoder
out Examples:
out # Decode file as flac_metadatablocks
out $ fq -d flac_metadatablocks . file
out # Decode value as flac_metadatablocks
out ... | flac_metadatablocks
"help(flac_picture)"
out flac_picture: FLAC metadatablock picture decoder
out Examples:
out # Decode file as flac_picture
out $ fq -d flac_picture . file
out # Decode value as flac_picture
out ... | flac_picture
"help(flac_streaminfo)"
out flac_streaminfo: FLAC streaminfo decoder
out Examples:
out # Decode file as flac_streaminfo
out $ fq -d flac_streaminfo . file
out # Decode value as flac_streaminfo
out ... | flac_streaminfo
"help(gif)"
out gif: Graphics Interchange Format decoder
out Examples:
out # Decode file as gif
out $ fq -d gif . file
out # Decode value as gif
out ... | gif
"help(gzip)"
out gzip: gzip compression decoder
out Examples:
out # Decode file as gzip
out $ fq -d gzip . file
out # Decode value as gzip
out ... | gzip
"help(hevc_annexb)"
out hevc_annexb: H.265/HEVC Annex B decoder
out Examples:
out # Decode file as hevc_annexb
out $ fq -d hevc_annexb . file
out # Decode value as hevc_annexb
out ... | hevc_annexb
"help(hevc_au)"
out hevc_au: H.265/HEVC Access Unit decoder
out Options:
out length_size=4 Length value size
out Examples:
out # Decode file as hevc_au
out $ fq -d hevc_au . file
out # Decode value as hevc_au
out ... | hevc_au
out # Decode file using hevc_au options
out $ fq -d hevc_au -o length_size=4 . file
out # Decode value as hevc_au
out ... | hevc_au({length_size:4})
"help(hevc_dcr)"
out hevc_dcr: H.265/HEVC Decoder Configuration Record decoder
out Examples:
out # Decode file as hevc_dcr
out $ fq -d hevc_dcr . file
out # Decode value as hevc_dcr
out ... | hevc_dcr
"help(hevc_nalu)"
out hevc_nalu: H.265/HEVC Network Access Layer Unit decoder
out Examples:
out # Decode file as hevc_nalu
out $ fq -d hevc_nalu . file
out # Decode value as hevc_nalu
out ... | hevc_nalu
"help(hevc_pps)"
out hevc_pps: H.265/HEVC Picture Parameter Set decoder
out Examples:
out # Decode file as hevc_pps
out $ fq -d hevc_pps . file
out # Decode value as hevc_pps
out ... | hevc_pps
"help(hevc_sps)"
out hevc_sps: H.265/HEVC Sequence Parameter Set decoder
out Examples:
out # Decode file as hevc_sps
out $ fq -d hevc_sps . file
out # Decode value as hevc_sps
out ... | hevc_sps
"help(hevc_vps)"
out hevc_vps: H.265/HEVC Video Parameter Set decoder
out Examples:
out # Decode file as hevc_vps
out $ fq -d hevc_vps . file
out # Decode value as hevc_vps
out ... | hevc_vps
"help(icc_profile)"
out icc_profile: International Color Consortium profile decoder
out Examples:
out # Decode file as icc_profile
out $ fq -d icc_profile . file
out # Decode value as icc_profile
out ... | icc_profile
"help(icmp)"
out icmp: Internet Control Message Protocol decoder
out Examples:
out # Decode file as icmp
out $ fq -d icmp . file
out # Decode value as icmp
out ... | icmp
"help(icmpv6)"
out icmpv6: Internet Control Message Protocol v6 decoder
out Examples:
out # Decode file as icmpv6
out $ fq -d icmpv6 . file
out # Decode value as icmpv6
out ... | icmpv6
"help(id3v1)"
out id3v1: ID3v1 metadata decoder
out Examples:
out # Decode file as id3v1
out $ fq -d id3v1 . file
out # Decode value as id3v1
out ... | id3v1
"help(id3v11)"
out id3v11: ID3v1.1 metadata decoder
out Examples:
out # Decode file as id3v11
out $ fq -d id3v11 . file
out # Decode value as id3v11
out ... | id3v11
"help(id3v2)"
out id3v2: ID3v2 metadata decoder
out Examples:
out # Decode file as id3v2
out $ fq -d id3v2 . file
out # Decode value as id3v2
out ... | id3v2
"help(ipv4_packet)"
out ipv4_packet: Internet protocol v4 packet decoder
out Examples:
out # Decode file as ipv4_packet
out $ fq -d ipv4_packet . file
out # Decode value as ipv4_packet
out ... | ipv4_packet
"help(ipv6_packet)"
out ipv6_packet: Internet protocol v6 packet decoder
out Examples:
out # Decode file as ipv6_packet
out $ fq -d ipv6_packet . file
out # Decode value as ipv6_packet
out ... | ipv6_packet
"help(jpeg)"
out jpeg: Joint Photographic Experts Group file decoder
out Examples:
out # Decode file as jpeg
out $ fq -d jpeg . file
out # Decode value as jpeg
out ... | jpeg
"help(json)"
out json: JSON decoder
out Examples:
out # Decode file as json
out $ fq -d json . file
out # Decode value as json
out ... | json
"help(macho)"
out macho: Mach-O macOS executable decoder
out Supports decoding vanilla and FAT Mach-O binaries.
out Examples:
out # Select 64bit load segments
out $ fq '.load_commands[] | select(.cmd=="segment_64")' file
out # Decode file as macho
out $ fq -d macho . file
out # Decode value as macho
out ... | macho
out References and links
out https://github.com/aidansteele/osx-abi-macho-file-format-reference
"help(matroska)"
out matroska: Matroska file decoder
out Examples:
out # Lookup element decode value using matroska_path
out ... | matroska_path(".Segment.Tracks[0)"
out # Return matroska_path string for a box decode value
out ... | grep_by(.id == "Tracks") | matroska_path
out # Decode file as matroska
out $ fq -d matroska . file
out # Decode value as matroska
out ... | matroska
out References and links
out https://tools.ietf.org/html/draft-ietf-cellar-ebml-00
out https://matroska.org/technical/specs/index.html
out https://www.matroska.org/technical/basics.html
out https://www.matroska.org/technical/codec_specs.html
out https://wiki.xiph.org/MatroskaOpus
"help(mbr)"
out mbr: Master Boot Record decoder
out Supports decoding Master Boot Record data
out Examples:
out # Decode file as mbr
out $ fq -d mbr . file
out # Decode value as mbr
out ... | mbr
out References and links
out https://thestarman.pcministry.com/asm/mbr/PartTables.htm#mbr
out https://en.wikipedia.org/wiki/Master_boot_record
"help(mp3)"
out mp3: MP3 file decoder
out Options:
out max_sync_seek=32768 Max byte distance to next sync
out max_unique_header_configs=5 Max number of unique frame header configs allowed
out Examples:
out # Decode file as mp3
out $ fq -d mp3 . file
out # Decode value as mp3
out ... | mp3
out # Decode file using mp3 options
out $ fq -d mp3 -o max_sync_seek=32768 -o max_unique_header_configs=5 . file
out # Decode value as mp3
out ... | mp3({max_sync_seek:32768,max_unique_header_configs:5})
"help(mp3_frame)"
out mp3_frame: MPEG audio layer 3 frame decoder
out Examples:
out # Decode file as mp3_frame
out $ fq -d mp3_frame . file
out # Decode value as mp3_frame
out ... | mp3_frame
"help(mp4)"
out mp4: ISOBMFF MPEG-4 part 12 and similar decoder
out Support mp4_path
out Options:
out allow_truncated=false Allow box to be truncated
out decode_samples=true Decode supported media samples
out Examples:
out # Lookup box decode value using mp4_path
out ... | mp4_path(".moov.trak[1]")
out # Return mp4_path string for a box decode value
out ... | grep_by(.type == "trak") | mp4_path
out # Decode file as mp4
out $ fq -d mp4 . file
out # Decode value as mp4
out ... | mp4
out # Decode file using mp4 options
out $ fq -d mp4 -o allow_truncated=false -o decode_samples=true . file
out # Decode value as mp4
out ... | mp4({allow_truncated:false,decode_samples:true})
out References and links
out ISO/IEC base media file format (MPEG-4 Part 12) https://en.wikipedia.org/wiki/ISO/IEC_base_media_file_format
out Quicktime file format https://developer.apple.com/standards/qtff-2001.pdf
"help(mpeg_asc)"
out mpeg_asc: MPEG-4 Audio Specific Config decoder
out Examples:
out # Decode file as mpeg_asc
out $ fq -d mpeg_asc . file
out # Decode value as mpeg_asc
out ... | mpeg_asc
"help(mpeg_es)"
out mpeg_es: MPEG Elementary Stream decoder
out Examples:
out # Decode file as mpeg_es
out $ fq -d mpeg_es . file
out # Decode value as mpeg_es
out ... | mpeg_es
"help(mpeg_pes)"
out mpeg_pes: MPEG Packetized elementary stream decoder
out Examples:
out # Decode file as mpeg_pes
out $ fq -d mpeg_pes . file
out # Decode value as mpeg_pes
out ... | mpeg_pes
"help(mpeg_pes_packet)"
out mpeg_pes_packet: MPEG Packetized elementary stream packet decoder
out Examples:
out # Decode file as mpeg_pes_packet
out $ fq -d mpeg_pes_packet . file
out # Decode value as mpeg_pes_packet
out ... | mpeg_pes_packet
"help(mpeg_spu)"
out mpeg_spu: Sub Picture Unit (DVD subtitle) decoder
out Examples:
out # Decode file as mpeg_spu
out $ fq -d mpeg_spu . file
out # Decode value as mpeg_spu
out ... | mpeg_spu
"help(mpeg_ts)"
out mpeg_ts: MPEG Transport Stream decoder
out Examples:
out # Decode file as mpeg_ts
out $ fq -d mpeg_ts . file
out # Decode value as mpeg_ts
out ... | mpeg_ts
"help(msgpack)"
out msgpack: MessagePack decoder
out Examples:
out # Decode file as msgpack
out $ fq -d msgpack . file
out # Decode value as msgpack
out ... | msgpack
out # Supports torepr
out $ fq -d msgpack torepr file
out # Supports torepr
out ... | msgpack | torepr
out References and links
out https://github.com/msgpack/msgpack/blob/master/spec.md
"help(ogg)"
out ogg: OGG file decoder
out Examples:
out # Decode file as ogg
out $ fq -d ogg . file
out # Decode value as ogg
out ... | ogg
"help(ogg_page)"
out ogg_page: OGG page decoder
out Examples:
out # Decode file as ogg_page
out $ fq -d ogg_page . file
out # Decode value as ogg_page
out ... | ogg_page
"help(opus_packet)"
out opus_packet: Opus packet decoder
out Examples:
out # Decode file as opus_packet
out $ fq -d opus_packet . file
out # Decode value as opus_packet
out ... | opus_packet
"help(pcap)"
out pcap: PCAP packet capture decoder
out Examples:
out # Decode file as pcap
out $ fq -d pcap . file
out # Decode value as pcap
out ... | pcap
"help(pcapng)"
out pcapng: PCAPNG packet capture decoder
out Examples:
out # Decode file as pcapng
out $ fq -d pcapng . file
out # Decode value as pcapng
out ... | pcapng
"help(png)"
out png: Portable Network Graphics file decoder
out Examples:
out # Decode file as png
out $ fq -d png . file
out # Decode value as png
out ... | png
"help(protobuf)"
out protobuf: Protobuf decoder
out Examples:
out # Can be used to decode sub messages
out $ fq -d protobuf '.fields[6].wire_value | protobuf | d'
out # Decode file as protobuf
out $ fq -d protobuf . file
out # Decode value as protobuf
out ... | protobuf
out References and links
out https://developers.google.com/protocol-buffers/docs/encoding
"help(protobuf_widevine)"
out protobuf_widevine: Widevine protobuf decoder
out Examples:
out # Decode file as protobuf_widevine
out $ fq -d protobuf_widevine . file
out # Decode value as protobuf_widevine
out ... | protobuf_widevine
"help(pssh_playready)"
out pssh_playready: PlayReady PSSH decoder
out Examples:
out # Decode file as pssh_playready
out $ fq -d pssh_playready . file
out # Decode value as pssh_playready
out ... | pssh_playready
"help(raw)"
out raw: Raw bits decoder
out Examples:
out # Decode file as raw
out $ fq -d raw . file
out # Decode value as raw
out ... | raw
"help(rtmp)"
out rtmp: Real-Time Messaging Protocol decoder
out Current only supports plain RTMP (not RTMPT or encrypted variants etc) with AMF0 (not AMF3).
out Examples:
out # Decode file as rtmp
out $ fq -d rtmp . file
out # Decode value as rtmp
out ... | rtmp
out References and links
out https://rtmp.veriskope.com/docs/spec/
out https://rtmp.veriskope.com/pdf/video_file_format_spec_v10.pdf
"help(sll2_packet)"
out sll2_packet: Linux cooked capture encapsulation v2 decoder
out Examples:
out # Decode file as sll2_packet
out $ fq -d sll2_packet . file
out # Decode value as sll2_packet
out ... | sll2_packet
"help(sll_packet)"
out sll_packet: Linux cooked capture encapsulation decoder
out Examples:
out # Decode file as sll_packet
out $ fq -d sll_packet . file
out # Decode value as sll_packet
out ... | sll_packet
"help(tar)"
out tar: Tar archive decoder
out Examples:
out # Decode file as tar
out $ fq -d tar . file
out # Decode value as tar
out ... | tar
"help(tcp_segment)"
out tcp_segment: Transmission control protocol segment decoder
out Examples:
out # Decode file as tcp_segment
out $ fq -d tcp_segment . file
out # Decode value as tcp_segment
out ... | tcp_segment
"help(tiff)"
out tiff: Tag Image File Format decoder
out Examples:
out # Decode file as tiff
out $ fq -d tiff . file
out # Decode value as tiff
out ... | tiff
"help(udp_datagram)"
out udp_datagram: User datagram protocol decoder
out Examples:
out # Decode file as udp_datagram
out $ fq -d udp_datagram . file
out # Decode value as udp_datagram
out ... | udp_datagram
"help(vorbis_comment)"
out vorbis_comment: Vorbis comment decoder
out Examples:
out # Decode file as vorbis_comment
out $ fq -d vorbis_comment . file
out # Decode value as vorbis_comment
out ... | vorbis_comment
"help(vorbis_packet)"
out vorbis_packet: Vorbis packet decoder
out Examples:
out # Decode file as vorbis_packet
out $ fq -d vorbis_packet . file
out # Decode value as vorbis_packet
out ... | vorbis_packet
"help(vp8_frame)"
out vp8_frame: VP8 frame decoder
out Examples:
out # Decode file as vp8_frame
out $ fq -d vp8_frame . file
out # Decode value as vp8_frame
out ... | vp8_frame
"help(vp9_cfm)"
out vp9_cfm: VP9 Codec Feature Metadata decoder
out Examples:
out # Decode file as vp9_cfm
out $ fq -d vp9_cfm . file
out # Decode value as vp9_cfm
out ... | vp9_cfm
"help(vp9_frame)"
out vp9_frame: VP9 frame decoder
out Examples:
out # Decode file as vp9_frame
out $ fq -d vp9_frame . file
out # Decode value as vp9_frame
out ... | vp9_frame
"help(vpx_ccr)"
out vpx_ccr: VPX Codec Configuration Record decoder
out Examples:
out # Decode file as vpx_ccr
out $ fq -d vpx_ccr . file
out # Decode value as vpx_ccr
out ... | vpx_ccr
"help(wav)"
out wav: WAV file decoder
out Examples:
out # Decode file as wav
out $ fq -d wav . file
out # Decode value as wav
out ... | wav
"help(webp)"
out webp: WebP image decoder
out Examples:
out # Decode file as webp
out $ fq -d webp . file
out # Decode value as webp
out ... | webp
"help(xing)"
out xing: Xing header decoder
out Examples:
out # Decode file as xing
out $ fq -d xing . file
out # Decode value as xing
out ... | xing
"help(zip)"
out zip: ZIP archive decoder
out Supports ZIP64.
out Options:
out uncompress=true Uncompress and probe files
out Examples:
out # Decode file as zip
out $ fq -d zip . file
out # Decode value as zip
out ... | zip
out # Decode file using zip options
out $ fq -d zip -o uncompress=true . file
out # Decode value as zip
out ... | zip({uncompress:true})
out References and links
out https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT