mirror of
https://github.com/wader/fq.git
synced 2024-12-23 21:31:33 +03:00
377af133e0
Make cwd for a test script the directory where the script is. Use relative paths
22 lines
2.0 KiB
Plaintext
22 lines
2.0 KiB
Plaintext
# ffmpeg -f lavfi -i sine -t 10ms -f ogg pipe:1 | fq - '.page[0] | tobits' > page
|
|
$ fq -d ogg_page dv page
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: page (ogg_page) 0x0-0x39.7 (58)
|
|
0x00|4f 67 67 53 |OggS | capture_pattern: "OggS" (valid) 0x0-0x3.7 (4)
|
|
0x00| 00 | . | version: 0 (valid) 0x4-0x4.7 (1)
|
|
0x00| 02 | . | unused_flags: 0 0x5-0x5.4 (0.5)
|
|
0x00| 02 | . | last_page: false 0x5.5-0x5.5 (0.1)
|
|
0x00| 02 | . | first_page: true 0x5.6-0x5.6 (0.1)
|
|
0x00| 02 | . | continued_packet: false 0x5.7-0x5.7 (0.1)
|
|
0x00| 00 00 00 00 00 00 00 00 | ........ | granule_position: 0 0x6-0xd.7 (8)
|
|
0x00| 80 3c| .<| bitstream_serial_number: 3738778752 0xe-0x11.7 (4)
|
|
0x10|d9 de |.. |
|
|
0x10| 00 00 00 00 | .... | page_sequence_no: 0 0x12-0x15.7 (4)
|
|
0x10| 8e 0b a0 26 | ...& | crc: 0x26a00b8e (valid) 0x16-0x19.7 (4)
|
|
0x10| 01 | . | page_segments: 1 0x1a-0x1a.7 (1)
|
|
| | | segment_table[0:1]: 0x1b-0x1b.7 (1)
|
|
0x10| 1e | . | [0]: 30 segment_size 0x1b-0x1b.7 (1)
|
|
| | | segments[0:1]: 0x1c-0x39.7 (30)
|
|
0x10| 01 76 6f 72| .vor| [0]: raw bits segment 0x1c-0x39.7 (30)
|
|
0x20|62 69 73 00 00 00 00 01 44 ac 00 00 00 00 00 00|bis.....D.......|
|
|
0x30|80 38 01 00 00 00 00 00 b8 01| |.8........| |
|