Commit 5c23f45aed874f9af1e8c03b9fd211782a8f64a1

Authored by Geoffrey PREUD'HOMME
1 parent 561ffc53

Added webm and ogg video types

Showing 2 changed files with 8 additions and 0 deletions   Show diff stats
pages/description.php
... ... @@ -23,6 +23,8 @@
23 23 </div>
24 24 <h1>Vidéo de présentation</h1>
25 25 <video poster="vid/pres2014.jpg" controls>
  26 + <source src="vid/pres2014.webm" type='video/ogg' />
  27 + <source src="vid/pres2014.ogg" type='video/webm' />
26 28 <source src="vid/pres2014.mp4" type='video/mp4' />
27 29 Il y a une vidéo ici, mais votre navigateur semble trop ancien pour pouvoir la lire :-(
28 30 </video>
... ...
vid/Makefile
... ... @@ -3,6 +3,12 @@ all: pres2014.mp4 pres2014.jpg
3 3 pres2014.mp4: orig/CREP\ mai\ 2014.mp4
4 4 ffmpeg -i "$<" -strict -2 $@ -y
5 5  
  6 +pres2014.webm: orig/CREP\ mai\ 2014.mp4
  7 + ffmpeg -i "$<" $@ -y
  8 +
  9 +pres2014.ogg: orig/CREP\ mai\ 2014.mp4
  10 + ffmpeg -i "$<" $@ -y
  11 +
6 12 pres2014.jpg: pres2014.mp4
7 13 ffmpeg -ss 00:01:49 -i $< -frames:v 1 $@ -y
8 14 convert -strip -interlace Plane -gaussian-blur 0.05 -quality 90% $@ $@
... ...