aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-file.ts
Commit message (Collapse)AuthorAgeFilesLines
* Refactor model utilsChocobozzz2023-01-101-6/+5
|
* External auth can update user on loginChocobozzz2023-01-041-1/+1
|
* Option to disable static files auth check/s3 proxyChocobozzz2022-10-271-1/+2
|
* Use private ACL for private videos in s3Chocobozzz2022-10-241-13/+49
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-241-2/+27
|
* Regenerate video filenames on transcodingChocobozzz2022-07-251-5/+36
| | | | | In particular when using manual transcoding, to invalidate potential HTTP caches in front of peertube
* Remove activitypub helperChocobozzz2022-03-231-1/+1
| | | | Put functions in lib/activitypub instead
* Fix broken depChocobozzz2022-02-091-3/+2
|
* Update server dependenciesChocobozzz2022-02-091-1/+1
|
* Fix audio only transcodingChocobozzz2021-12-231-3/+2
|
* Move typescript utils in its own directoryChocobozzz2021-12-161-1/+1
|
* Add ability to run transcoding jobsChocobozzz2021-11-181-1/+7
|
* More robust webtorrent redundancy downloadChocobozzz2021-09-061-0/+2
| | | | | Avoid issues with inconsistencies between magnet infohash and torrent infohash, blocking webtorrent upload that will timeout
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Filter host for channels and playlists searchChocobozzz2021-07-281-1/+1
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-261-12/+33
|
* Avoid error when file has no torrent fileChocobozzz2021-05-251-0/+4
|
* Stricter models typingChocobozzz2021-05-121-1/+2
|
* Async torrent creationChocobozzz2021-02-251-0/+8
|
* CleanupChocobozzz2021-02-181-2/+2
|
* Don't guess remote tracker URLChocobozzz2021-02-181-7/+2
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-31/+150
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-1/+1
|
* Fix stat file size with HLSChocobozzz2020-11-101-5/+28
|
* Don't add live videos in redundancyChocobozzz2020-11-091-1/+1
|
* Regenerate miniature on live saveChocobozzz2020-11-091-0/+4
|
* Add live notification testsChocobozzz2020-11-091-0/+4
|
* Add check constraints live testsChocobozzz2020-11-091-0/+8
|
* Live streaming implementation first stepChocobozzz2020-11-091-2/+2
|
* Split types and typingsChocobozzz2020-06-181-2/+2
|
* Video file metadata PR cleanupChocobozzz2020-03-101-40/+39
|
* Add video file metadata to download modal, via ffprobe (#2411)Rigel Kent2020-03-101-10/+86
| | | | | | | | | | | | | | | | | | | * Add video file metadata via ffprobe * Federate video file metadata * Add tests for file metadata generation * Complete tests for videoFile metadata federation * Lint migration and video-file for metadata * Objectify metadata from getter in ffmpeg-utils * Add metadataUrl to all videoFiles * Simplify metadata API middleware * Load playlist in videoFile when requesting metadata
* Add infohash cacheChocobozzz2020-01-031-1/+8
|
* Use a migration script to generate HLS torrent filesChocobozzz2019-12-121-1/+1
|
* Add ability to disable webtorrentChocobozzz2019-11-251-6/+81
| | | | In favour of HLS
* Update server dependenciesChocobozzz2019-10-211-1/+1
|
* Stronger model typingsChocobozzz2019-08-191-1/+2
|
* Add audio support in uploadChocobozzz2019-05-161-0/+5
|
* Upgrade sequelizeChocobozzz2019-04-241-15/+12
|
* Update P2P media loader peer versionChocobozzz2019-04-081-0/+24
|
* findById -> findByPkChocobozzz2019-02-211-1/+1
|
* Add hls support on serverChocobozzz2019-02-111-3/+3
|
* Add totalLocalVideoFilesSize in statsChocobozzz2019-01-151-0/+20
|
* Add import finished and video published notifsChocobozzz2019-01-091-2/+0
|
* Support additional video extensionsChocobozzz2018-12-111-1/+3
|
* Delete correctly redundancy filesChocobozzz2018-10-031-0/+13
|
* Fix video files duplicated when fps is nullChocobozzz2018-09-261-2/+2
| | | | Null values are not considered equal in a UNIQUE index
* Improve redundancy: add 'min_lifetime' configurationChocobozzz2018-09-241-0/+6
|
* Basic video redundancy implementationChocobozzz2018-09-131-1/+24
|