Aisha
Aisha

Reputation: 247

convert any video format to .flv format using php script

I have a question regarding video conversion during uploading to .flv format. Is it the best solution to convert video of any format to .flv format so that video can be in all browsers easily as there are issues with different codecs in different browsers. Please guide which is the best solution to play every video on all browsers.

Thanks in advance

Upvotes: 0

Views: 873

Answers (1)

ctwheels
ctwheels

Reputation: 22837

For maximum compatibility, here’s what your video workflow will look like:

  1. Make one version that uses WebM (VP8 + Vorbis).
  2. Make another version that uses H.264 baseline video and AAC “low complexity” audio in an MP4 container.
  3. Make another version that uses Theora video and Vorbis audio in an Ogg container.*
  4. Link to all three video files from a single <video> element, and fall back to a Flash-based video player.

* WebM and H.264 have sufficient support. So, unless you're supporting Firefox 3.5 or Opera 10.5, you can drop Theora.

From http://diveintohtml5.info/video.html

This link explains everything you could possibly want to know about video in HTML and more. The author of the website deserves an A+

Upvotes: 2

Related Questions