Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HOWTO: Embed a video (MOV as mp4) on a page
08-22-2014, 06:03 AM, (This post was last modified: 08-22-2014, 06:04 AM by digdas.)
HOWTO: Embed a video (MOV as mp4) on a page
To do so, use the video-HTML5 tag (but this might not be supported by all browsers, so a link can be added as well)

This is what I did
<video width="320" height="240" controls>
  <source src="/serendipity/uploads/2014-03-15.mp4" type="video/mp4">
  <a href="/serendipity/uploads/2014-03-15.mp4" title="2014-03-15.mp4" target="_blank">2014-03-15.mp4</a>

To shrink MOV-files to a specific size:
ffmpeg -i IMG_0249.MOV -vf scale=320:240  IMG_0249.mp4
And to rotate:
ffmpeg -i IMG_0249.mp4 -vf transpose=1  IMG_0249r.mp4

Forum Jump:

Users browsing this thread: 1 Guest(s)