aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-transcoder.ts
Commit message (Collapse)AuthorAgeFilesLines
* Move test functions outside extra-utilsChocobozzz2021-12-171-13/+5
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-171-1/+1
|
* Fix testsChocobozzz2021-11-101-3/+9
|
* Added 144p encoding (#4492)Florian CUNY2021-11-051-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 144p encoding Implements https://github.com/Chocobozzz/PeerTube/issues/4428 * Fixed typo in core-utils * Increased BitPerPixel for 144p * Disabled 144p by default in test.yaml * Another try at fixing tests * Fixed test in video-transcoder (api-3) * Fixed test in video-imports (api-4) * Fixed test in live-constraints (api-2) * Tried to fix tests in api-3 again * Revert "Tried to fix tests in api-3 again" This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14. * Fixed test in config.ts (api-2) * Try to fix test in video-hls.ts (api-3) * Fixed test in video-transcoder.ts (api-3) * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix bitrate testsChocobozzz2021-10-121-3/+2
|
* Rename jobs list commandChocobozzz2021-08-261-1/+1
|
* Improve target bitrate calculationChocobozzz2021-08-061-22/+8
|
* Generate random uuid for video filesChocobozzz2021-07-261-21/+39
|
* Reorganize importsChocobozzz2021-07-201-3/+2
|
* Refactor requestsChocobozzz2021-07-201-5/+5
|
* Use an object to represent a serverChocobozzz2021-07-201-5/+5
|
* Shorter server command namesChocobozzz2021-07-201-61/+61
|
* Introduce videos commandChocobozzz2021-07-201-114/+94
|
* Introduce server commandsChocobozzz2021-07-201-12/+10
|
* Introduce config commandChocobozzz2021-07-201-41/+45
|
* Introduce jobs commandChocobozzz2021-07-201-6/+2
|
* Resumable video uploads (#3933)kontrollanten2021-05-101-74/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: resumable video uploads relates to #324 * fix review comments * video upload: error handling * fix audio upload * fixes after self review * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/middlewares/validators/videos/videos.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * update after code review * refactor upload route - restore multipart upload route - move resumable to dedicated upload-resumable route - move checks to middleware - do not leak internal fs structure in response * fix yarn.lock upon rebase * factorize addVideo for reuse in both endpoints * add resumable upload API to openapi spec * add initial test and test helper for resumable upload * typings for videoAddResumable middleware * avoid including aws and google packages via node-uploadx, by only including uploadx/core * rename ex-isAudioBg to more explicit name mentioning it is a preview file for audio * add video-upload-tmp-folder-cleaner job * stronger typing of video upload middleware * reduce dependency to @uploadx/core * add audio upload test * refactor resumable uploads cleanup from job to scheduler * refactor resumable uploads scheduler to compare to last execution time * make resumable upload validator to always cleanup on failure * move legacy upload request building outside of uploadVideo test helper * filter upload-resumable middlewares down to POST, PUT, DELETE also begin to type metadata * merge add duration functions * stronger typings and documentation for uploadx behaviour, move init validator up * refactor(client/video-edit): options > uploadxOptions * refactor(client/video-edit): remove obsolete else * scheduler/remove-dangling-resum: rename tag * refactor(server/video): add UploadVideoFiles type * refactor(mw/validators): restructure eslint disable * refactor(mw/validators/videos): rename import * refactor(client/vid-upload): rename html elem id * refactor(sched/remove-dangl): move fn to method * refactor(mw/async): add method typing * refactor(mw/vali/video): double quote > single * refactor(server/upload-resum): express use > all * proper http methud enum server/middlewares/async.ts * properly type http methods * factorize common video upload validation steps * add check for maximum partially uploaded file size * fix audioBg use * fix extname(filename) in addVideo * document parameters for uploadx's resumable protocol * clear META files in scheduler * last audio refactor before cramming preview in the initial POST form data * refactor as mulitpart/form-data initial post request this allows preview/thumbnail uploads alongside the initial request, and cleans up the upload form * Add more tests for resumable uploads * Refactor remove dangling resumable uploads * Prepare changelog * Add more resumable upload tests * Remove user quota check for resumable uploads * Fix upload error handler * Update nginx template for upload-resumable * Cleanup comment * Remove unused express methods * Prefer to use got instead of raw http * Don't retry on error 500 Co-authored-by: Rigel Kent <par@rigelk.eu> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu> Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix transcoding job priorityChocobozzz2021-05-051-6/+1
| | | | | New resolution jobs are also important if waiting for transcoding is enabled since we publish the video after the first resolution generation
* Transcode audio uploads to lower resolutionsChocobozzz2021-02-021-423/+519
| | | | Better consistency
* Support transcoding options/encoders by pluginsChocobozzz2021-01-281-1/+3
|
* Safely remove webtorrent filesChocobozzz2021-01-251-3/+41
| | | | Only remove them on max quality HLS playlist generation
* stricter youtubedl format selectors (#3516)Rigel Kent2021-01-151-18/+18
| | | | | | | | | | | | | | * stricter youtubedl format selectors make sure selectors avoid av1, and otherwise match as closely to the maximum resolution enabled for transcoding * add support for merge formats in youtubedl * avoid vp9.2 in youtubedl to avoid any HDR * move getEnabledResolutions, safer replace of imported extension * add test for youtube-dl selectors
* Add 4k transcoding testChocobozzz2021-01-131-1/+31
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-5/+6
|
* Add logs to fixture generationsChocobozzz2020-12-011-1/+1
|
* Add live transcoding bit rate testsChocobozzz2020-11-251-11/+14
|
* Split ffmpeg utils with ffprobe utilsChocobozzz2020-11-251-20/+21
|
* Fix transcoder testChocobozzz2020-11-201-1/+1
|
* Do not transcode to an higher bitrateChocobozzz2020-11-201-0/+37
| | | | Thanks bkil https://github.com/bkil
* Live streaming implementation first stepChocobozzz2020-11-091-1/+1
|
* Add fixtures cache to github actionsChocobozzz2020-08-241-1/+1
|
* Video file metadata PR cleanupChocobozzz2020-03-101-37/+33
|
* Add video file metadata to download modal, via ffprobe (#2411)Rigel Kent2020-03-101-1/+72
| | | | | | | | | | | | | | | | | | | * 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
* Move to eslintcontainChocobozzz2020-02-031-23/+23
|
* Fix transcodingChocobozzz2020-01-291-4/+12
|
* Add tests for video downscale framerate matchingRigel Kent2020-01-291-0/+34
|
* Add missing hotkeys to the watch pageChocobozzz2019-12-061-2/+2
|
* Add audio upload testsChocobozzz2019-05-171-0/+51
|
* Merge remote-tracking branch 'origin/pr/1785' into developChocobozzz2019-05-161-2/+18
|\
| * fixed formatting, added test caseFelix Ableitner2019-05-041-4/+19
| |
* | Redundancy and search tests in parallel tooChocobozzz2019-05-141-9/+9
|/
* Use test wrapper exit functionChocobozzz2019-04-241-3/+3
|
* Cleanup testsChocobozzz2019-04-241-1/+1
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-2/+2
| | | | Because they need dev dependencies
* Support additional video extensionsChocobozzz2018-12-111-2/+29
|
* Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into ↵buoyantair2018-11-201-3/+2
|\ | | | | | | move-utils-to-shared
| * Cleanup tests importsChocobozzz2018-11-191-4/+2
| |
* | Move utils to /sharedbuoyantair2018-10-291-2/+2
|/ | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
* Fix optimize old videos scriptChocobozzz2018-10-181-20/+5
|
* Fix transcodingChocobozzz2018-10-181-4/+4
|