Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for saving video files to object storage (#4290) | Jelle Besseling | 2021-08-17 | 2 | -38/+113 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com> | ||||
* | Improve target bitrate calculation | Chocobozzz | 2021-08-06 | 2 | -18/+12 |
| | |||||
* | Use random names for VOD HLS playlists | Chocobozzz | 2021-07-26 | 3 | -11/+44 |
| | |||||
* | Reorganize imports | Chocobozzz | 2021-07-20 | 6 | -10/+8 |
| | |||||
* | Refactor requests | Chocobozzz | 2021-07-20 | 2 | -4/+4 |
| | |||||
* | Centralize test URLs | Chocobozzz | 2021-07-20 | 1 | -4/+4 |
| | |||||
* | Use an object to represent a server | Chocobozzz | 2021-07-20 | 9 | -46/+44 |
| | |||||
* | Shorter server command names | Chocobozzz | 2021-07-20 | 9 | -98/+98 |
| | |||||
* | Introduce videos command | Chocobozzz | 2021-07-20 | 7 | -167/+116 |
| | |||||
* | Introduce user command | Chocobozzz | 2021-07-20 | 4 | -11/+7 |
| | |||||
* | Introduce login command | Chocobozzz | 2021-07-20 | 2 | -13/+3 |
| | |||||
* | Introduce server commands | Chocobozzz | 2021-07-20 | 3 | -21/+18 |
| | |||||
* | Introduce sql command | Chocobozzz | 2021-07-20 | 3 | -4/+4 |
| | |||||
* | Fix CLI tools | Chocobozzz | 2021-07-20 | 2 | -2/+10 |
| | |||||
* | Introduce comments command | Chocobozzz | 2021-07-20 | 1 | -2/+1 |
| | |||||
* | Introduce channels command | Chocobozzz | 2021-07-20 | 2 | -9/+6 |
| | |||||
* | Introduce import command | Chocobozzz | 2021-07-20 | 1 | -3/+4 |
| | |||||
* | Introduce playlist command | Chocobozzz | 2021-07-20 | 1 | -5/+2 |
| | |||||
* | Introduce accounts command | Chocobozzz | 2021-07-20 | 2 | -20/+15 |
| | |||||
* | Introduce config command | Chocobozzz | 2021-07-20 | 2 | -9/+4 |
| | |||||
* | Introduce plugins command | Chocobozzz | 2021-07-20 | 1 | -2/+2 |
| | |||||
* | Introduce CLI command | Chocobozzz | 2021-07-20 | 10 | -119/+62 |
| | |||||
* | Support short uuid for GET video/playlist | Chocobozzz | 2021-06-29 | 1 | -15/+15 |
| | |||||
* | Fix prune storage tests | Chocobozzz | 2021-06-17 | 1 | -0/+4 |
| | |||||
* | Fix print transcode command script | Chocobozzz | 2021-04-09 | 1 | -1/+2 |
| | |||||
* | Update data in DB when regenerate thumbnails | Chocobozzz | 2021-04-08 | 1 | -9/+23 |
| | |||||
* | Fix static ffmpeg version check | Chocobozzz | 2021-04-08 | 1 | -2/+2 |
| | |||||
* | Add regenrate thumbnails scripts | Chocobozzz | 2021-03-24 | 2 | -0/+111 |
| | |||||
* | Add video files migration | Chocobozzz | 2021-02-18 | 1 | -1/+1 |
| | |||||
* | Dissociate video file names and video uuid | Chocobozzz | 2021-02-18 | 1 | -14/+2 |
| | |||||
* | add support for 1440p (Quad HD/QHD/WQHD) videos | Rigel Kent | 2021-01-13 | 1 | -0/+1 |
| | |||||
* | add test for script printing command | Rigel Kent | 2021-01-13 | 2 | -0/+37 |
| | |||||
* | (#3520) [cli] Hardened `auth add`: No longer fails with extraneous characters. | Theodore R. Smith | 2020-12-27 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | **The Solution:** I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL. **The Problem:** When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port. For instance, if there was a trailing / in your instance URL, before this commit it will always fail with expected 200 "OK", got 404 "Not Found". It took me over 20 minutes to figure out that this was the problem. See Issue #3091. | ||||
* | emit more specific status codes on video upload (#3423) | Rigel Kent | 2020-12-08 | 1 | -1/+2 |
| | | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses | ||||
* | replace numbers with typed http status codes (#3409) | Rigel Kent | 2020-12-07 | 1 | -2/+3 |
| | |||||
* | Add registered setting CLI plugin install test | Chocobozzz | 2020-11-27 | 1 | -0/+5 |
| | |||||
* | Add live transcoding bit rate tests | Chocobozzz | 2020-11-25 | 2 | -9/+9 |
| | |||||
* | Split ffmpeg utils with ffprobe utils | Chocobozzz | 2020-11-25 | 1 | -3/+3 |
| | |||||
* | Disable HTTP import in push actions | Chocobozzz | 2020-11-17 | 1 | -1/+8 |
| | |||||
* | Update server dependencies | Chocobozzz | 2020-06-17 | 1 | -8/+2 |
| | |||||
* | Update dependencies | Chocobozzz | 2020-02-28 | 1 | -1/+1 |
| | |||||
* | Move to eslintcontain | Chocobozzz | 2020-02-03 | 7 | -31/+36 |
| | |||||
* | Add redundancy CLI doc | Chocobozzz | 2020-01-28 | 1 | -0/+6 |
| | |||||
* | Add redundancy CLI | Chocobozzz | 2020-01-28 | 1 | -3/+72 |
| | |||||
* | Add missing hotkeys to the watch page | Chocobozzz | 2019-12-06 | 1 | -2/+2 |
| | |||||
* | Add ability to generate HLS in CLI | Chocobozzz | 2019-11-25 | 1 | -17/+116 |
| | |||||
* | Don't always replace actor avatar | Chocobozzz | 2019-11-25 | 1 | -4/+12 |
| | |||||
* | Add ability to disable webtorrent | Chocobozzz | 2019-11-25 | 1 | -3/+2 |
| | | | | In favour of HLS | ||||
* | Add avatar to prune script | Chocobozzz | 2019-08-09 | 2 | -0/+200 |
| | |||||
* | Correctly notify on auto blacklist | Chocobozzz | 2019-07-24 | 1 | -1/+1 |
| |