Публикуйте свои видео с PeerTube, альтернативой YouTube
Делитесь своими увлечениями на платформе, которая подходит вам больше всего
С PeerTube вам не надо подстраиваться под алгоритмы: платформы PeerTube регулируются и модерируются людьми, а не ботами.
PeerTube allows you to focus on what you do the best: your videos, the way you want to create them.
Увеличьте охват благодаря концепции федерации!
Increase the potential audience for your videos by connecting your PeerTube platform to the ones you want.
Я начинаю на PeerTube
Создайте учётную запись на существующей видеоплощадке PeerTube
Join a PeerTube platform based on its theme, terms of use or code of conduct.
- Присоединяйтесь к сообществу и общайтесь напрямую с владельцами платформы
- Импортируйте свои видео с другого веб-сайта, такого как YouTube или Vimeo, или непосредственно из файла
- Создайте несколько каналов, чтобы сгруппировать ваши видео по темам: канал для фортепиано, канал для экологии...
- Просто добавляйте видео с PeerTube на ваш сайт
- Транслируйте трансляцию на платформах, которые позволяют это
Создайте собственную видеоплощадку PeerTube
If you have a minimum amount of time and technical skills, creating your own platform (also called "instance") on your server is the best way to take advantage of PeerTube.
Создание и администрирование собственной платформы PeerTube позволит вам:
- Определите свои собственные правила модерации
- Пригласите разных людей создать свой канал, чтобы они размещали свои видео или помогали вам модерировать платформу
- Выбирайте автопоказ видео, загруженных на другие сервера PeerTube, благодаря федерации
- Уменьшите использование трафика посредством P2P
- Настройте свою инстанцию, создав свою собственную тему и воспользовавшись преимуществами множества плагинов, созданных сообществом.
Вопросы? У нас есть ответ!
Какова политика PeerTube по монетизации контента?
На данный момент, её нет: PeerTube — это инструмент, который мы хотели сделать нейтральным с точки зрения монетизации.
However, the uploader can display a support button under the video. This button displays a frame in which people who upload videos can display text, images, and links freely (link to Patreon, Tipeee, Paypal, Liberapay...).
We did not go any further, as we refuse to tie our code to a particular content funding method, that might not fit all communities and deter others. It's the reason why we encourage developers to use the PeerTube plugin API to create their own monetization system.
Должен ли я иметь большой сервер для запуска PeerTube?
Минимальные требования к оборудованию:
- 1 vCore
- 1,5 ГБ ОЗУ
- Enough storage for videos
- Скорость исходящего трафика 20 МБит/с
- Достаточная пропускная способность для видеотрансляций
Recommended hardware requirements for a big instance to handle 1,000 concurrent viewers (see our blog post about our viewers stress test):
- 4 vCore
- 4 ГБ ОЗУ
- Enough storage for videos
- Скорость исходящего трафика 1 Гбит/с
- Достаточная пропускная способность для видеотрансляций
- Ознакомьтесь с руководством по масштабируемости, если планируете привлечь много пользователей или зрителей
If you plan to do transcoding on the same machine as the PeerTube instance:
- 8 vCore
- 8 ГБ ОЗУ
Для более детальной инструкции по системным требованиям:
ЦПExcept for video transcoding, a PeerTube instance is not CPU bound. Neither Nginx, PeerTube itself, PostgreSQL nor Redis require a lot of computing power. If it were only for those, one could easily get by with just one thread/vCPU.
You will hugely benefit from at least a second thread though, because of transcoding. Transcoding is very cpu intensive. It serves two purposes on a PeerTube instance: it ensures all videos can be played optimally in the web interface, and it generates different resolutions for the same video.
Перекодировку также можно перенести на другие устройства с помощью удалённых движков.
RAM1,5 ГБ ОЗУ должно быть достаточно для простой инстанции PeerTube, которая обычно использует не более 500 МB ОЗУ. The only reason you might want more would be if you colocate your Redis or PostgreSQL services on a non-SSD system.
ХранилищеThere are two important angles to storage: disk space usage and sustained read speed. To make a rough estimate of your disk space usage requirements, you want to know the answer to three questions:
- What is the total size of the videos you wish to stream?
- Do you want to enable transcoding? If so, do you want to provide multiple resolutions per video? Try this out with a few videos and you will get an idea of how much extra space is required per video and estimate a multiplication factor for future space allocation.
- Which sharing mechanisms do you want to enable? Just web video, or also HLS with P2P? If you want both, this will double your storage needs.
If you want to store many videos on your PeerTube instance, you may want to store videos externally using Object Storage.
In terms of read speed, you want to make sure that you can saturate your network uplink serving PeerTube videos. This should not be a problem with SSD disks, whereas traditional HDD should be accounted for: typical sustained read rates for a well tuned system with a 7200rpm hard disk should hover around 120 MB/s or 960 Mbit/s. The latter should be enough for a typical 1 Gbit/s network uplink.
СетьПриблизительная оценка пропускной способности классического сервера, транслирующего видео, обычно проста. You simply divide your server's available bandwidth by the average bandwidth per stream, and you have an upper bound.
Take a server for example with a 1 Gbit/s uplink for example pushing out 1080p60 streams at 5 Mbit/s per stream. That means the absolute theoretical upper capacity bound is 200 simultaneous viewers if your server's disk i/o can keep up. На практике ожидайте немного меньшего.
Но что, если вам нужно обслуживать больше пользователей? Вот тут-то и пригодится функция федерации PeerTube. Если другие инстанции PeerTube следуют за вашим, скорее всего, они решили зеркалировать часть вашей инстанции! Эта функция называется «резервирование сервера» и кэширует ваши наиболее популярные видео, помогая обслужить дополнительных зрителей. While viewers themselves contribute a little additional bandwidth while watching the video in their browsers (mostly during surges), mirroring servers have a much greater uplink and will help your instance with sustained higher concurrent streaming.