3

I need to store a video taken on iPad2 in a Django model. What is the best format to store the video in and what type of Django model field?

I want to show the video on a website using HTML5 (avoid flash if possible).

MikeN
  • 45,039
  • 49
  • 151
  • 227

2 Answers2

2

Ogg Theora and FileField.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
2

Keep it in MPEG-4, and use a FileField to store it.

Sean
  • 671
  • 5
  • 11
  • 1
    Due to browser vendors not agreeing on a single format you'll need to support multiple formats if you want to support all browsers: http://en.wikipedia.org/wiki/HTML5_video Ogg Theora and/or WebM have the widest availability across browser vendors at the moment. – scunliffe Apr 18 '11 at 01:38