1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 22:05:31 +03:00
fq/format/ogg/testdata/page.fqtest
2021-09-12 13:08:49 +02:00

23 lines
2.1 KiB
Plaintext

# ffmpeg -f lavfi -i sine -t 10ms -f ogg pipe:1 | fq - '.page[0] | bits' > page
/page:
$ fq -d ogg_page verbose /page
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| |.: {} /page (ogg_page) 0x0-0x39.7 (58)
0x00|4f 67 67 53 |OggS | capture_pattern: "OggS" (Correct) 0x0-0x3.7 (4)
0x00| 00 | . | stream_structure_version: Correct (0x0) 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 | ........ | absolute_granule_position: 0 0x6-0xd.7 (8)
0x00| 80 3c| .<| stream_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 | ...& | page_checksum: Correct (26a00b8e) 0x16-0x19.7 (4)
0x10| 01 | . | page_segments: 1 0x1a-0x1a.7 (1)
| | | segment_table: [1] 0x1b-0x1b.7 (1)
0x10| 1e | . | [0]: segment_size 30 0x1b-0x1b.7 (1)
| | | segments: [1] 0x1c-0x39.7 (30)
0x10| 01 76 6f 72| .vor| [0]: segment 01766f72626973000000000144ac0000... 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........| |