|
Home > Archive > Macromedia Flash Server > April 2006 > Metadata and FCS
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]
|
|
| Dave Bath 2006-04-27, 6:47 am |
| Hi guys,
I've seen a few questions on this, but I couldn't find a definitive answer...
When using VP6 encoded video with progressive download, metaData (for height, width) etc is retrived fine.
However, when streaming through FCS, not only do I not seem to get any metaData, the onMetaData function doesn't even fire... is this somethign well known or have I had my head under a rock?
If there is a problem with FCS sending metadata, does FCS at least *read* metadata.. so I could extract it on the server end and send it to the client?
Any thoughts greatly appreciated.
Dave
PS. On a side note, has anyone experienced slight audio glitches when streaming VP6? Every now and then a little high pitched squeek? They are not present when playing it locally.. so it's not an encoding issue.
________________________________________
_______
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-04-27, 6:47 am |
| Dave,
Have your tried using Buraks' Metadata Injector? I've used it, and f
it's the best metadata tool I've seen for FLV files, and I've used it
for both PDs and streaming FCS. The best part is that it's free:
http://www.buraks.com/flvmdi/
HTH,
Bill
On Apr 25, 2006, at 5:19 AM, Dave Bath wrote:
> Hi guys,
>
> I've seen a few questions on this, but I couldn't find a definitive
> answer...
>
> When using VP6 encoded video with progressive download, metaData
> (for height, width) etc is retrived fine.
>
> However, when streaming through FCS, not only do I not seem to get
> any metaData, the onMetaData function doesn't even fire... is this
> somethign well known or have I had my head under a rock?
>
> If there is a problem with FCS sending metadata, does FCS at least
> *read* metadata.. so I could extract it on the server end and send
> it to the client?
>
> Any thoughts greatly appreciated.
>
> Dave
>
> PS. On a side note, has anyone experienced slight audio glitches
> when streaming VP6? Every now and then a little high pitched
> squeek? They are not present when playing it locally.. so it's not
> an encoding issue.
>
> ________________________________________
_______
> 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
| |
| Dave Bath 2006-04-27, 6:47 am |
| Hi Bill,
I did think about that.. but things like width and height etc should be present in the VP6 file already... indeed they are if the file is PD'ed but as soon as the same file is used via FCS (1.5) my onMetaData function doesn't fire any more..
This is only a problem as we've just started using VP6... it was ok before (i think..)
Best,
Dave
----- Original Message -----
From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 10:37:00
Subject: Re: [FlashComm] Metadata and FCS
Dave,
Have your tried using Buraks' Metadata Injector? I've used it, and f
it's the best metadata tool I've seen for FLV files, and I've used it
for both PDs and streaming FCS. The best part is that it's free:
http://www.buraks.com/flvmdi/
HTH,
Bill
On Apr 25, 2006, at 5:19 AM, Dave Bath wrote:
> Hi guys,
>
> I've seen a few questions on this, but I couldn't find a definitive
> answer...
>
> When using VP6 encoded video with progressive download, metaData
> (for height, width) etc is retrived fine.
>
> However, when streaming through FCS, not only do I not seem to get
> any metaData, the onMetaData function doesn't even fire... is this
> somethign well known or have I had my head under a rock?
>
> If there is a problem with FCS sending metadata, does FCS at least
> *read* metadata.. so I could extract it on the server end and send
> it to the client?
>
> Any thoughts greatly appreciated.
>
> Dave
>
> PS. On a side note, has anyone experienced slight audio glitches
> when streaming VP6? Every now and then a little high pitched
> squeek? They are not present when playing it locally.. so it's not
> an encoding issue.
>
> ________________________________________
_______
> 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
________________________________________
_______
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
| |
| Stefan Richter 2006-04-27, 6:47 am |
| Definitly upgrade to FCS 1.5.2 if you haven't already.
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 10:41
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Hi Bill,
>
> I did think about that.. but things like width and height etc
> should be present in the VP6 file already... indeed they are
> if the file is PD'ed but as soon as the same file is used via
> FCS (1.5) my onMetaData function doesn't fire any more..
>
> This is only a problem as we've just started using VP6... it
> was ok before (i think..)
>
> Best,
>
> Dave
>
>
> ----- Original Message -----
> From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 10:37:00
> Subject: Re: [FlashComm] Metadata and FCS
>
> Dave,
>
> Have your tried using Buraks' Metadata Injector? I've used
> it, and f it's the best metadata tool I've seen for FLV
> files, and I've used it for both PDs and streaming FCS. The
> best part is that it's free:
>
> http://www.buraks.com/flvmdi/
>
> HTH,
> Bill
> On Apr 25, 2006, at 5:19 AM, Dave Bath wrote:
>
> metaData (for
> to get any
> and send it
> glitches when
> squeek? They
>
> 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
>
>
>
> ________________________________________
_______
> 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
| |
| Stefan Richter 2006-04-27, 6:47 am |
|
> However, when streaming through FCS, not only do I not seem
> to get any metaData, the onMetaData function doesn't even
> fire... is this somethign well known or have I had my head
> under a rock?
If the file contains metadata then it should fire on FCS, FMS and
progressive.
> If there is a problem with FCS sending metadata
Not that I am aware of.
> Any thoughts greatly appreciated.
Did you try
var ns:NetStream = new NetStream(nc);
ns.onMetaData = function(obj)
{
for (var i in obj)
{
trace(i + ": " + obj[i]);
}
}
Any traces at all there? What tool have you used to encode the file?
Stefan
> Dave
>
> PS. On a side note, has anyone experienced slight audio
> glitches when streaming VP6? Every now and then a little high
> pitched squeek? They are not present when playing it
> locally.. so it's not an encoding issue.
>
> ________________________________________
_______
> 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-04-27, 6:48 am |
| Dave,
Let me give it a spin on FMS2 and see if it works w/o any injection.
A couple years ago I worked extensively w/ metadata for MM, and while
I ran into some problems, I didn't experience the ones you
mention, ...but they weren't set up using VP6 then.
I'll get back to you later this morning.
Bill
On Apr 25, 2006, at 5:41 AM, Dave Bath wrote:
> Hi Bill,
>
> I did think about that.. but things like width and height etc
> should be present in the VP6 file already... indeed they are if
> the file is PD'ed but as soon as the same file is used via FCS
> (1.5) my onMetaData function doesn't fire any more..
>
> This is only a problem as we've just started using VP6... it was ok
> before (i think..)
>
> Best,
>
> Dave
>
>
> ----- Original Message -----
> From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 10:37:00
> Subject: Re: [FlashComm] Metadata and FCS
>
> Dave,
>
> Have your tried using Buraks' Metadata Injector? I've used it, and f
> it's the best metadata tool I've seen for FLV files, and I've used it
> for both PDs and streaming FCS. The best part is that it's free:
>
> http://www.buraks.com/flvmdi/
>
> HTH,
> Bill
> On Apr 25, 2006, at 5:19 AM, Dave Bath wrote:
>
>
> 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
>
>
>
> ________________________________________
_______
> 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
| |
| Dave Bath 2006-04-27, 6:48 am |
| Thanks Bill..
I await your response!
Dave
----- Original Message -----
From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 10:47:50
Subject: Re: [FlashComm] Metadata and FCS
Dave,
Let me give it a spin on FMS2 and see if it works w/o any injection.
A couple years ago I worked extensively w/ metadata for MM, and while
I ran into some problems, I didn't experience the ones you
mention, ...but they weren't set up using VP6 then.
I'll get back to you later this morning.
Bill
On Apr 25, 2006, at 5:41 AM, Dave Bath wrote:
> Hi Bill,
>
> I did think about that.. but things like width and height etc
> should be present in the VP6 file already... indeed they are if
> the file is PD'ed but as soon as the same file is used via FCS
> (1.5) my onMetaData function doesn't fire any more..
>
> This is only a problem as we've just started using VP6... it was ok
> before (i think..)
>
> Best,
>
> Dave
>
>
> ----- Original Message -----
> From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 10:37:00
> Subject: Re: [FlashComm] Metadata and FCS
>
> Dave,
>
> Have your tried using Buraks' Metadata Injector? I've used it, and f
> it's the best metadata tool I've seen for FLV files, and I've used it
> for both PDs and streaming FCS. The best part is that it's free:
>
> http://www.buraks.com/flvmdi/
>
> HTH,
> Bill
> On Apr 25, 2006, at 5:19 AM, Dave Bath wrote:
>
>
> 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
>
>
>
> ________________________________________
_______
> 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
________________________________________
_______
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
| |
| Dave Bath 2006-04-27, 6:48 am |
| Hi Stephan,
Upgraded as you suggested.
And no, looping through the contents of onMetaData shows nothing.. and tracing out something like "I've been called!" at the beginning of onMetaData shows nothing... hence, i'm pretty sure the problem is that the stream is just never getting called.
However, there is potentially one piece of information I've left out... The server actaully publishes the stream (from local file) and then all other listeners tune into the stream, so this way it is possible to to TV-style delivery of a program. Is it po
ssible that the stream the subscribers are listening to does not have metadata in, as the metadata is not inject from the file by the server?
Thanks for all the advice so far..
Cheers,
Dave
----- Original Message -----
From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 10:46:42
Subject: RE: [FlashComm] Metadata and FCS
> However, when streaming through FCS, not only do I not seem
> to get any metaData, the onMetaData function doesn't even
> fire... is this somethign well known or have I had my head
> under a rock?
If the file contains metadata then it should fire on FCS, FMS and
progressive.
> If there is a problem with FCS sending metadata
Not that I am aware of.
> Any thoughts greatly appreciated.
Did you try
var ns:NetStream = new NetStream(nc);
ns.onMetaData = function(obj)
{
for (var i in obj)
{
trace(i + ": " + obj[i]);
}
}
Any traces at all there? What tool have you used to encode the file?
Stefan
> Dave
>
> PS. On a side note, has anyone experienced slight audio
> glitches when streaming VP6? Every now and then a little high
> pitched squeek? They are not present when playing it
> locally.. so it's not an encoding issue.
>
> ________________________________________
_______
> 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
________________________________________
_______
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
| |
| Stefan Richter 2006-04-27, 6:48 am |
| Bingo,
That's probably it.
onMetadata fires at the very beginning of a stream. If you tune into an
existing live stream (or indeed a pseudo-live stream as you describe - I
assume that's a serverside stream) then there is no way of firing onmetadata
again as the beginning is over so to speak.
You have several choices from here:
- capture onmetadata serverside when you start up the stream, save to a
SharedObject and work on the client from that
- depending on what metadata info you need you can let the server tell you
the total duration. The height and width can be figured out without
metadata. Maybe you are familiar with that. If not then post again.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 11:12
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Hi Stephan,
>
> Upgraded as you suggested.
>
> And no, looping through the contents of onMetaData shows
> nothing.. and tracing out something like "I've been called!"
> at the beginning of onMetaData shows nothing... hence, i'm
> pretty sure the problem is that the stream is just never
> getting called.
>
> However, there is potentially one piece of information I've
> left out... The server actaully publishes the stream (from
> local file) and then all other listeners tune into the
> stream, so this way it is possible to to TV-style delivery of
> a program. Is it possible that the stream the subscribers are
> listening to does not have metadata in, as the metadata is
> not inject from the file by the server?
>
> Thanks for all the advice so far..
>
> Cheers,
> Dave
>
> ----- Original Message -----
> From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 10:46:42
> Subject: RE: [FlashComm] Metadata and FCS
>
>
> to get any
>
> If the file contains metadata then it should fire on FCS, FMS
> and progressive.
>
>
>
> Not that I am aware of.
>
>
>
>
> Did you try
>
> var ns:NetStream = new NetStream(nc);
> ns.onMetaData = function(obj)
> {
> for (var i in obj)
> {
> trace(i + ": " + obj[i]);
> }
> }
>
>
> Any traces at all there? What tool have you used to encode the file?
>
> Stefan
>
>
>
>
> glitches when
> squeek? They
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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
| |
| Dave Bath 2006-04-27, 6:48 am |
| Hi Stephan,
Yeah, looking back through all my old code (and looking at my comments!) I realized i have alwasy had this problem.....
The way I got around it was to have a checkAspect() function which was called on a timer. This made sure that my video display window was the right size for the stream, and centered it in the viewing area etc etc. However, with VP6 video, sometimes the
width and height of the stream comes back as 0, and I have no idea why. It seems compltely random... I enabled my old debug traces, to tell me what height it was trying to set to.. and about 1 in 5 plays of the stream it just gets a stream width/height o
f 0,0 and never recovers.
This, interestingly, is new behaviour after using VP6. All the old video using MX flv is absolutely fine - works every time.
I also can't just check the values at onBufferFull becuase the server can potentially stream several files (of different aspect ratios) one after another, and so you can see the mistake there..
Perhaps a shared object is the answer... and the server simply writes the useful metadata into it everytime it reads a new file.
Please let me know if I have missed anything in a method to get size in another way.
Cheers,
Dave
----- Original Message -----
From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 11:16:38
Subject: RE: [FlashComm] Metadata and FCS
Bingo,
That's probably it.
onMetadata fires at the very beginning of a stream. If you tune into an
existing live stream (or indeed a pseudo-live stream as you describe - I
assume that's a serverside stream) then there is no way of firing onmetadata
again as the beginning is over so to speak.
You have several choices from here:
- capture onmetadata serverside when you start up the stream, save to a
SharedObject and work on the client from that
- depending on what metadata info you need you can let the server tell you
the total duration. The height and width can be figured out without
metadata. Maybe you are familiar with that. If not then post again.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 11:12
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Hi Stephan,
>
> Upgraded as you suggested.
>
> And no, looping through the contents of onMetaData shows
> nothing.. and tracing out something like "I've been called!"
> at the beginning of onMetaData shows nothing... hence, i'm
> pretty sure the problem is that the stream is just never
> getting called.
>
> However, there is potentially one piece of information I've
> left out... The server actaully publishes the stream (from
> local file) and then all other listeners tune into the
> stream, so this way it is possible to to TV-style delivery of
> a program. Is it possible that the stream the subscribers are
> listening to does not have metadata in, as the metadata is
> not inject from the file by the server?
>
> Thanks for all the advice so far..
>
> Cheers,
> Dave
>
> ----- Original Message -----
> From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 10:46:42
> Subject: RE: [FlashComm] Metadata and FCS
>
>
> to get any
>
> If the file contains metadata then it should fire on FCS, FMS
> and progressive.
>
>
>
> Not that I am aware of.
>
>
>
>
> Did you try
>
> var ns:NetStream = new NetStream(nc);
> ns.onMetaData = function(obj)
> {
> for (var i in obj)
> {
> trace(i + ": " + obj[i]);
> }
> }
>
>
> Any traces at all there? What tool have you used to encode the file?
>
> Stefan
>
>
>
>
> glitches when
> squeek? They
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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
| |
| Stefan Richter 2006-04-27, 6:48 am |
| When you check width and height, how are you doing this? Code?
Are you constantly checking it on an interval?
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 11:46
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Hi Stephan,
>
> Yeah, looking back through all my old code (and looking at my
> comments!) I realized i have alwasy had this problem.....
>
> The way I got around it was to have a checkAspect() function
> which was called on a timer. This made sure that my video
> display window was the right size for the stream, and
> centered it in the viewing area etc etc. However, with VP6
> video, sometimes the width and height of the stream comes
> back as 0, and I have no idea why. It seems compltely
> random... I enabled my old debug traces, to tell me what
> height it was trying to set to.. and about 1 in 5 plays of
> the stream it just gets a stream width/height of 0,0 and
> never recovers.
>
> This, interestingly, is new behaviour after using VP6. All
> the old video using MX flv is absolutely fine - works every time.
>
> I also can't just check the values at onBufferFull becuase
> the server can potentially stream several files (of different
> aspect ratios) one after another, and so you can see the
> mistake there..
>
> Perhaps a shared object is the answer... and the server
> simply writes the useful metadata into it everytime it reads
> a new file.
>
> Please let me know if I have missed anything in a method to
> get size in another way.
>
> Cheers,
> Dave
>
>
> ----- Original Message -----
> From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 11:16:38
> Subject: RE: [FlashComm] Metadata and FCS
>
> Bingo,
> That's probably it.
>
> onMetadata fires at the very beginning of a stream. If you
> tune into an existing live stream (or indeed a pseudo-live
> stream as you describe - I assume that's a serverside stream)
> then there is no way of firing onmetadata again as the
> beginning is over so to speak.
>
> You have several choices from here:
> - capture onmetadata serverside when you start up the stream,
> save to a SharedObject and work on the client from that
> - depending on what metadata info you need you can let the
> server tell you the total duration. The height and width can
> be figured out without metadata. Maybe you are familiar with
> that. If not then post again.
>
>
> Stefan
>
>
>
>
>
> nothing.. and
> file) and
> possible that the
> metadata in, as
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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
| |
| Dave Bath 2006-04-27, 6:48 am |
| Yeah, constantly checking width and height of the video on an interval and setting the _width and _height of the video object to match.
sometimes the width and height of the stream is just 0 tho..
D
----- Original Message -----
From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 11:52:54
Subject: RE: [FlashComm] Metadata and FCS
When you check width and height, how are you doing this? Code?
Are you constantly checking it on an interval?
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 11:46
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Hi Stephan,
>
> Yeah, looking back through all my old code (and looking at my
> comments!) I realized i have alwasy had this problem.....
>
> The way I got around it was to have a checkAspect() function
> which was called on a timer. This made sure that my video
> display window was the right size for the stream, and
> centered it in the viewing area etc etc. However, with VP6
> video, sometimes the width and height of the stream comes
> back as 0, and I have no idea why. It seems compltely
> random... I enabled my old debug traces, to tell me what
> height it was trying to set to.. and about 1 in 5 plays of
> the stream it just gets a stream width/height of 0,0 and
> never recovers.
>
> This, interestingly, is new behaviour after using VP6. All
> the old video using MX flv is absolutely fine - works every time.
>
> I also can't just check the values at onBufferFull becuase
> the server can potentially stream several files (of different
> aspect ratios) one after another, and so you can see the
> mistake there..
>
> Perhaps a shared object is the answer... and the server
> simply writes the useful metadata into it everytime it reads
> a new file.
>
> Please let me know if I have missed anything in a method to
> get size in another way.
>
> Cheers,
> Dave
>
>
> ----- Original Message -----
> From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 11:16:38
> Subject: RE: [FlashComm] Metadata and FCS
>
> Bingo,
> That's probably it.
>
> onMetadata fires at the very beginning of a stream. If you
> tune into an existing live stream (or indeed a pseudo-live
> stream as you describe - I assume that's a serverside stream)
> then there is no way of firing onmetadata again as the
> beginning is over so to speak.
>
> You have several choices from here:
> - capture onmetadata serverside when you start up the stream,
> save to a SharedObject and work on the client from that
> - depending on what metadata info you need you can let the
> server tell you the total duration. The height and width can
> be figured out without metadata. Maybe you are familiar with
> that. If not then post again.
>
>
> Stefan
>
>
>
>
>
> nothing.. and
> file) and
> possible that the
> metadata in, as
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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
| |
| Stefan Richter 2006-04-27, 6:48 am |
| Hmm strange, I haven't tried this with VP6 video yet but if what you
describe can be reproduced then it's a bug...
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 11:58
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Yeah, constantly checking width and height of the video on an
> interval and setting the _width and _height of the video
> object to match.
>
> sometimes the width and height of the stream is just 0 tho..
>
> D
> ----- Original Message -----
> From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 11:52:54
> Subject: RE: [FlashComm] Metadata and FCS
>
> When you check width and height, how are you doing this? Code?
> Are you constantly checking it on an interval?
>
> Stefan
>
>
>
> function which was
> viewing area etc
> height of the
> height it was
> just gets a
> the server
> ratios) one
> simply writes
> get size
> tune into
> is no way
> stream, save to
> server tell
> then post
> Behalf Of Dave
> i'm pretty
> function(obj)
> encode the file?
> an encoding
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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-04-27, 6:48 am |
| Hi Dave,
Here's what I get using plain-vanilla AVI => FLV (w/ ON2 VP6)
conversion w/ no added metadata:
http://poobah.hartford.edu/flashcom/applications/buf/
dyBufMeta.html
(Type in jo, jo2 or jo3 and press Play.) The metadata script is:
ns.onMetaData = function(info)
{
meta_ta.text="";
for (var p in info) {
meta_ta.text += p+"."+info[p]+newline;
}
};
This was a hack of another project I was working on using dynamic
buffering. However, I think it shows that I'm getting metadata using
VP6 and FMS2. So this may be a case of FCS vs. FMS2.
HTH,
Bill
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
| |
| Dave Bath 2006-04-27, 6:48 am |
| Hi Stephan,
This is the code i'm using:
checkAspect = function()
{
bp_Utils.bp_Trace("Setting Video from: "+tempVideo._width + " x " + tempVideo._height + " to: "+ tempVideo.width + " x " + tempVideo.height +".",3);
tempVideo._width = tempVideo.width;
tempVideo._height = tempVideo.height;
tempVideo._x = (StageSize.w - tempVideo.width)/2;
tempVideo._y = (StageSize.h - tempVideo.height)/2;
}
Which works perfectly with MX flv but not VP6... but it seems intermittent. If i play a VP6 video first, then width and height read 0. If I play an MX video first, and then VP6, it's ok.
Very strange behaviour... for safety, i think probably capturing the onMetaData event at the server is most reliable. Then I dont need to continually run the checkAspect function... unless anyone has any better ideas!
Cheers,
Dave
----- Original Message -----
From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 12:05:28
Subject: RE: [FlashComm] Metadata and FCS
Hmm strange, I haven't tried this with VP6 video yet but if what you
describe can be reproduced then it's a bug...
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Dave Bath
> Sent: 25 April 2006 11:58
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Yeah, constantly checking width and height of the video on an
> interval and setting the _width and _height of the video
> object to match.
>
> sometimes the width and height of the stream is just 0 tho..
>
> D
> ----- Original Message -----
> From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
> To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
> Sent: 25 April 2006 11:52:54
> Subject: RE: [FlashComm] Metadata and FCS
>
> When you check width and height, how are you doing this? Code?
> Are you constantly checking it on an interval?
>
> Stefan
>
>
>
> function which was
> viewing area etc
> height of the
> height it was
> just gets a
> the server
> ratios) one
> simply writes
> get size
> tune into
> is no way
> stream, save to
> server tell
> then post
> Behalf Of Dave
> i'm pretty
> function(obj)
> encode the file?
> an encoding
>
> ________________________________________
_______
> 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
>
________________________________________
_______
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
| |
| Dave Bath 2006-04-27, 6:48 am |
| Hi Bill,
thanks for the input! I think we may have spotted the reason, but potentially uncovered some other strange behaviour...
Best,
Dave
----- Original Message -----
From: Bill Sanders <wdsanders-Wuw85uim5zDR7s880joybQ@public.gmane.org>
To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: 25 April 2006 13:01:33
Subject: Re: [FlashComm] Metadata and FCS
Hi Dave,
Here's what I get using plain-vanilla AVI => FLV (w/ ON2 VP6)
conversion w/ no added metadata:
http://poobah.hartford.edu/flashcom/applications/buf/
dyBufMeta.html
(Type in jo, jo2 or jo3 and press Play.) The metadata script is:
ns.onMetaData = function(info)
{
meta_ta.text="";
for (var p in info) {
meta_ta.text += p+"."+info[p]+newline;
}
};
This was a hack of another project I was working on using dynamic
buffering. However, I think it shows that I'm getting metadata using
VP6 and FMS2. So this may be a case of FCS vs. FMS2.
HTH,
Bill
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
________________________________________
_______
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
| |
| Brian Lesser 2006-04-27, 6:48 am |
| Looks like you've found a new bug.
-Brian
Dave Bath wrote:
[vbcol=seagreen]
>Hi Stephan,
>
>This is the code i'm using:
>
>checkAspect = function()
>{
> bp_Utils.bp_Trace("Setting Video from: "+tempVideo._width + " x " + tempVideo._height + " to: "+ tempVideo.width + " x " + tempVideo.height +".",3);
> tempVideo._width = tempVideo.width;
> tempVideo._height = tempVideo.height;
> tempVideo._x = (StageSize.w - tempVideo.width)/2;
> tempVideo._y = (StageSize.h - tempVideo.height)/2;
>}
>
>Which works perfectly with MX flv but not VP6... but it seems intermittent. If i play a VP6 video first, then width and height read 0. If I play an MX video first, and then VP6, it's ok.
>
>Very strange behaviour... for safety, i think probably capturing the onMetaData event at the server is most reliable. Then I dont need to continually run the checkAspect function... unless anyone has any better ideas!
>
>Cheers,
>
>Dave
>----- Original Message -----
>From: Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org>
>To: FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
>Sent: 25 April 2006 12:05:28
>Subject: RE: [FlashComm] Metadata and FCS
>
>Hmm strange, I haven't tried this with VP6 video yet but if what you
>describe can be reproduced then it's a bug...
>
>Stefan
>
>
>
>
>
--
________________________________________
______________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
________________________________________
______________________________
________________________________________
_______
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
| |
| erixtekila 2006-04-27, 6:48 am |
| > onMetadata fires at the very beginning of a stream.
Sorry to enter in this discussion like that, but I have a question.
What is the behavior o a playlist of recorded streams with metadata ?
Will the onMetaData be fired each time the beginning (even merged) of a
flv begin ?
Thanks.
-----------
erixtekila
http://blog.v-i-a.net/
________________________________________
_______
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
| |
| Stefan Richter 2006-04-27, 6:48 am |
| Not sure what you mean by merged by if you play a few flvs back to back then
it will fire at each flv's start.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> erixtekila
> Sent: 25 April 2006 18:48
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Sorry to enter in this discussion like that, but I have a question.
>
> What is the behavior o a playlist of recorded streams with metadata ?
> Will the onMetaData be fired each time the beginning (even
> merged) of a flv begin ?
>
> Thanks.
> -----------
> erixtekila
> http://blog.v-i-a.net/
>
> ________________________________________
_______
> 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
| |
| Stefan Richter 2006-04-27, 6:48 am |
| Go file it:
http://www.macromedia.com/cfusion/m...orm&product=16&
6213=24
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Brian Lesser
> Sent: 25 April 2006 18:47
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Metadata and FCS
>
> Looks like you've found a new bug.
> -Brian
>
> Dave Bath wrote:
>
> "+tempVideo._width + " x " + tempVideo._height + " to: "+
> tempVideo.width + " x " + tempVideo.height +".",3);
> seems intermittent. If i play a VP6 video first, then width
> and height read 0. If I play an MX video first, and then
> VP6, it's ok.
> capturing the onMetaData event at the server is most
> reliable. Then I dont need to continually run the
> checkAspect function... unless anyone has any better ideas!
> an interval
> window was
> compltely
> All the old
>
>
> --
> ________________________________________
______________________________
> Brian Lesser
> Assistant Director, Teaching and Technology Support Computing
> and Communications Services Ryerson university 350 Victoria St.
> Toronto, Ontario Phone: (416) 979-5000 ext. 6835
> M5B 2K3 Fax: (416) 979-5220
> Office: AB48D E-mail: blesser-6s6ziW1YCwCw5LPnMra/2Q@public.gmane.org
> (Enter through LB66) Web: http://www.ryerson.ca/~blesser
> ________________________________________
______________________________
>
> ________________________________________
_______
> 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
| |
| erixtekila 2006-04-27, 6:48 am |
|
Le 25 avr. 06, =E0 20:49, Stefan Richter a =E9crit :
> Not sure what you mean by merged by if you play a few flvs back to=20
> back then
> it will fire at each flv's start.
That wasn't what I meant.
If I get, say, 4 flv to put in a playlist and all of them get some=20
metadata inserted, will the event being fired 4 times ?
var ns:NetStream =3D new NetStream (nc);
play ("stream1", 0, -1);
play ("stream2", 0, -1, false);
play ("stream3", 0, -1, false);
play ("stream4", 0, -1, false);
Cheers.
-----------
erixtekila
http://blog.v-i-a.net/=
________________________________________
_______
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-04-27, 6:48 am |
| >
erixtekila,
Essayer!
Meilleures salutations,
Bill
On Apr 25, 2006, at 3:03 PM, erixtekila wrote:
>
> Le 25 avr. 06, =E0 20:49, Stefan Richter a =E9crit :
>
[vbcol=seagreen]
>
> That wasn't what I meant.
> If I get, say, 4 flv to put in a playlist and all of them get some =20
> metadata inserted, will the event being fired 4 times ?
>
> var ns:NetStream =3D new NetStream (nc);
> play ("stream1", 0, -1);
> play ("stream2", 0, -1, false);
> play ("stream3", 0, -1, false);
> play ("stream4", 0, -1, false);
>
> Cheers.
> -----------
> erixtekila
> http://blog.v-i-a.net/
> ________________________________________
_______
> 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
| |
|
|
|
|
|