Vanliga frågor

Några frågor för att utforska PeerTube
Du kan också besöka forumet för att samtala med gemenskapen.

Presentation av PeerTube

PeerTube är mjukvara som kan installeras på en webbserver för att skapa en webbplats för videodelning, ett ”hemmabyggt YouTube”.

Till skillnad från YouTube är vårt mål inte att skapa en gigantisk plattform som centraliserar videor från jordens alla hörn på en enda serverfarm (vilket är ofattbart dyrt).

I stället satsar PeerTube på att skapa ett nätverk av sammanlänkade små värdservrar.

PeerTube är unikt eftersom det (så vitt vi vet) är den enda webbapplikationen för videor som kombinerar de här tre fördelarna:

Öppen källkod med en fri licens

  • PeerTube är gratis, du behöver inte betala för att installera det på din server
  • Vi kan se hur PeerTube fungerar bakom kulisserna (dess källkod): det går att granska och är transparent
  • Den kan förbättras av allas bidrag.

En federation av sammanlänkade videovärdar

  • Detta sprider ut videolagringen och makten över plattformen
  • Vi kan visa videor och konton från andra PeerTube-webbplatser
  • Det grundar sig på ActivityPub för att kommunicera med andra plattformar, som Mastodon.

Att distribuera videor från person till person

  • Det minskar risken för att överbelasta en server om en video snabbt blir väldigt populär
  • Användaren blir en del av videodistributionen
  • Det grundar sig på WebRTC, ett fritt mjukvaruprojekt för webbläsare, med öppen källkod.

PeerTube utvecklas av Framasoft, en fransk ideell organisation som sysslar med folkbildning i digitala frågor.

Anställning av en utvecklare, Chocobozzz, som arbetat på PeerTube sedan 2018:

Utöver detta, arbetar Chocobozzz med interna projekt på Framasoft (bland annat Framapad och Framatalk). In other words, the management of PeerTube projects is operated by only one employee, who has other responsabilities in addition to his workload.

Andra Framasoft-volontärer och avlönade medlemmar bidrar också till PeerTube-projekt i olika utsträckning (strategi, kommunikation, utveckling och intressespridning). Nevertheless, PeerTube is not developed by a startup with a team of 50 people, and a workflow full of hyper-formatted processes.

Framasoft kommer därför ta sin tid för att förbättra mjukvaran steg för steg, i sin egen takt och med de ovanliga arbetsmetoder som har visat sig fungera ganska väl, än så länge.

Nej, det är den inte.

PeerTube skapades, utvecklas och underhålls av Framasoft, en fransk ideell organisation som sysslar med folkbildning i digitala frågor. Framasoft has a French culture, respects French laws and is a political actor (« who participates in the life of the city-state ») of civil society.

PeerTube is part of several actions assembled by Framasoft in the Contributopia roadmap. These actions aim to propose alternative digital tools to those coming from surveillance capitalism, so that people who do not recognize themselves in such a system can create spaces of freedom.

Consequently, PeerTube development and/or management of websites associated with the PeerTube project (joinpeertube.org, instances.joinpeertube.org, search.joinpeertube.org, etc.) may not please everyone (in particular because of different ideas, ideologies of cultures).

We respect that, and remind that all software of the PeerTube project is free software and can be installed with their own domain name.

Det kan vi svara på med ett säkert nej!

Vår strävan är att alltjämt vara ett fritt och decentraliserat alternativ: målet är inte att ersätta, utan att erbjuda någonting nytt, med andra värden, parallellt med det som redan finns.

Ja, Framasoft har registrerat varumärket ”PeerTube” i flera länder i förebyggande syfte.

Framasoft affirms here its intention to not use intellectual property for predatory purposes or to constrain legitimate uses of the software. However, Framasoft reserves the right to use trademark law, especially in case of damage to the image of the PeerTube project, edited by Framasoft.

We recommend you to create your own digital identity, without using "PeerTube" for your project (software name, website domain...) to not confuse people about who is behind the website/project.

För mer information, se användarvillkoren för våra varumärken.

PeerTube är bara namnet på mjukvaran. Du kan installera den på din server och välja vilket namn du vill. Till exempel heter Framasofts PeerTube-plattform FramaTube.

No it's not an octopus, it's a cuttlefish! From Latin sēpia, it's the reason why the mascot of PeerTube is called Sepia.
It has been created by David Revoy (illustrations are under CC-BY).

Sepia can also help you to search PeerTube content like videos or channels on Sepia Search!

The following web browsers are supported by PeerTube:

  • Firefox 78+ on desktop
  • Latest Edge version on desktop
  • Latest Chrome version on desktop
  • Safari 12.1+ on macOS
  • Latest Chrome version on mobile
  • Latest Firefox on mobile
  • Safari 12.4+ on iOS

Jag vill titta på videor

  • Enjoy a player with many features
    • See the different chapters of the video in the progress bar
    • Preview the video frame while scrubbing the progress bar
    • The size of the player is automatically adjusted according to the video ratio
    • Choose subtitles, playback speed or video resolution in the player settings
    • Communicate with the streamer and other viewers using the livechat PeerTube plugin
  • Become a part of the broadcasting of the videos you are watching
    • Help the PeerTube website to share videos and lives using P2P
    • Easily disable P2P in your account if logged-in or in your anonymous settings
  • Anpassa gränssnittet
    • Uppdatera ditt namn, profilbild eller beskrivning under din profil
    • Set your appropriate NSFW policy (display, blur or hide NSFW videos)
    • Choose a PeerTube theme to change the look and feel of the interface
    • Automatisk filtrering av videor efter språk, kategori, direktsändning/förinspelning etc.
    • Choose your autoplay policy
  • Manage your library
    • Use the built-in Watch Later playlist and add easily videos in it
    • Organisera videor i offentliga eller privata spellistor
    • Automatically resume videos from the last time you watched them
    • Check your watch history in a dedicated page
  • Prenumerera på kanaler
    • Subscribe to local or remote channels to be notified when they publish videos
    • Display videos of your subscriptions in a dedicated page
  • Share and interact with videos and playlists
    • Dela videon eller spellistan med en länk eller bädda in i en webbsida med anpassad funktionalitet (automatisk uppspelning, start- och stopptider, återuppspelning, ljudinställningar och mycket mer)
    • Download a video using a dedicated modal
    • Comment, reply and rate videos using PeerTube or an ActivityPub compatible software (Mastodon, Pleroma...)
  • Sök efter videor, kanaler och spellistor
    • Sök bland videor, kanaler och spellistor lokalt såväl som på distans
    • Use many advanced filters (tags, category, licence...)
    • Use the video URL, playlist URL or channel handle/URL to fetch remote content

No we don't, because PeerTube is not a service but a free software. This means that anyone can download and install PeerTube to host videos on a specific domain name (this is called "hosting a PeerTube platform/website"). Framasoft has no control over who downloads PeerTube and who installs or uses it. Nor does Microsoft or Adobe have any control over who uses Word or Photoshop and for what purposes.

Framasoft only hosts and promotes two PeerTube platforms: https://framatube.org and https://peer.tube

Also, Framasoft hosts and promotes only one PeerTube search index: https://sepiasearch.org

Administrators have full control of the content they accept and they decide whether sensitive content (violence, pornography etc.) is displayed by default or not. In its default configuration, PeerTube hides videos that contain sensitive content.

Therefore, you may find inappropriate videos on some PeerTube platforms. But it's far from being the majority of the PeerTube content. For example, in September 2021, the 900 platforms listed on our public index host only ~1% videos tagged as containing sensitive content.

See the dedicated section in the PeerTube documentation: https://docs.joinpeertube.org/use/report

Your web browser sends a view to the server after 30 seconds of playback. If a video is less than 30 seconds in length, a view is sent after 75% of the video duration. After giving a view, that IP address cannot add another view in the next hour. Views are buffered, so don't panic if the view counter stays the same after you watched a video.

Jag vill ladda upp videor

  • Hitta den instans som passar dig bäst
    • Gå med i en PeerTube-gemenskap med ett tema, användarvillkor och uppförandekod i din smak
    • Talk to administrators and moderators that are real people, not robots
  • Upload and import videos
    • Upload or import videos from the web (Youtube, Dailymotion...) or from a torrent file
    • Automatically synchronize a remote channel or playlist
    • Set metadata: category, licence, language, tags, description, thumbnail...
    • Choose video privacy: public, unlisted, password protected, internal or private
    • Lägg till undertexter
    • Add chapters
    • Easily disable comments or download
    • Upload an audio file and an image and let PeerTube take care of creating the video!
  • Manage your videos
    • Get detailed statistics on your videos (views, watch time, unique viewers...)
    • Cut, add a watermark, an intro/outro to your videos directly from the web interface using the PeerTube studio
    • Upload a new version of the video if your administrator enabled this setting
  • Direktsänd video
    • Publicera direktsändningar i PeerTube genom den RTMP-kompatibla mjukvara du föredrar (OBS, Restream, ffmpeg …)
    • Create permanent lives to stream multiple times inside the same live (URL doesn't change for the viewers)
    • Let PeerTube create a replay of your live sessions
    • Communicate with your viewers using the livechat PeerTube plugin
  • Manage your channels
    • Skapa flera kanaler på ditt konto för att gruppera videor efter tema
    • Brand your channel using a dedicated name, a banner and an avatar
    • Set a Support button for your channel to explain how to support your work
    • People can subscribe to your channel from a PeerTube website or from an ActivityPub compatible software (Mastodon, Pleroma...)
    • Skapa offentliga spellistor kopplade till din kanal för att organisera dina eller andras videor

Att vara fri betyder inte att stå över lagen! Varje PeerTube-administratör kan bestämma sina egna användarvillkor efter sin lokala lagstiftning.

For example, in France, discriminatory content is prohibited and may be reported to authorities. PeerTube allows users to report problematic videos, and administrator must then apply its moderation in accordance with its terms and conditions and the law.

There are none at the moment: PeerTube is a tool that we wanted neutral in terms of monetization.

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.

Jag vill administrera en PeerTube-plattform

  • Free and open-source software
  • Federation with ActivityPub
    • Enable or disable federation for your instance
    • Display videos/accounts of other instances on yours
    • Börja följa instanser i ett offentligt sökindex automatiskt
  • P2P with WebRTC
    • Reduce your server bandwidth using P2P on VOD and live videos
    • Enable or disable easily P2P for your instance
    • Hjälp eller få hjälp från andra instanser med PeerTubes redundans
  • Video transcoding
    • Optimera videor och generera flera upplösningar med hjälp av ffmpeg
    • Enable additional video extension (.mkv, .mov, .avi...) or audio uploads
    • Generate HLS playlists or raw MP4 files
    • Customize ffmpeg transcoding profile using PeerTube plugins
    • Transcode videos by remote runners
  • Direktsänd video
    • Aktivera direktsändningar på din instans
    • Add ability for your users to publish a replay of live videos
    • Set simultaneous live streaming limits (per user/instance)
    • Enable live streaming transcoding in multiple resolutions
    • Customize ffmpeg live transcoding profile using PeerTube plugins
    • Transcode lives by remote runners
  • Videoimport
    • Enable video import using youtube-dl (Youtube, Dailymotion...)
    • Gör det möjligt att importera en video med en torrent-fil eller magnet-länk
  • Moderationsverktyg
    • Enable or disable signup, approve manually new users or set upload limits
    • Tilldela rättigheter till moderatorer och administratörer
    • Manage abuse reports on videos, accounts or comments using a dedicated dashboard
    • Automatically block videos from untrusted users awaiting a review by moderators
    • Block specific videos and specify a reason
    • Ban local users, mute accounts or instances
  • Highly configurable
    • Easily set instance metadata: name, description, main categories...
    • Create your own homepage using markdown or HTML
    • Sök och installera tillägg eller teman i PeerTube
    • Use external auth (LDAP, OpenID Connect...) using auth plugins
    • Choose default user settings (NSFW policy, comments/download/P2P enabled, etc)
    • Store videos and lives in the server filesystem or in object storage
    • Broadcast a message to users using a banner

Installationsguiden finns här (endast på engelska).

Minimum hardware requirements:

  • 1 vCore
  • 1.5 GB of RAM
  • Enough storage for videos
  • 20Mbit/s upload network speed
  • Enough bandwidth to broadcast videos

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 GB of RAM
  • Enough storage for videos
  • 1Gbit/s upload network speed
  • Enough bandwidth to broadcast videos
  • Read the scalability guide if you plan to have many users or viewers

If you plan to do transcoding on the same machine as the PeerTube instance:

  • 8 vCore
  • 8 GB of RAM

For a more detailed guide about hardware requirements:

CPU

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.

Transcoding can also be offloaded to other machines using remote runners.

RAM

1.5 GB of RAM should be plenty for a basic PeerTube instance, which usually takes at most 500 MB in RAM. The only reason you might want more would be if you colocate your Redis or PostgreSQL services on a non-SSD system.

Storage

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.

Network

A rough estimate of a traditional server's video streaming network capacity is usually quite straightforward. 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. Det innebär att den teoretiska maxgränsen kommer ligga på 200 tittare samtidigt, om serverns hårddiskar hinner med. Expect a bit less in practice.

But what if you need to serve more users? That's where PeerTube's federation feature shines. If other PeerTube instances following yours, chances are they have decided to mirror part of your instance! The feature is called "server redundancy" and caches your most popular videos to help serve additional viewers. 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.

At the moment, you can't deploy multiple PeerTube nodes behind a load balancer.

But some pars of PeerTube can be horizontally scaled to bypass the following limits, as described in our scalability guide:

Om du upptäcker problem med prestanda eller andra flaskhalsar på din skala får du gärna öppna ett ärende för att diskutera det.

Framasoft tries to make around 4 major releases per year. Releasing a new PeerTube version takes a lot of our time, so we cannot change this release cycle.

There is no LTS version: only the latest stable version of PeerTube is supported by Framasoft.

Om du vill testa utvecklingsversionen av PeerTube, tillhandahåller vi dagliga versioner.

We try to keep compatibility with the latest minor version (2.3.1 with 2.2 for example). Unfortunately we don't have enough resources to keep compatibility with other versions.

”Det är obegripligt och vettlöst att ni släpper en PeerTube-version utan de verktyg som krävs för att på ett effektivt sätt hantera upphovsrättstvister om videor, eller hantera näthat i kommentarer, eller hantera finansiering genom annonsering, eller [fyll i ditt krav på PeerTube här]. Det kommer aldrig fungera! Vad tänker ni göra åt det?”

Du har rätt. PeerTube är inte den perfekta lösningen, långt därifrån. Vi har aldrig lovat att mjukvaran skulle innehålla alla funktioner för samtliga användningsområden.

Kom ihåg att PeerTube bara har en heltidsanställd utvecklare och en handfull entusiastiska volontärer. Det är inte en produkt med ett heltidsteam och signifikanta ekonomiska resurser i ryggen.

So if you feel that PeerTube does not currently meet your needs, it's simple: don't use it right now. Vi vill påpeka att vi inte tjänar några pengar på att utveckla PeerTube. Även om vi såklart hoppas på framgång för projektet så hänger Framasofts andra åtaganden inte på PeerTube.

Ja, det finns!Sedan den första stabila versionen av PeerTube släpptes i oktober 2018, har varje ny utgåva tillfört eller förbättrat moderationsverktygen:

  • I och med PeerTube 1.1 blev det möjligt att utföra åtgärder på flera konton samtidigt samt att ignorera konton och instanser;
  • PeerTube 1.2 gjorde det möjligt att upphöra federera en video när den svartlistades; notifikationssystemet visar nu anmälningar och nya användare;
  • PeerTube 1.3 gjorde det möjligt för administratörer att automatiskt sätta nya videor i karantän om de laddats upp av nya eller opålitliga användare tills en moderater godkänt den. Även hanteringen av instansens följare har fått sig en genomgång: användargränssnittet har förbättrats, följare kan få avslag;
  • Med PeerTube 1.4 kom ett tilläggssystem och såg till att tillägg bland annat kunde blockera videor automatiskt eller ta bort kommentarer som följer ett visst mönster (ungefär som Pleroma MRF);
  • Uppstarten av PeerTube 2.0 frågar nu administratören om att svara på frågor angående deras moderationspolicy och tillägnandet av den. Gör en funktion för att automatiskt följa ett offentligt index av PeerTube instanser som en del av kärnan i PeerTube, istället för att låta administratörerna koda det själva. Detta tillåter instansadministratörer att automatiskt följa instanser i en "följarlista" av deras val; en lista som är självvärd, så att gemenskaper kan växa i deras egen takt;
  • PeerTube 2.1 kom med ett inre integritet-läge för videor (sådana videor kommer inte att delas utanför instansen), och lade till snabb åtkomst till modereringsverktyg sedanför kommentarerna och krokar till att skapa registreringstillägg (exempelvis geoblockering eller captchas); vissa tredje-partstillägg demonstrerar redan denna funktion. Detta släppet betonar även beskrivning av moderationsfunktioner inom gränssnittet: varningar för funktioner som kan öka modereringsarbetet som autofölj, och beskrivningar till menyer.
  • PeerTube 2.2 förbättrade hanteringen av videomissbruk mycket (som sökfunktioner, visning av tidigare missbruk, åtgärder per video eller konto), lade till modereringskrokar och hjälpare i API:et för tillägg och Framasoft utvecklade ett experimentell tillägg för automatisk ignorering baserad på offentliga listor.
  • PeerTube 2.3 förbättrade rapporteringsfönstret och lade till fördefinierade anledningar. Denna versionen gjorde det möjligt att radera alla kommentarer från ett konto och Framasoft utvecklade ett experimentellt tillägg för att automatiskt blockera videor baserat på offentliga listor.
  • PeerTube 2.4 added ability to report accounts and comments, a messaging system between the local reporter of an abuse and moderators, and an abuse management view for users.
  • PeerTube 3.0 added a dedicated view to manage comments of the instance (list, filter, remove in bulk etc).

PeerTube developers are committed to develop and improve moderation tools to make instances always easier to manage. We welcome you to take part in discussions to help ongoing efforts in that direction or suggest new ones!

Yes, core PeerTube (PeerTube without installed plugins/themes) is compatible with GDPR:

  • P2P can be disabled by default
  • It doesn't send personal data to any third party if P2P is disabled
  • Users can delete their account
  • Users can export their data and reimport it in another instance (in PeerTube >= 6.1)
  • PeerTube provides a privacy guide to help admins to fill their Terms

It probably means that we moderated your PeerTube platform after an abuse report and found out that:

  • there is problematic content hosted by the platform (not only one video/account/channel or two, but severals)
  • the platform doesn't seem to be properly moderated or lacks federation policy ( = lack of ToS or CoC in the about page)

Framasoft remains the sole judge of this notion of “abuse”.

I contribute to the source code

PeerTube uses ActivityPub because this federation protocol is recommended by the W3C and is also used by other projects like the social network Mastodon.

IPFS is a great technology, but it still seems too young for streaming large files. The PeerTube P2P system based on well established protocols like HTTP and WebRTC, and the redundancy system are more easy for us to use and to maintain.

DTube verkar inte ha öppen källkod då de enbart publicerar kompilerad kod, vilket motarbetar friheten att modifiera.

PeerTube does not impose any remuneration model. This is the choice we have made, and others (like DTube) have made other choices. So it's up to you to see what suits you.

For historical reason :)

Vi har en policy som behandlar säkerhetsrelaterade bidrag. Se gärna våra råd och policy kring säkerhet.