Skip to main content
markc888
Inspiring
Jul 13, 2011 6:22 AM UTC
Question

Smoothing on AIR to iOS video

Does anyone have a working solution to applying smoothing to video when added via the FLVPlayback or NetStream Methods?

When tested on the desktop both these bits of code work but smoothing doesn't seem to be being applied when run on an iPad/

//NetStream

video.attachNetStream(stream);

stream.play(videoURL);

video.smoothing = true;

addChild(video);

//FLVPlayback

videoplayer = flvPlayback.getVideoPlayer(0);

videoplayer.smoothing = true;

Thanks,

Mark

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

markc888
markc888Author
Inspiring
Jul 22, 2011 3:28 PM UTC

Just by chance I have noticed that if you publish the ipa file using GPU configuration, any scaled flv files are smoothed by default.

Unfortunately everything else runs like a dog!

Translate
Participating Frequently
Jul 13, 2011 11:20 AM UTC

Hi,

Video smoothing is disabled on mobile platforms for faster performance.

Thanks,

Sanika

Translate
Known Participant
Jul 14, 2011 6:45 PM UTC

Shouldn't this be something that we should be able to decide on when programming just the same as non-mobile platforms?  I've noticed this too and I find it irritating at best.  When I pull camera input at relatively small sizes and low resolutions I feel as though I should be able to smooth it without taking a major performance hit.  Would the performance on, let's a say a 320x240 video at a low bitrate be so bad with smoothing on it, that it would prevent the video from running at a decent framerate(20+)?

Translate