Cameron
3ce1b84604
Sort on recursive search
...
Run clippy
2024-12-06 11:21:42 -05:00
Cameron
787d1fd5d0
Fix recursive search at the root, cleanup video generation return
2024-12-06 09:47:21 -05:00
Cameron
8bc9c5585e
log ffmpeg output and cleanup video creation
2024-12-05 20:47:51 -05:00
Cameron
0419aa2323
Scan and generate Video HLS playlists on startup
...
Refactored and improved video path state. Bumped versions of some dependencies.
2024-12-05 20:19:03 -05:00
Cameron Cordes
69fe307516
Update to Actix 4
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
2022-03-01 20:38:41 -05:00
Cameron Cordes
1b2aad0f08
Revert back to actix 0.10
...
Core Repos/ImageApi/pipeline/head Something is wrong with the build of this commit
Core Repos/ImageApi/pipeline/pr-master This commit looks good
Until Actix Web 4, we need to use an older version of actix so that the
runtime's match up to version 1.
2021-03-29 14:59:42 -04:00
Cameron Cordes
7474c4d310
Update dependencies
...
Core Repos/ImageApi/pipeline/head Something is wrong with the build of this commit
Core Repos/ImageApi/pipeline/pr-master This commit looks good
Update dependencies and remove some features from the image crate that
are unused.
2021-03-27 17:25:52 -04:00
Cameron Cordes
1c7e54d355
Make playlist generation async
...
This should allow other requests to be answered while we wait for ffmpeg
to do its thing.
2021-02-27 11:53:29 -05:00
Cameron Cordes
f9983240df
Use log crate for logging instead of println
Core Repos/ImageApi/pipeline/head This commit looks good
Core Repos/ImageApi/pipeline/pr-master This commit looks good
2021-02-24 21:26:11 -05:00
Cameron Cordes
11d1e9600a
Use an Actor for the Stream watching
Core Repos/ImageApi/pipeline/pr-master This commit looks good
2021-02-11 20:39:07 -05:00
Cameron Cordes
b595bdd642
Add VideoStreamManager for keeping track of active streams
...
The stream manager should help prevent zombie processes and can later be
used for stopping video streams if the user exits the video before
finishing for example.
2021-02-09 21:30:27 -05:00
Cameron Cordes
e4c23c0fe5
Improve video streaming speed
...
Core Repos/ImageApi/pipeline/head This commit looks good
Instead of waiting for an entire video to stream, we spawn a child
ffmpeg process to start generating the HLS playlist, and once it creates
the first part of the playlist we return the response so the client can
start streaming almost immediately. HTTP Live streaming can handle
playlist updates after the initial playlist is created, although I don't
think the user can skip to the end and skip streaming parts of the
video.
2021-02-08 19:46:38 -05:00
Cameron Cordes
7dbd93cedc
Generate mp4 thumbnails
2020-07-16 21:24:10 -04:00
Cameron Cordes
7d369aab5c
Generate thumbnails before API starts up
...
Clients can now request a thumbnail by specifying a size on the image
request.
2020-07-15 12:06:50 -04:00
Cameron Cordes
ca761f605b
Check and use correct paths for generating HLS playlist
...
This also should prevent generating the playlist if it already exists
and uses a better ffmpeg command for transcoding the video.
2020-07-14 15:45:10 -04:00
Cameron Cordes
c39bf970be
Generating a HLS playlist through ffmpeg
...
I might be able to streamline the requests to cut down on the endpoints.
This also will likely take some time if the file is large and could time
out, that may be a concern for another day.
2020-07-13 22:39:00 -04:00