Two segments of 240 frames of a 900-frame source at `rate`: its frames 240..480, then 600..840
(rate: (u64, u64), out_ticks: i128)
| 1538 | |
| 1539 | /// Two segments of 240 frames of a 900-frame source at `rate`: its frames 240..480, then 600..840 |
| 1540 | fn document(rate: (u64, u64), out_ticks: i128) -> Value { |
| 1541 | json!({"version": 1, "tool": "test", |
| 1542 | "sources": [{"name": "C0538.MP4", "size": 469906891, "frames": 900, "fps": [rate.0, rate.1], |
| 1543 | "creation_time": "2024-11-17T13:12:46Z", "clock": null, "sony_ibis_template": {"ibis": [0, 1000], "ois": [500]}}], |
| 1544 | "segments": [segment(240, 240, 0, rate, out_ticks), segment(600, 240, 240, rate, out_ticks)]}) |
| 1545 | } |
| 1546 | |
| 1547 | fn text(doc: &Value) -> Vec<u8> { serde_json::to_vec(doc).unwrap() } |
| 1548 |
no outgoing calls