Giter Site home page Giter Site logo

docker-videoencoding's People

Contributors

amarok1412 avatar jbachelin avatar jdelvinquier avatar mastertheif avatar maximeservais avatar merwank avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

barais

docker-videoencoding's Issues

Fonctionnement FileUploader ?

Coucou,
Quelques remarques sur le FileUploader :

  1. Je vais sans doute me charger de faire une interface un peu plus jolie, mais ça on s'en fout :)
  2. Il manque une page sur le wiki, pour expliquer comment le tout fonctionne, les dépendances, etc.
  3. Chez moi, node serverSocket.js ne me donne aucune information et l'interface ne marche pas dans l'état. Il serait possible d'ajouter des informations ? Genre sur quel port l'écoute a lieu, si l'utilisateur a appuyé sur envoyer, quel est le nom du fichier créé, etc ?

Bon week end !

Link all

  1. Automatic swarm (dockeriser le swarm, manager on node1, other join)
  2. Launch FileUploader
  3. mkworkflow.py, call split, then merge
  4. if time, just create encode)

Enable CORS

Impossible de tester nos requêtes HTTP à cause de la Same-origin policy

"XMLHttpRequest cannot load http://192.168.1.110:2375/containers/json&all=True&size=False. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access."

https://docs.docker.com/engine/reference/api/docker_remote_api_v1.14/ (Section 3.3) :

$ docker daemon -H="192.168.1.9:2375" --api-cors-header="*"

Modifier dans le "/etc/default/docker"

2éme solution : Mettre en place un Proxy

TODOList

Draft

  • Rewrite the subject
  • Script to generate the image
  • Script to encode a video on a Rasp
  • Script to cut a video in parts
  • Create a cluster with white and black (Docker-Swarm)
  • Schedule task with existing impl in docker swarm
  • docker-swarm write scheduler
  • Write the workflow
  • Observe execution with The Graph
  • Create a web page to send a file
  • Create an IPFS
  • New issue here

Subject

(In french)
En gros, le principe au fin c'est d'avoir une interface où on envoie un fichier à encoder et dont on peut avoir le suivi avec The Graph puis obtenir un lien vers le fichier encodé. L'encodage est réalisé par plusieurs raspberry pi qui se partagent le travail. Le Scheduler des tâches se nomme Go-Docker et est une surcouche à Docker Swarm.

En gros le workflow ressemblera à :

  1. Récupérer le fichier
  2. Le diviser en sous parties
  3. Chaque partie est encodée dans un container
  4. Récupérer les morceaux et les assembler
  5. Publier le résultat.

Question de la prochaine séance :

  • être sur qu'on a bien compris le sujet.
  • Ce qui marche déjà
  • Probleme pour go-docker
  • Se répartir en groupes plus spécialisé (1 binome gère la partie web ; 1 binome gère la partie encodage de la vidéo ; 1 autre gère la partie Scheduling) ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.