Here I am sharing a little tidbit about HTML5 video for anyone that needs a refresher. If one needs to seek a video to a specific time, one can do something like this:
In my last installment we looked at all the reasons why editing video isn’t as easy as it should be. Let’s assume that we’ve cleared those hurdles, and now actually want to do some video editing from the command line. A not-uncommon video effect is fast- and slow-motion, sped-up or slowed-down video. Being common, you’d think it would be readily available in any video editing software, but you’d be wrong. Out of respect for all its other virtues, we’ll be using ffmpeg today.
Given (A) foo.mov, (B) bux.avi, and (C) baz.m4v, which can your video software handle correctly?
- A & B
- All of them
- All or some or none of them depending on their codecs, your software’s codecs, and whether they’re doing anything special with the container format.
We worked on a project that utilized 360° panorama viewer, called PanoSalado, and ran into an issue with streaming video from Limelight, a popular CDN service.
PanoSalado renders one more more video sources by capturing the bitmaps and laying them “flat” allowing user to pan and zoom. For this project, our video source (encapsulated by a class called VideoSource) contains an instance of FLVPlayback. This is a standard Flash class for playing flv videos. To use it to play an flv file, one can simply call its load function.
The aspect ratio of an image is the ratio of its width to height, and all images have an inherent aspect ratio. By default, the <mx:Image> tag property maintainAspectRatio is set to true. This setting preserves the aspect ratio so that an image does not appear distorted.