PeerTube/server/helpers
Felix Ableitner edb4ffc7e0 Set bitrate limits for transcoding (fixes #638) (#1135)
* Set bitrate limits for transcoding (fixes #638)

* added optimization script and test, changed stuff

* fix test, improve docs

* re-add optimize-old-videos script

* added documentation

* Don't optimize videos without valid UUID, or redundancy videos

* move getUUIDFromFilename

* fix tests?

* update torrent and file size, some more fixes/improvements

* use higher bitrate for high fps video, adjust bitrates

* add test video

* don't throw error if resolution is undefined

* generate test fixture on the fly

* use random noise video for bitrate test, add promise

* shorten test video to avoid timeout

* use existing function to optimize video

* various fixes

* increase test timeout

* limit test fixture size, add link

* test fixes

* add await

* more test fixes, add -b:v parameter

* replace ffmpeg wiki link

* fix ffmpeg params

* fix unit test

* add test fixture to .gitgnore

* add video transcoding fps model

* add missing file
2018-10-08 16:26:04 +02:00
..
custom-validators Add user history and resume videos 2018-10-05 11:22:38 +02:00
activitypub.ts Basic video redundancy implementation 2018-09-13 14:05:49 +02:00
actor.ts Optimize activity actor load in AP processors 2018-09-19 15:22:55 +02:00
audit-logger.ts Refractor audit user identifier 2018-09-19 17:02:27 +02:00
captions-utils.ts Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
core-utils.ts Fix config endpoint 2018-10-03 14:36:00 +02:00
custom-jsonld-signature.ts Use RsaSignature2017 2017-12-19 10:53:16 +01:00
database-utils.ts Cleanup utils helper 2018-08-14 15:28:30 +02:00
express-utils.ts Fix videos list user NSFW policy 2018-09-24 13:38:38 +02:00
ffmpeg-utils.ts Set bitrate limits for transcoding (fixes #638) (#1135) 2018-10-08 16:26:04 +02:00
image-utils.ts Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
logger.ts Decrease log file max size 2018-10-01 15:20:13 +02:00
peertube-crypto.ts Fix error logging 2018-03-26 16:04:14 +02:00
requests.ts replace fs by fs-extra to prevent EMFILE error 2018-08-27 16:03:57 +02:00
signup.ts Cleanup utils helper 2018-08-14 15:28:30 +02:00
utils.ts Set bitrate limits for transcoding (fixes #638) (#1135) 2018-10-08 16:26:04 +02:00
video.ts Add user history and resume videos 2018-10-05 11:22:38 +02:00
webfinger.ts Handle actors search beginning with '@' 2018-09-17 10:13:54 +02:00
webtorrent.ts Add timeout on youtube dl to cleaup files 2018-10-01 12:00:05 +02:00
youtube-dl.ts Add timeout on youtube dl to cleaup files 2018-10-01 12:00:05 +02:00