#8: Auto-detect the video dimensions
- Contents
When you upload a video file, Plone should auto-detect the movie's dimensions and auto-populate these fields.
- Proposed by
- Nate Aune
- Proposal type
- Architecture
- State
- being-discussed
Motivation
Each video file is encoded with height and width properties. In order to playback the video with the correct dimensions we need to record these values. We can either ask the user for them or auto-detect them by reading the file itself. We want to do the later if possible, and fallback to user input if necessary.
Proposal
Look at the way it's done in ATFlashMovie using swfHeaderDate.py which auto-detects the height/width from Flash SWF files. A similar method should be possible for Quicktime, Windows Media and Real.
