|
Hey
guys, I was wondering if you could help me. I've been playing around
with the DistortImage class on video files recently. I am using the
example found
http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html/source-files/
as a template. (I'm still learning)
The problem is that the
video on screen is un-naturally pixelated (the video object off screen
looks perfect) and this is before I have begun distorting it in any
way. I've double checked the dimensions of my video and they are the
same as the distortImage video on screen.
Anyone have any ideas? I would really appreciate it if someone could help!!
P.S. Sandy Rocks!!
Hi,
hum I didn't play so much with videos, so sorry if my answer isn't very smart ^^
When you compare the video in distortImage and off screen, what do you mean by off screen? Outside flash player?
If yes, it would be better to compare the video rendered by flash in a flv player for example..
Why? Because it is possible that flash resample the data itself, and that lead to this non natural pixelation.
Just a 2 cents idea
When
I say the video object is off stage, I mean it is in the grey area in
my fla (it's not visible when I preview my movie, but it is there)
As
for the flv player comment, that is the source of my question. When I
play my flv in an external flv player, it plays the video at a far
superior quality to my swf flash movie. I dont understand why? Although
I am playing my videos from an external folder on my hard drive. Do you
think it would help to embed them into my movie?
Thanks
for the feedback guys. If I find out a way to improve the picture
quality i'll let you know. It's not too important anymore, but would
make things look more polished.
Cheers guys!
I managed to find a workaround for my problem!
Rather
than create a video object inside the library, I now import my videos
into the library which creates an FLVPlayback object for each video I
use. I give it the same instance name as in the code and it works
perfectly without any pixelation!
I am using the DistortImage
example found
http://sandy.media-box.net/blog/distortimage-20-the-fastest-way-to-freely-distort-image-with-flash-in-actionscript.html/source-files/
although trying my hand at using video with it.
I hope this might help someone with a similar problem in the near future.
Thanks again guys
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)