|
Home > Archive > Macromedia Flash Server > February 2006 > Problem in getting Video and Slides in sync!!
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 |
Problem in getting Video and Slides in sync!!
|
|
| Vivek Lakhanpal (Office) 2006-02-21, 2:45 am |
| Hi Everyone,
I am building a player which has a video file converted through a program to
On2 encoding with 20-FMS rate. In the same player I have slides running
adjacent to the video. Slides are also built on 20-FMS rate.
The problem is when I run both Video and Slides in my player which also has
a Frame rate of 20FMS. The Video and Sides never get's in sync. In just 4-5
seconds delay starts creeping in. Video moves faster then slides.
Please suggest me what can be the issue. How I can get this rectify.
Thanks
Vivek.
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Fabio Sonnati 2006-02-21, 2:45 am |
| How much buffer do you set?
----- Original Message -----
From: "Vivek Lakhanpal (Office)" <lakhanpalV-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
To: <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: Tuesday, February 21, 2006 7:22 AM
Subject: [FlashComm] Problem in getting Video and Slides in sync!!
> Hi Everyone,
>
> I am building a player which has a video file converted through a program
> to
> On2 encoding with 20-FMS rate. In the same player I have slides running
> adjacent to the video. Slides are also built on 20-FMS rate.
>
> The problem is when I run both Video and Slides in my player which also
> has
> a Frame rate of 20FMS. The Video and Sides never get's in sync. In just
> 4-5
> seconds delay starts creeping in. Video moves faster then slides.
>
> Please suggest me what can be the issue. How I can get this rectify.
>
> Thanks
> Vivek.
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Bill Sanders 2006-02-21, 7:45 am |
| Vivek,
You can coordinate slides and points in a video using cue points.
Here's some code from a cue point demo I did:
var cueLoad:MovieClipLoader = new MovieClipLoader();
var cueSet:Array = new Array("three", "two", "one");
ns.onCuePoint = function(cueinfo) {
for (var p in cueinfo) {
trace(p+"="+cueinfo[p]);
if (p == "name") {
cueLoad.loadClip(cueSet.pop()+".swf", test_mc);
}
}
};
ns.play("cueme");
vid_video.attachVideo(ns);
HTH,
Bill
On Feb 21, 2006, at 1:22 AM, Vivek Lakhanpal (Office) wrote:
> Hi Everyone,
>
> I am building a player which has a video file converted through a
> program to
> On2 encoding with 20-FMS rate. In the same player I have slides
> running
> adjacent to the video. Slides are also built on 20-FMS rate.
>
> The problem is when I run both Video and Slides in my player which
> also has
> a Frame rate of 20FMS. The Video and Sides never get's in sync. In
> just 4-5
> seconds delay starts creeping in. Video moves faster then slides.
>
> Please suggest me what can be the issue. How I can get this rectify.
>
> Thanks
> Vivek.
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Vivek Lakhanpal (Office) 2006-02-23, 2:45 am |
|
Thanks Bill,
That solves my problem. But still it has one issue although minor. The cue
point as you mentioned are on start of each new slide where we will force
video to get in sync with slide, but now what if the slide is of more then
3-4min because in that case the difference between slide and video starts
showing up.
Thanks,
Vivek
------------------------------
Message: 22
Date: Tue, 21 Feb 2006 05:06:19 -0500
From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
Subject: Re: [FlashComm] Problem in getting Video and Slides in sync!!
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Message-ID: <EA1ED39E-E3EB-4156-89D1-4B5E13EC4130-Wuw85uim5zDR7s880joybQ@public.gmane.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Vivek,
You can coordinate slides and points in a video using cue points.
Here's some code from a cue point demo I did:
var cueLoad:MovieClipLoader = new MovieClipLoader();
var cueSet:Array = new Array("three", "two", "one");
ns.onCuePoint = function(cueinfo) {
for (var p in cueinfo) {
trace(p+"="+cueinfo[p]);
if (p == "name") {
cueLoad.loadClip(cueSet.pop()+".swf", test_mc);
}
}
};
ns.play("cueme");
vid_video.attachVideo(ns);
HTH,
Bill
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Bill Sanders 2006-02-23, 7:45 am |
| Hi Vivek,
What I was talking about is the other way around. The cue points can
be placed on the FLV file using F8. As the video arrives at each cue
point, you can use NetStream.onCuePoint() to fire a function to load
the slide you want at that point of the video.
HTH,
Bill
On Feb 23, 2006, at 1:32 AM, Vivek Lakhanpal (Office) wrote:
>
> Thanks Bill,
>
> That solves my problem. But still it has one issue although minor.
> The cue
> point as you mentioned are on start of each new slide where we will
> force
> video to get in sync with slide, but now what if the slide is of
> more then
> 3-4min because in that case the difference between slide and video
> starts
> showing up.
>
>
> Thanks,
> Vivek
>
> ------------------------------
>
> Message: 22
> Date: Tue, 21 Feb 2006 05:06:19 -0500
> From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
> Subject: Re: [FlashComm] Problem in getting Video and Slides in sync!!
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Message-ID: <EA1ED39E-E3EB-4156-89D1-4B5E13EC4130-Wuw85uim5zDR7s880joybQ@public.gmane.org>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Vivek,
>
> You can coordinate slides and points in a video using cue points.
> Here's some code from a cue point demo I did:
>
> var cueLoad:MovieClipLoader = new MovieClipLoader();
> var cueSet:Array = new Array("three", "two", "one");
> ns.onCuePoint = function(cueinfo) {
> for (var p in cueinfo) {
> trace(p+"="+cueinfo[p]);
> if (p == "name") {
> cueLoad.loadClip(cueSet.pop()+".swf", test_mc);
> }
> }
> };
> ns.play("cueme");
> vid_video.attachVideo(ns);
>
> HTH,
> Bill
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
bill sanders | www.sandlight.com | bloomfield, ct | 860-242-2260
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|
|
|
|
|