2021-08-28 16:22:21 +03:00
|
|
|
# ffmpeg -f lavfi -i sine -t 10ms -f ogg pipe:1 | fq - '.page[0] | tobits' > page
|
2022-05-21 20:33:52 +03:00
|
|
|
$ 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)
|
2021-11-05 17:04:26 +03:00
|
|
|
0x00|4f 67 67 53 |OggS | capture_pattern: "OggS" (valid) 0x0-0x3.7 (4)
|
2021-11-24 13:15:42 +03:00
|
|
|
0x00| 00 | . | version: 0 (valid) 0x4-0x4.7 (1)
|
2020-06-08 03:29:51 +03:00
|
|
|
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)
|
2021-11-24 13:15:42 +03:00
|
|
|
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)
|
2020-06-08 03:29:51 +03:00
|
|
|
0x10|d9 de |.. |
|
|
|
|
0x10| 00 00 00 00 | .... | page_sequence_no: 0 0x12-0x15.7 (4)
|
2021-11-24 13:15:42 +03:00
|
|
|
0x10| 8e 0b a0 26 | ...& | crc: 0x26a00b8e (valid) 0x16-0x19.7 (4)
|
2020-06-08 03:29:51 +03:00
|
|
|
0x10| 01 | . | page_segments: 1 0x1a-0x1a.7 (1)
|
2021-12-08 18:20:37 +03:00
|
|
|
| | | 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)
|
2020-06-08 03:29:51 +03:00
|
|
|
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........| |
|