Html video audio: Difference between revisions

From Ilianko
Created page with "<code><pre> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support th..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
apt-get install ffmpeg
apt-get install apache2
apt-get install php5
apt-get install php5-imagick
exec ("ffmpeg -i $dir/$value -vcodec libtheora -qscale:v 8 -acodec libvorbis $dir/$value.ogv");
$thumb = new Imagick();
<code><pre>
<code><pre>



Latest revision as of 20:21, 6 November 2015

apt-get install ffmpeg
apt-get install apache2
apt-get install php5
apt-get install php5-imagick

exec ("ffmpeg -i $dir/$value -vcodec libtheora -qscale:v 8 -acodec libvorbis $dir/$value.ogv");

$thumb = new Imagick();



<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video> 


 <audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>