I have done some testing on streaming a YouTube video from WiFi
on my N95. It worked flawlessly. The frame rate was not dropping at all.
The issue your posted looks like the low bandwidth connection. You
might set the buffer to 10/20 secs, just for testing. And try to test on WiFi
connection first. You can later calculate the required bandwidth via
getBytesLoaded as suggested earlier.
Best,
// chall3ng3r //
Jesse is
correct – the video stream that you’re requesting from YT is meant
for desktop viewing. Additionally the size of the video is much larger
than the viewable area on your phone. Because the actual video x/y size
is larger, FL3 has to scale the video to play within the defined area of your
video object – thus resulting in slow performance.
Have you
tried to just stream a video that was published as 320x240 to play full screen
on your device, upload to a test server and stream from there? Also try
smaller video clips that will not play full screen.
There are
things you’ll need to experiment with:
- Video size (x/y)
- Data rate (bitrate)
- Audio (sampling and stereo/mono)
- Video object size on stage
- Buffering
- Connection (EDGE, 3G, WiFi)
Best,
Bill
From: FlashLite
yahoogroups.com
[mailto:FlashLite
yahoogroups.com] On Behalf Of Jesse Warden
Sent: Tuesday, March 11, 2008 9:00 AM
To: FlashLite
yahoogroups.com
Subject: Re: [FlashLite] You tube Streaming.
It sounds like the video has a too-high bitrate for your phones
connection. Video should continually play. If it does not, it's
because it cannot download fast enough. Doesn't YouTube default to 100k
bitrate?
On
Wed, Mar 12, 2008 at 5:33 AM, cyril < cyril
e-consystems.com">cyril
e-consystems.com>
wrote:
Hey
all,
Can any body suggest a method to smoothen the flv play back from youtube?I am
using flashlite 3 and action script 2. rite now, I am using a netstream object
and a stage videiObject and attaching the vedio to the video component and I
did set the buffer time as 1 second. But the video buffers for a second and
plays it and then pauses until the next one second buffers. I tried to use two
netstream objects and interchange both in a way that one will play while other
will download the next 1 second. But I am not able to inter assign and play
since flash lite doesn't directly give access to buffer and while
downloading, the second netstream object makes sound, I muted the sound, but
still I couldn't make this. I am eagerly looking for you people's reply. Please
leave your views and solutions.
Thanks,
Cyril
K Thankachan | e-con systems | Chennai.
01C883E8.B6ECC240" align="left" hspace="12" alt="cid:image001.gif
01C7D5E9.15549730" v="_x0000_s1026">e-con Systems, Chennai
awarded SILVER Level Partner Status, Microsoft Embedded Silver Partner with
MSWEPP
e-conSystems, acknowledged as
Windows Embedded Silver Partner by
Microsoft, is an ideal product Development Partner offering services in
Embedded Systems Domain. e-con Specializes in 'Productizing Ideas" and
work closely with customers for realizing the concept into a successful
product, starting from scratch
.