(Created page with "= Video = == On our website == Believe it or not, it is quite difficult to display a video which you host yourself (that is, not inheriting its display from somewhere else)....") |
m |
||
Line 6: | Line 6: | ||
If you use. In our case, we currently use [http://www.mediawiki.org/wiki/Extension:MediawikiPlayer MediawikiPlayer] which relies on [http://www.longtailvideo.com/players/jw-flv-player/ longtail video], which is at least partly open source. | If you use. In our case, we currently use [http://www.mediawiki.org/wiki/Extension:MediawikiPlayer MediawikiPlayer] which relies on [http://www.longtailvideo.com/players/jw-flv-player/ longtail video], which is at least partly open source. | ||
+ | |||
+ | == Conversion == | ||
+ | |||
+ | To convert ''avi'' to ''mp4'': | ||
+ | |||
+ | <pre> | ||
+ | mencoder input.avi -o output.mp4 -oac copy -ovc lavc -lavcopts vcodec=mpeg1video -of mpeg | ||
+ | </pre> |
Believe it or not, it is quite difficult to display a video which you host yourself (that is, not inheriting its display from somewhere else). That is, it is difficult if you want to do it well and clean (using only open source throughout and HTML5 protocol).
If you use. In our case, we currently use MediawikiPlayer which relies on longtail video, which is at least partly open source.
To convert avi to mp4:
mencoder input.avi -o output.mp4 -oac copy -ovc lavc -lavcopts vcodec=mpeg1video -of mpeg