aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
Commit message (Collapse)AuthorAgeFilesLines
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-173-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 calculationChocobozzz2021-08-062-92/+13
|
* Limit live bitrateChocobozzz2021-08-061-0/+1
|
* Cleanup shared models importsChocobozzz2021-07-281-1/+1
|
* Introduce videos commandChocobozzz2021-07-201-0/+1
|
* Introduce comments commandChocobozzz2021-07-203-4/+7
|
* Introduce channels commandChocobozzz2021-07-202-0/+4
|
* Introduce playlist commandChocobozzz2021-07-202-0/+4
|
* Support short uuid for GET video/playlistChocobozzz2021-06-296-0/+16
|
* Add ability to search playlistsChocobozzz2021-06-251-0/+4
|
* Cleanup shared modelsChocobozzz2021-05-119-12/+12
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-0/+3
|
* Add ability for plugins to specify scale filterChocobozzz2021-04-091-1/+4
|
* add option for transcode plugins to add video filters and make all options ↵Théo Le Calvar2021-04-091-2/+3
| | | | optional
* add support for inputOptions in trancode pluginsThéo Le Calvar2021-04-091-0/+1
|
* Add banners supportChocobozzz2021-04-081-0/+2
|
* Agnostic actor image storageChocobozzz2021-04-081-3/+2
|
* Fix feedsChocobozzz2021-02-181-2/+1
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-1/+7
|
* add best trending strategy based on Reddit's bestRigel Kent2021-02-041-1/+2
| | | | | | inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/ this implementation only adds freshness, and doesn't personalize based on subscribed communities yet.
* Support transcoding options/encoders by pluginsChocobozzz2021-01-282-0/+49
|
* modularize abstract video list header and implement video hotness ↵Rigel Kent2021-01-281-1/+4
| | | | recommendation variant
* add support for 1440p (Quad HD/QHD/WQHD) videosRigel Kent2021-01-131-1/+8
|
* Live views updateChocobozzz2020-12-092-2/+3
|
* Add permanent live supportChocobozzz2020-12-033-0/+3
|
* Support encoding profilesChocobozzz2020-11-251-1/+1
|
* Add ability to display all channel/account videosChocobozzz2020-11-181-1/+1
|
* Implement video comment list in adminChocobozzz2020-11-131-0/+20
|
* Add check constraints live testsChocobozzz2020-11-091-2/+3
|
* Begin live testsChocobozzz2020-11-091-2/+2
|
* Add check params live testsChocobozzz2020-11-091-0/+3
|
* Add ability to save live replayChocobozzz2020-11-094-0/+11
|
* Add watch messages if live has not startedChocobozzz2020-11-095-2/+12
|
* Live streaming implementation first stepChocobozzz2020-11-096-3/+12
|
* Fix VideoStreamingPlaylist modelChocobozzz2020-08-271-1/+1
|
* Don't use @shared in modelsChocobozzz2020-08-272-3/+4
| | | | So other projects can use them
* Add ability to set custom field to video formChocobozzz2020-08-212-0/+4
|
* add ng-select for templatable select optionsRigel Kent2020-08-111-0/+1
| | | | | | | - create select-tags component to replace ngx-chips - create select-options to factorize option selection in forms - create select-channel to simplify channel selection - refactor tags validation
* Add ability to share playlists in modalChocobozzz2020-08-071-0/+2
|
* Reorganize shared modelsChocobozzz2020-08-0711-11/+11
|
* Upgrade to angular 10Chocobozzz2020-08-073-15/+10
|
* Use 3 tables to represent abusesChocobozzz2020-07-108-98/+0
|
* fix change ownership typingRigel Kent2020-06-281-6/+2
|
* Lazy load all routesChocobozzz2020-06-231-0/+1
|
* Reorganize client shared modulesChocobozzz2020-06-2310-35/+71
|
* predefined report reasons & improved reporter UI (#2842)Rigel Kent2020-06-224-0/+44
| | | | | - added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video - added predefined report reasons - added video player with report modal
* More robust max bitrate calculationChocobozzz2020-06-171-31/+34
|
* Add videos count in channels listChocobozzz2020-06-161-0/+2
|
* First implem global searchChocobozzz2020-06-101-0/+10
|
* Add server plugin filter hooks for import with torrent and url (#2621)Rigel Kent2020-05-141-1/+2
| | | | | | | | | | | * Add server plugin filter hooks for import with torrent and url * WIP: pre and post-import filter hooks * Rebased * Cleanup filters to accept imports Co-authored-by: Chocobozzz <me@florianbigard.com>