Quantcast
Channel: stoimen's web log » flex 3
Viewing all articles
Browse latest Browse all 10

Flex 3 NetStream video rotation

$
0
0

Why should I rotate a video stream?

Well if you’d like to make some video upload application, let’s assume someone makes a video with it’s phone. The case with a video camera is not the same, almost every camera adjusts it’s rotation correctly, but when it comes to your mobile not always the video contains information about the rotation.

The problem is when the user uploads a rotated video, how I’d rotate it back on the correct position when playing it with a simple FLV player.

The answer is so simple!

You can just use this simple chunk of code:

...
_video = new Video();
_video.rotation = 90;
...

and thus you can rotate the video with several degrees.

Related posts:

  1. Video sites must use … mp4 and only mp4!
  2. Check YouTube Video Existence with Zend_Gdata_YouTube
  3. HTML5 video support. Detecting, playing and progressive enhancement!
  4. Few Thoughts on Web Video

Viewing all articles
Browse latest Browse all 10

Trending Articles