mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-20 01:50:24 -05:00
Support for timetamp subtitles.
I tested these in VLC and QuickTime. Both players appear to ignore the as the track dimensions, track transformation matrix, box dimensions, and box justification. I just left them at default values then. Automated testing is minimal. There's a new test that the resulting .mp4 parses, but I didn't actually ensure correctness of the subtitles in any way.
This commit is contained in:
@@ -148,6 +148,8 @@ Expected query parameters:
|
||||
|
||||
* `start\_time\_90k`
|
||||
* `end\_time\_90k`
|
||||
* `ts`: should be set to `true` to request a subtitle track be added with
|
||||
human-readable recording timestamps.
|
||||
* TODO(slamb): possibly `overlap` to indicate what to do about segments of
|
||||
recording with overlapping wall times. Values might include:
|
||||
* `error` (return an HTTP error)
|
||||
|
||||
Reference in New Issue
Block a user