Commit Graph

213 Commits (aa8c7956741ff5ee25282df91d269210b729f4bb)

Author SHA1 Message Date
Chocobozzz 9f1ddd2496
Change a little bit optimize-old-videos logic 2018-10-08 16:50:56 +02:00
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
Rigel Kent f6dd7f7d18
parametrize gpg key in release script 2018-10-03 11:51:55 +02:00
John Livingston 38d937002a fix diff order 2018-10-03 09:53:03 +02:00
John Livingston bebae342f3 using "diff -u", for a clearer display 2018-10-03 09:53:03 +02:00
Chocobozzz c2ad546df9
Add tests regarding well known/static text endpoints 2018-10-01 17:29:11 +02:00
Chocobozzz d1105b97ef
Fix dnt route 2018-10-01 15:20:13 +02:00
Rigel Kent 9e3e248109
add protractor profile for local tests 2018-10-01 13:40:28 +02:00
Chocobozzz 65be133b90
Fix 404 on manifest 2018-09-28 13:56:19 +02:00
Chocobozzz 5ce1208a0a
Improve prune script 2018-09-28 10:56:13 +02:00
Felix Ableitner cee43cf11c Added else 2018-09-28 10:35:59 +02:00
Felix Ableitner 4cd7a103da Add prompt to upgrade.sh to install pre-release version 2018-09-28 10:35:59 +02:00
SerCom_KC ba6a98b8fa Add zh-Hans-CN to client.sh 2018-09-25 14:46:02 +02:00
Chocobozzz aac0118dc3
Fix dnt route 2018-09-25 11:13:34 +02:00
Chocobozzz f2659ae0b0
Upgrade tslint rules 2018-09-21 09:26:53 +02:00
Chocobozzz 627621c1e8
Optimize SQL requests of watch page API endpoints 2018-09-19 09:54:37 +02:00
Chocobozzz 780daa7e91
Speaup clean script 2018-09-14 10:07:33 +02:00
Chocobozzz b36f41ca09
Add trending videos strategy 2018-09-14 09:57:21 +02:00
Brad Johnson 7f5f4152a4 Refactor: Separated "Other Videos" section into a dedicated component/service (#969)
* Separated "Other Videos" section into a dedicated component/service

I'm currently working on some proof-of-concepts for recommendation
providers that could work with PeerTube to provide useful video
suggestions to the user.

As a first step, I want to have great clarity about how PeerTube,
itself, will surface these videos to the user.

With this branch, I'm refactoring the "recommendations" to make it
easier to swap out different recommender implementations quickly.

Stop recommender from including the video that's being watched.

Ensure always 5 recommendations

* Treat recommendations as a stream of values, rather than a single async value.

* Prioritize readability over HTTP response size early-optimization.

* Simplify pipe
2018-08-31 17:19:21 +02:00
Chocobozzz 2db85d6b6e
Upgrade server dependencies 2018-08-27 16:35:26 +02:00
Chocobozzz 62689b942b
Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
Rigel Kent c9d5c64f98 replace fs by fs-extra to prevent EMFILE error 2018-08-27 16:03:57 +02:00
Chocobozzz 3bacf66164
Don't compile all languages in travis 2018-08-27 11:34:43 +02:00
Chocobozzz a9155ee6dc
Add portuguese and swedish languages 2018-08-27 11:20:06 +02:00
Chocobozzz b18d4b9f36
Upgrade translations 2018-08-27 10:04:07 +02:00
Chocobozzz 1297eb5db6 Add refresh video on search 2018-08-27 09:41:54 +02:00
Chocobozzz fc96e83d1c
Fix release script 2018-08-21 09:37:11 +02:00
Chocobozzz 95d5113575
Translate player according to the interface lang 2018-08-16 11:11:20 +02:00
Chocobozzz 3dfa849402
Translate subtitle langs in player 2018-08-16 10:48:35 +02:00
Chocobozzz a6ce68673a
Support occitan 2018-08-08 16:00:06 +02:00
Chocobozzz 7e5f9f001d Add audit logs for video import 2018-08-06 11:19:16 +02:00
Chocobozzz 5e319fb789
Upgrade release script to support release branch 2018-08-01 11:13:33 +02:00
Chocobozzz fb9e6cb075
Add german, spanish and chinese (traditional, taiwan) languages 2018-07-31 18:04:54 +02:00
Chocobozzz 365b546c9f
Try to fix travis (again) 2018-07-31 10:26:13 +02:00
Chocobozzz e20015d744
Fiw winston meta log 2018-07-30 11:34:34 +02:00
Chocobozzz 87bec1051b
Handle pre releases in release script 2018-07-25 17:05:15 +02:00
Chocobozzz d73c98884e
Hack 459 regarding Angular & i18n 2018-07-25 09:57:52 +02:00
Chocobozzz 57c36b277e Begin advanced search 2018-07-24 14:04:05 +02:00
Chocobozzz e032aec9b9
Render CSS/title/description tags on server side 2018-07-18 10:00:37 +02:00
Chocobozzz b54431049b
Add populate database script 2018-07-17 18:17:50 +02:00
Chocobozzz 337ba64efc
Parse log script parse the last updated log 2018-07-16 14:38:11 +02:00
Chocobozzz 16f7022b06 Handle subtitles in player 2018-07-16 11:50:08 +02:00
Chocobozzz 94831479f5 Migrate to bull 2018-07-11 14:00:17 +02:00
Chocobozzz a55e5579bc
Update translations from zanata and add cs and eo 2018-07-09 15:04:17 +02:00
Chocobozzz 8244c85ad6
Fix npm run dev:server 2018-06-29 09:33:36 +02:00
Chocobozzz 10e63b6850
Add Basque and Catalan languages 2018-06-28 15:53:13 +02:00
Chocobozzz 85b4d9c52e
Upgrade dependencies 2018-06-26 18:05:47 +02:00
Chocobozzz 92d83c6a78
Fix git credits 2018-06-22 17:08:44 +02:00
Chocobozzz cd080b1a6b
Update credits 2018-06-22 16:20:44 +02:00
Chocobozzz 23687332e6
Improve update host script and add warning if AP urls are invalid 2018-06-21 18:36:08 +02:00