Skip to content

Upload offline

diabord edited this page Jun 17, 2020 · 18 revisions

aa: Je changerai le titre: "Ingest videos and transcode offline"

The online-transcoding mode was already implemented by the original project. In this fork we added a function to transcode videos offline, immediately after they are ingested by the CDN. To create this one, we create a new endpoint and a new button on the main webpage of our CDN transcode software.


Figure 1 -

How we added it

We added a new http endpoint to enable the software to perform transcoding offline. Despite this new endpoint, the code is the same as the online transcoding one. We check first create a new Zookeper (ZK) state node to know in which state the video is (pending, process or ). If the video isn't processed, the server automatically starts transcoding for DASH and HLS. At the end, the ZK State changes and closed.

** aa: Je vous prie d'expliquer qu'est-ce qu'un nœud Zookeper dans la section "Cluster Architecture", quand vous parlez de Zookeper. Ce n'est pas nécessaire que vous soyez exactes, juste vous pouvez écrire ce que vous avez compris (qui évidemment correspond à ce qu'il suffit de comprendre pour faire marcher votre projet). **


Figure 2 - Sequence diagram upload offline transcoding

aa: Il y a un petit souci de charactères qui se chevauchent dans la partie basse de la figure

How to use it

When you want to upload a video, you have now two buttons. Simply click on the upload offline.

aa: Please write the name of these two buttons

Clone this wiki locally