InformaCam Server Standard Video Resolutions¶
Enabling “responsive” design on the InformaCam server, for video playback (the recommended method for best playback quality) does not fit within the current implementation of the front-end UX. The front-end is using the Sammy framework, and an initial capture of window size (at time of load) to calculate a controlled px size of all divs that are in the Sammy “tree”. This initial calculation of screen size, and its related tightly “controlled” pixel layout becomes important to accurately locate video and image annotations within their applicable image/video frames. Therefore, the InformaCam server / UX will not attempt responsive video playback, and will instead control for standard screen sizes; and serve up video that has been compressed into an appropriate standard size and which fits within the available screen space.
Referring to “Android Supported Media Formats” (see [https://developer.android.com/guide/appendix/media-formats.html]), the following supported file types should be considered, when Android devices are submitting video to InformaCam:- 3GPP
- MPEG-4
- MPEG-TS
- WebM
- Matroska
Based on these file formats the following compression formats and/or related specification should be considered:
File Format | Standard/Specification | Android Suggested Format | Notes |
3GPP | H.263 | ||
MPEG-4 | H.264 | x | |
MPEG-TS | MPEG-2 | ||
WebM | H.264 | ||
Matroska | Inherits from multiple including 3GPP, MPEG-4, MPEG-TS and WebM |
Based on these file formats the following compression formats and/or related specification should be considered:
Incoming format | px* |
3GPP | |
128 X 96 | |
176 x 144 | |
352 x 288 | |
704 x 575 | |
MPEG-4, WebM | RECOMMENDED ANDRODID FRAME SIZES; APPLY as DEFAULT |
176 x 144 | |
480 x 360 | |
1280 x 720 | |
MPEG-TS | |
720 × 576 | |
720 × 480 | |
704 × 576 | |
704 × 480 | |
352 × 576 | |
352 × 480 | |
352 × 288 | |
352 × 240 | |
Matraska | |
Inherits from parent format, android supported above |