edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiBfbc29d1Tahinli2 months ago972 commits
| 1 | //! Where a seek actually lands, in *content*: seeks a file to `start` and |
| 2 | //! writes the next `dur` seconds of the mixer's own samples as raw f32, for |
| 3 | //! correlating against an ffmpeg decode of the same window. |
| 4 | //! |
| 5 | //! `cargo run --release -p engine --example seek_dump -- <file> <start_secs> <dur_secs> <out.f32>` |
| 6 | //! |
| 7 | //! Its reason to exist is the same as `probe_fps`'s: the files this has to be |
| 8 | //! measured on are films, too big to keep as fixtures, and "the sound is out of |
| 9 | //! step after a scrub" is a number -- the offset between what came out here and |
| 10 | //! what ffmpeg decodes at the same second -- long before it is an opinion. |
| 11 | |
| 12 | use Write; |
| 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 |