ElementalAlchemist
aedd51e5f8
Fix small gaps in the background
3 months ago
ElementalAlchemist
f6f42fbb45
Minor cleanup of the standard mode
3 months ago
ElementalAlchemist
96a71c3519
Add point progress mode
...
Adds a new mode that makes the full width be exactly one point, and the bus drives across the canvas.
This also resizes the canvas to the requested size (1580x62).
3 months ago
ElementalAlchemist
5410b5c1fe
Shorten refresh interval to 2.5 seconds
3 months ago
ElementalAlchemist
8b7b87d450
Fix bus stops disappearing early
...
The existing code tried to avoid infinite loops due to floating point math. It turns out the +1 was overzealous and caused bus stop signs to disappear before expected at high scale numbers.
3 months ago
ElementalAlchemist
ee5a36f425
Default to filling the canvas with the key-out color
3 months ago
ElementalAlchemist
58f3b867f7
Better align bus stop signs with the front of the bus
3 months ago
ElementalAlchemist
f678556ff5
Show icons for points we've driven past
3 months ago
ElementalAlchemist
95c0a86da0
Constantize the canvas width in case we want it widened in the future
3 months ago
ElementalAlchemist
4098619de9
Add key-out color on the ground
3 months ago
ElementalAlchemist
c3bde04f3c
Implement scaling
3 months ago
ElementalAlchemist
b5a62e5a88
Implement canvas-based bus system
3 months ago
Mike Lang
61d6df5d1f
drive clock: Avoid using "sky" tag ids as uBO blocks them
3 months ago
Mike Lang
c54ed3455c
driveclock: Run initial update immediately
3 months ago
Mike Lang
91bce47be1
Add driveclock to thrimbletrimmer
3 months ago
Mike Lang
a819f02601
thrimbletrimmer: Explicit button to reset crop settings to defaults
...
instead of on switch of template, which didn't work properly anyway.
3 months ago
Mike Lang
b7c78568b1
thrimbletrimmer: default to locked aspect ratio
3 months ago
Mike Lang
6c97654da3
thrimbletrimmer: Don't listen for loadedmetadata in two places
...
The first place never fires, the second one replaces it I think.
3 months ago
ElementalAlchemist
90696bbeda
Upgrade Hls.js
3 months ago
Mike Lang
5b62e3a2ff
fix bug where oneoff templates are uploaded without a frame
3 months ago
Mike Lang
3d22afbf0d
thrimbletrimmer: Load uploaded template in crop tool when type = ONEOFF
3 months ago
ElementalAlchemist
3d4c63a697
Fix uploading a new thumbnail image when updating a thumbnail
3 months ago
ElementalAlchemist
0d35e95dc7
Format Thrimbletrimmer files
...
I forgot to run prettier before my last PR.
3 months ago
ElementalAlchemist
f4d303147d
Allow editing thumbnail data
3 months ago
ElementalAlchemist
9435dc8575
Set default crop values
...
These values were empirically determined to be good from previous thumbnail templates.
3 months ago
ElementalAlchemist
ef061b6768
Pass the auth token when submitting thumbnails
3 months ago
ElementalAlchemist
fc82b2b17f
Run Prettier on other Thrimbletrimmer files
...
It had not been run in previous PRs
3 months ago
ElementalAlchemist
c8899f5133
Implement thumbnail manager
...
This implements a frontend for submitting new thumbnails and viewing existing thumbnail data.
3 months ago
ElementalAlchemist
6290850ff0
Add jcrop to the prettier ignore file
3 months ago
Christopher Usher
5bd8fbd65f
Static content for creating a template
3 months ago
Dan Collins
3c746e569e
Match aspect ratio from frame to template or vice versa, or lock
...
template to frame
3 months ago
Dan Collins
33f3b0e0c8
Attach validation to the first chapter marker description field
3 months ago
Dan Collins
94aefc46fc
Scale thumbnail pixel coordinates for a 1920x1080 video frame in a 1280x720 template
3 months ago
Dan Collins
952d760f8d
Remove the :focus CSS rule, it obstructed the image making precise positioning difficult.
3 months ago
Dan Collins
c3cb931e3e
Download jcrop, fix newlines, use let instead of var
3 months ago
Dan Collins
1c5d37cc04
Thrimbletrimmer: Add JS cropping tool to advanced template options
3 months ago
Mike Lang
2391a73ced
thrimletrimmer: Support one-off overlays for thumbnails
...
By picking the "one-off overlay" option for a thumbnail, you swap specifying a template name
for being able to upload a one-off template that is then combined with the requested frame.
The rendering is done by restreamer, and we do it explicitly whenever
a) Generate Thumbnail Preview is pressed
b) The video is submitted
The rendered thumbnail is then included in the submission as a "custom" thumbnail.
The default thumbnail template params (crop and location) do not change
when this mode is selected, so they'll effectively be the default params of the previously-selected
template. In most cases this will be what you want since almost all our templates share the same
params, and custom one-offs will too.
3 months ago
Mike Lang
751271d3c1
thrimbletrimmer: Replace ad-hoc query string building with URLSearchParams
...
This handles edge cases like special characters properly, and is easier/more readable.
3 months ago
Mike Lang
f46481af0c
thrimbletrimmer: Add support for advanced crop options
...
- On load + change of template, set from template defaults
- On load, set from video if not null
- Show only in template mode
- Use when previewing image
- Send when submitting
3 months ago
Mike Lang
20ad8d3ec9
thrimbletrimmer: Use new API for listing thumbnails
...
This is just the minimum-effort way to keep thrimbletrimmer working with the new API.
More thrimbletrimmer changes to come later.
3 months ago
Mike Lang
1915d98143
thrimbletrimmer: Split error path for submission into a function
...
and use it correctly when erroring in transition code
4 months ago
Mike Lang
ca60852b3d
thrimbletrimmer: Add transitions to download URL
4 months ago
Mike Lang
8c6141b5ca
thrimbletrimmer: Correct video time conversions due to overlap from transitions
4 months ago
Mike Lang
c96c7cedd6
thrimbletrimmer: add transitions when submitting
4 months ago
Mike Lang
54695bcad4
thrimbletrimmer: Set existing transition info when loading a video
4 months ago
Mike Lang
72110821d5
thrimbletrimmer: Show/hide transition duration if "cut" is selected
4 months ago
Mike Lang
5d09115a8a
thrimbletrimmer: Load transition types from thrimshim and populate dropdown
4 months ago
Mike Lang
87d4520e61
thrimbletrimmer: Add new DOM elements for specifying transitions
...
Expects a "transitions" list on the video info that currently isn't there.
Not actually used anywhere yet.
4 months ago
Mike Lang
23e64116bd
thrimbletrimmer: Add some helpers for creating elements
...
No functional changes intended.
4 months ago
Mike Lang
a34af372d0
thrimbletrimmer: Validate chapter titles are ascii only
...
We are not sure what characters are allowed in chapter titles.
Emoji seem to be disallowed. It is unknown whether things like accents or smart quotes are allowed.
To be conservative, we warn if there are any non-ascii characters in the chapter title.
10 months ago