Help - Search - Members - Calendar
Full Version: FLVPlayback: Scale video, not Skin/Screen
Pixel2Life Forum > Help Section > Adobe Flash
davidb2002
I have managed to dynamically create an FLVPlayback with AS3 that will dynamically load an flv file. However, I now receive the unwanted effect that when the video is loaded in, the skin of hte player scales down to fit the video. What I want it to do is scale the video to fit the skin's screen, BUT to keep the aspect ratio of the flv.

So for instance, if I have a video that is 300x100 and my skin's screen is 600x600, the video should scale up to 600x300 (not 600x600).

At the moment, with the same example, the video would stay at 300x100 and the skin would scale down to 300x100.

Thanks for any help!
austen
I'm not sure exactly what you're after here? As far as I know you'd have to re-encode the FLV on the fly to change its size.. I've never done that (not sure if it's even possible)... and with the time it takes to encode FLV's as it is, it might not be very efficient?

I could be incorrect but i'm not sure that you can do this without Flash Media Server. (on-the-fly flv encoding that is)

Good luck,

-austen victory.gif
davidb2002
What I mean is that I have an flvplayback player scaled for standard video reatio (4:3). However, I want to place widescreen as well in a letter box (16:9). I need the player not to resize to the video, but to add black bars (letterbox) the widescreen videos.
austen
David,
Turns out i don't have access to actionscript 3 at home yet, but i'm downloading a trial right now, I'll post an example when Its done.


-austen victory.gif
austen
David, have you figured out your problem yet? If not i can now help you solve this, It's actually quite simple.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.