aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/handlers/video-transcoding.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fix transcoding errorChocobozzz2023-05-301-8/+8
| | | | When transcoding.always_transcode_original_resolution is false
* Fix next video state after optimize/audio mergeChocobozzz2023-05-091-11/+16
|
* Implement remote runner jobs in serverChocobozzz2023-05-091-240/+42
| | | | Move ffmpeg functions to @shared
* Fix running again transcoding on a video only fileChocobozzz2022-11-071-4/+1
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-241-40/+55
|
* Prevent job failure on concurrent HLS transcodingChocobozzz2022-08-091-1/+1
|
* Avoid concurrency issue on transcodingChocobozzz2022-08-091-3/+4
|
* Move to bullmqChocobozzz2022-08-091-1/+1
|
* Limit import depending on transcoding resolutionsChocobozzz2022-08-091-1/+1
|
* Fix resolution to transcode hook nameChocobozzz2022-08-091-1/+1
|
* Add option to not transcode original resolutionChocobozzz2022-08-091-17/+9
|
* Add plugin hook on transcoding resolutions buildingChocobozzz2022-08-021-1/+7
|
* Add ability to delete a specific video fileChocobozzz2022-08-011-1/+1
|
* Rename video full loadingChocobozzz2022-06-281-2/+2
|
* Add video edition finished notificationChocobozzz2022-03-221-3/+3
|
* Add basic video editor supportChocobozzz2022-02-281-5/+5
|
* Prevent HLS transcoding after webtorrent transcodingChocobozzz2022-02-011-4/+8
|
* Fix audio transcoding with video only fileChocobozzz2022-01-061-9/+16
|
* Fix shared importsChocobozzz2021-12-241-1/+1
|
* Fix pending transcoding with failed jobChocobozzz2021-12-031-13/+14
|
* Fix transcoding job count inconsistencyChocobozzz2021-11-291-7/+7
|
* Add ability to run transcoding jobsChocobozzz2021-11-181-4/+6
|
* Add ability to remove hls/webtorrent filesChocobozzz2021-11-181-1/+1
|
* Add transcoding fail message in clientChocobozzz2021-11-091-3/+4
|
* video: add video stranscoding_failed statekontrollanten2021-11-091-2/+9
|
* esModuleInterop to trueChocobozzz2021-08-271-7/+7
|
* Better logs for transcodingChocobozzz2021-08-261-13/+28
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-54/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-2/+2
|
* Remove deprecated transcoding job namesChocobozzz2021-08-051-12/+1
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-261-2/+1
|
* Fix lintChocobozzz2021-06-151-1/+0
|
* Fix missing transactionsChocobozzz2021-06-151-27/+23
|
* Cleanup models directory organizationChocobozzz2021-05-111-1/+1
|
* Move transcoding files in their own directoryChocobozzz2021-05-111-1/+1
|
* Fix lintChocobozzz2021-05-051-1/+0
|
* Fix transcoding job priorityChocobozzz2021-05-051-3/+3
| | | | | New resolution jobs are also important if waiting for transcoding is enabled since we publish the video after the first resolution generation
* Correctly wait transcoding before federatingChocobozzz2021-02-221-16/+22
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-1/+1
|
* Allow to specify transcoding and import jobs concurrencyChocobozzz2021-02-081-19/+25
|
* Fix HLS generation after import scriptChocobozzz2021-02-021-1/+1
|
* Transcode audio uploads to lower resolutionsChocobozzz2021-02-021-0/+2
| | | | Better consistency
* Correctly remove torrents with HLS onlyChocobozzz2021-02-011-0/+1
|
* Safely remove webtorrent filesChocobozzz2021-01-251-4/+6
| | | | Only remove them on max quality HLS playlist generation
* Add priority to transcoding jobsChocobozzz2021-01-251-34/+57
| | | | | | | | | | (1 = highest priority) 100 for new resolutions 10 for original file optimization Add a malus for transcoding jobs depending on how many uploads the user did in the last 7 days
* Refactor transcoding job handlersChocobozzz2021-01-211-67/+132
|
* Support progress for ffmpeg tasksChocobozzz2021-01-211-4/+5
|
* Fix buildChocobozzz2020-12-221-1/+1
|
* Force HLS transcodingChocobozzz2020-12-221-8/+18
| | | | | | Fix weird behaviour with some web browsers. Don't really know if it's a ffmpeg bug, a safari bug or a peertube bug, but forcing transcoding seems to fix this playback bug
* Split ffmpeg utils with ffprobe utilsChocobozzz2020-11-251-1/+1
|