|
Home > Archive > Macromedia Flash Server > April 2005 > bandwidth adjustments
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
bandwidth adjustments
|
|
| Phillip Kerman 2005-04-07, 5:50 pm |
| When playing a recorded FLV I can adjust for good or poor bandwidths I can
switch between video sources on the fly. Start a new video, seek to the
place I was at in the old video, and start playing.
What I'm not clear about is EXACTLY what adjustments FCS will do while
playing a single recorded FLV.
For example, when frames need to be dropped is this done on the server side
or just the client side? I'm thinking if it's on the server side then not
only are frames dropped but the bandwidth otherwise needed to send all those
frames isn't being used. Is this true? How far can the server go? That
is, at what point does the video just pause?
Are there any other on-the-fly adjustments that FCS can do while playing a
video?
On macromedia.com they claim you can get "instant on" video. What's that?
I mean, no matter how hard I try, I always experience some buffer. Isn't
that some rule of physics? Is this just a marketing exaggeration?
Thanks,
Phillip
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brian Lesser 2005-04-07, 5:50 pm |
| Hi Phillip,
On the server-side, FlashCom only drops frames for live video and
therefore you use less bandwidth for live video. If FlashCom has to drop
too many frames for live video the video appears to stop. There is no
facility that I am aware of to drop recorded video frames. In that case
you need multiple FLV files tuned to common bandwidths rather than one
all purpose file. Yes, "instant on" is a marketing term that refers to
playing video with low buffer times. If the video is matched to the
user's bandwidth it can work otherwise you get "instant on again, off
again" video. The "instant" is only relative to how long Windows and
Real traditionally take to buffer.
Yours truly,
-Brian
Phillip Kerman wrote:
>When playing a recorded FLV I can adjust for good or poor bandwidths I can
>switch between video sources on the fly. Start a new video, seek to the
>place I was at in the old video, and start playing.
>
>What I'm not clear about is EXACTLY what adjustments FCS will do while
>playing a single recorded FLV.
>
>For example, when frames need to be dropped is this done on the server side
>or just the client side? I'm thinking if it's on the server side then not
>only are frames dropped but the bandwidth otherwise needed to send all those
>frames isn't being used. Is this true? How far can the server go? That
>is, at what point does the video just pause?
>
>Are there any other on-the-fly adjustments that FCS can do while playing a
>video?
>
>On macromedia.com they claim you can get "instant on" video. What's that?
>I mean, no matter how hard I try, I always experience some buffer. Isn't
>that some rule of physics? Is this just a marketing exaggeration?
>
>Thanks,
>Phillip
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brian Lesser 2005-04-07, 5:50 pm |
| Hi Phillip,
Thinking about this some more, I guess you could play a recorded stream
as live via the server-side Stream object if you wanted to drop frames
of a recorded video. I wouldn't recommend it though...
Yours truly,
-Brian
Brian Lesser wrote:
> Hi Phillip,
> On the server-side, FlashCom only drops frames for live video and
> therefore you use less bandwidth for live video. If FlashCom has to
> drop too many frames for live video the video appears to stop. There
> is no facility that I am aware of to drop recorded video frames. In
> that case you need multiple FLV files tuned to common bandwidths
> rather than one all purpose file. Yes, "instant on" is a marketing
> term that refers to playing video with low buffer times. If the video
> is matched to the user's bandwidth it can work otherwise you get
> "instant on again, off again" video. The "instant" is only relative to
> how long Windows and Real traditionally take to buffer.
> Yours truly,
> -Brian
>
> Phillip Kerman wrote:
>
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Phillip Kerman 2005-04-07, 5:50 pm |
| Thanks Brian.
I have a couple more questions:
Does receiveVideo(12) not change a 24fps video to play at 12? It doesn't
seem to work in any event.
Also, I'm not so sure my code to swap videos really works that great
because they never seem to line up perfectly. I've tried things like
pausing one then unpausing but that doesn't seem to help. Check it out,
maybe you can think of something to improve it:
client_nc = new NetConnection();
client_nc.onStatus = function(info) {
if (info.code == "NetConnection.Connect.Success") {
initNS()
}
}
function initNS(){
my_ns = new NetStream(client_nc);
my_video.attachVideo(my_ns);
switchTo("high",16);//initial start is 16 seconds in
}
function switchTo(suffix, startTime){
previousStartTime=startTime
my_ns.play("my_movie_"+suffix, startTime);
}
high_btn.onPress=function(){
var t=my_ns.time+previousStartTime
switchTo("high",t);
}
low_btn.onPress=function(){
var t=my_ns.time+previousStartTime
switchTo("low",t);
}
client_nc.connect(....)
Thanks,
Phillip
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Brian Lesser
> Sent: Sunday, February 27, 2005 4:29 PM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] bandwidth adjustments
>
> Hi Phillip,
> Thinking about this some more, I guess you could play a
> recorded stream
> as live via the server-side Stream object if you wanted to
> drop frames
> of a recorded video. I wouldn't recommend it though...
> Yours truly,
> -Brian
>
> Brian Lesser wrote:
>
> stop. There
> the video
> relative to
> bandwidths
> video, seek to the
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Brian Lesser 2005-04-07, 5:50 pm |
| Hi Phillip,
Yeah, I forgot about receiveVideo. When I used it with live video it
seemed to work fine. Your code looks fine. You are probably only playing
to the nearest keyframe. Try setting enhanced seek on in the
Application.xml file for your app:
<EnhancedSeek>true</EnhancedSeek>
Yours truly,
-Brian
Phillip Kerman wrote:
>Thanks Brian.
>
>I have a couple more questions:
>
>Does receiveVideo(12) not change a 24fps video to play at 12? It doesn't
>seem to work in any event.
>
>Also, I'm not so sure my code to swap videos really works that great
>because they never seem to line up perfectly. I've tried things like
>pausing one then unpausing but that doesn't seem to help. Check it out,
>maybe you can think of something to improve it:
>
>client_nc = new NetConnection();
>client_nc.onStatus = function(info) {
> if (info.code == "NetConnection.Connect.Success") {
> initNS()
> }
>}
>
>function initNS(){
> my_ns = new NetStream(client_nc);
> my_video.attachVideo(my_ns);
> switchTo("high",16);//initial start is 16 seconds in
>}
>function switchTo(suffix, startTime){
> previousStartTime=startTime
> my_ns.play("my_movie_"+suffix, startTime);
>
>}
>high_btn.onPress=function(){
> var t=my_ns.time+previousStartTime
> switchTo("high",t);
>}
>low_btn.onPress=function(){
> var t=my_ns.time+previousStartTime
> switchTo("low",t);
>}
>
>
>client_nc.connect(....)
>
>
>
>
>Thanks,
>Phillip
>
>
>
>
>
>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------
>
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Phillip Kerman 2005-04-07, 5:50 pm |
| Thanks, yeah, that must be it.
<EnhancedSeek>true</EnhancedSeek> fixes it insofar as it has better
accuracy--despite some gnarly redraw issues.
I'll go make some high keyframe-rate videos, but it's off by more than what
I'd have guessed the keyframe to be.
Thanks,
Phillip
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Brian Lesser
> Sent: Sunday, February 27, 2005 4:55 PM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] bandwidth adjustments
>
> Hi Phillip,
> Yeah, I forgot about receiveVideo. When I used it with live video it
> seemed to work fine. Your code looks fine. You are probably
> only playing
> to the nearest keyframe. Try setting enhanced seek on in the
> Application.xml file for your app:
> <EnhancedSeek>true</EnhancedSeek>
> Yours truly,
> -Brian
>
> Phillip Kerman wrote:
>
> 12? It doesn't
> Check it out,
> FlashCom has to
> frames. In
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Dario De Agostini 2005-04-07, 5:50 pm |
| >Does receiveVideo(12) not change a 24fps video to play at 12? It doesn't
>seem to work in any event.
It worked before 1.5.2 r138
it doesn't work anymore with latest release, at least this is what i
remember.
It should be somewhere in the release infos (maybe in the "known issues"
paragraph)
Good morning,
Dario De Agostini
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Fabio Sonnati 2005-04-07, 5:50 pm |
| I think It is only possible to drop frame rate to half
with receiveVideo and only with flashcom recorded movies.
Indeed, flashcom recorded movies are encoded
using a sequence of Intra frame & Desposable Frame.
Setting receiveVideo(Fps/2) discards the Disposable Frames
at server level.
----- Original Message -----
From: "Dario De Agostini" <dario-GCN6p6BpY0//wltNWqQaag@public.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: Monday, February 28, 2005 9:16 AM
Subject: Re: [FlashComm] bandwidth adjustments
>
> It worked before 1.5.2 r138
> it doesn't work anymore with latest release, at least this is what i
> remember.
> It should be somewhere in the release infos (maybe in the "known issues"
> paragraph)
>
> Good morning,
> Dario De Agostini
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|