Commit Graph

1568 Commits (c54bd3c63f502be3211feddfadbc735836f25a95)
 

Author SHA1 Message Date
Dan Collins 94aefc46fc Scale thumbnail pixel coordinates for a 1920x1080 video frame in a 1280x720 template 1 month ago
Mike Lang 39c7215910 No longer resize frames to template size before cropping
This was originally done to ensure the crop settings worked no matter what the source resolution was,
but in practice the source resolution is stable (1080p) and the double-resize loses a lot of quality
if you actually want to scale *up* the cropped image.
1 month ago
Dan Collins 952d760f8d Remove the :focus CSS rule, it obstructed the image making precise positioning difficult. 1 month ago
Dan Collins c3cb931e3e Download jcrop, fix newlines, use let instead of var 1 month ago
Dan Collins 1c5d37cc04 Thrimbletrimmer: Add JS cropping tool to advanced template options 1 month ago
Mike Lang b866b5d21c playlist manager: run more often 1 month ago
Mike Lang 9ad0f5f512 Pass db connect to restreamer 1 month ago
Christopher Usher a33b27dea3 Fixed error in thumbnail generation logging 1 month ago
Christopher Usher 8020df8e60 Logging for thumbnail template management 1 month 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.
1 month ago
Mike Lang 867ec8411b restreamer: Make get_thumbnail_uploaded_template() work 1 month 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.
1 month 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
1 month ago
Mike Lang d4d2bbcad4 thrimshim: Fix accepting thumbnail crop/location on submit 1 month ago
Mike Lang 8abc7c39a3 restreamer: Parse crop/location correctly and document it 1 month ago
Mike Lang 2255bc7fc0 sheetsync: Add column to tags sheet 1 month ago
Mike Lang f4dc0ea7f1 thrimshim: Fix auth query again, hopefully properly this time 1 month ago
Mike Lang 48c91b7828 docker-compose: Set buscribe tag seperately
It's big and slow and most of the time doesn't need updating.
1 month ago
Mike Lang 4cd0ef1327 schedulebot: Take creds as a file
Avoids needing to put the creds in docker-compose.jsonnet.
The existing "import" trick didn't work due to the way we run jsonnet in docker.
1 month ago
Mike Lang e00e716927 schema: Require role.email always be lowercase
Otherwise it will silently fail to match in the application.
1 month ago
Mike Lang 696d1c8baa Fix typo in thrimshim auth SQL 1 month ago
Mike Lang 8533c01d7f docker-compose changes for passing schedule sheet to schedulebot 1 month ago
Thomas Chick 3cbd44bd17 Switch squeezeh and squeezev descriptions.
My bad, had the videos in front of me and still stuffed it. `squeezeh` squeezes the video to *become* horizontal, not horizontally. Ditto `squeezev`.
1 month ago
Mike Lang a4b5663468 restreamer: Add OS-level dependencies for psycopg2 1 month ago
Mike Lang 87b294f394 restreamer: Add missing psycopg2 dependency 1 month ago
Mike Lang a65cc6dcfe schema: Fix check constraints on template crop/location 1 month ago
Mike Lang befe9448cb Fix trailing comma in schema 1 month ago
Mike Lang a16c78f52f update github actions to auto-build new images
because of course it doesn't just automatically pick them up, gotta have duplicated hard-coded lists everywhere

god i hate github actions
1 month ago
Mike Lang 0dfc8ea127 bus_analyzer: fix docker-compose 1 month ago
Mike Lang 0e229dc80b lower backfill_max_hours_ago so we aren't backfilling 6 months of chat logs 1 month ago
Thomas Chick 0dfffc19c2 Document remaining transitions, deprecate fadefast and fadeslow.
It turns out that `fadefast` and `fadeslow` both take about twice as long as `fade` to do a job so similar there's no good reason to keep either in our accepted transitions list, especially when the former is so misleadingly named. (Amusingly, in my testing, `fadefast` was actually the slower of the two.)
1 month 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.
1 month ago
Christopher Usher e0fc1eaf08 Refactor get_thumbnail and other fixes and improvments 1 month ago
Christopher Usher f814945dbd Updating thumbnail generation to use database for templates and allow crop and
location to be varied
1 month ago
Christopher Usher 70c8afe779 Switching thrimshim over to store thumbnail templates in the database 1 month ago
Christopher Usher 33f75efc19 Updatea thrimshim authentication to use roles table 1 month ago
Christopher Usher 4c4e1fa85f convert editors table to roles table 1 month ago
Mike Lang 0f7b181be1 Create buscribe database during setup 1 month ago
Mike Lang 9c6340a5e0 nginx: buscribe_api, like thrimshim, should be forwarded to 1 month ago
Mike Lang 1e7e400096 docker-compose: Pass correct database args for buscribe 1 month ago
Mike Lang dde7696877 buscribe: Work with no end time 1 month ago
Mike Lang ff8475dc48 Disable type registration when buscribe connects to the DB
Because those types don't exist in the buscribe DB.
1 month ago
Mike Lang b16ceef96a rename buscribe-api to buscribe_api
to match other services that use _ instead of -
1 month ago
Mike Lang 834d27c17d Add buscribe to docker-compose 1 month ago
Mike Lang 005ff9dac7 buscribe: Do database schema and user setup 1 month ago
Mike Lang 5f3a02fd14 buscribe-remainder: delete things we've already handled/don't need 1 month ago
Mike Lang d5caace905 Move buscribe/buscribe to buscribe/ and everything else to buscribe-remainder/
And make buscribe buildable using ./build
1 month ago
Mike Lang bcf585776e buscribe: Download models as part of build process 1 month ago
Mike Lang ee5e23b2bb Delete buscribe professor
The professor system for annotating the data was never fully finished and isn't needed
for our purposes. We can always resurrect it later, but for now it's easier to just get rid of it.
1 month ago
Mike Lang 510af15418 Serve buscribe-web out of the main nginx container, like thrimbletrimmer
This involves, as part of the nginx build process, having a build container that runs less
in order to render the css before copying it over.
1 month ago