Outils pour utilisateurs

Outils du site


informatique:video

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
informatique:video [01/02/2016 11:36] – créée cyrilleinformatique:video [28/09/2016 13:19] (Version actuelle) – [Video.js] cyrille
Ligne 6: Ligne 6:
 ===== Conversion de format ===== ===== Conversion de format =====
  
-Sur mon ubuntu:+Bons articles: 
 +  * http://www.thehelloworldprogram.com/web-development/encode-video-and-audio-for-html5-with-avconv/ 
 + 
 +Pour WEBM:
   avconv -i the_video.mp4 the_video.webm   avconv -i the_video.mp4 the_video.webm
 Mais c'est très lent, genre en temps réel ... Mais c'est très lent, genre en temps réel ...
 +
 +Pour FLV:
 +  avconv -i the_video.mp4 -ar 44100 the_video.flv
 +Beaucoup (extrêmement) plus rapide que WEBM. Obligé d'indiquer audio_rate (-ar) sinon ne se lance pas, erreur : //Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented//
 +===== Web player =====
 +
 +====Pour le web====
 +
 +We need to encode our video with several different codecs so **that every browser can play** the one it likes. Codecs are a way to compress digital media. There are dozens of video codecs, but the ones you should know about for web videos are **H.264, vp8, and theora**. Each type of encoded videos is housed in a different type of container. Again, there are dozens of video containers, but for web videos you only need to know about **mp4, webm, and ogg**.
 +
 +<code html>
 + <video width="400" height="225" poster="img/quickfox.jpg" controls>
 +    <source src="video/quickfox.mp4" type="video/mp4" />
 +    <source src="video/quickfox.ogg" type="video/ogg" />
 +    <source src="video/quickfox.webm" type="video/webm" />
 + </video>
 +</code>
 +
 +===== Video.js =====
 +
 +http://videojs.com/getting-started/
  
informatique/video.1454322997.txt.gz · Dernière modification : 01/02/2016 11:36 de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki