List Info

Thread: accessing totalTime property?




accessing totalTime property?
user name
2006-07-25 19:04:53
hello,

we have a setup where we are streaming videos with flash
media server.  some
of these are recorded from webcams, and some are uploaded
videos of various
file types and converted to flv using ffmpeg.  as far as we
can tell, ffmpeg
doesnt add metadata to the flv's, which means no duration
data.  I read that
fms sends a totalTime property with the video though, but I
don't know how
to access it client-side.  Anyone know how I can do this?

also, we are trying to target flash player 7, which means no
FLVPlayback
component.

thanks,

rich
_______________________________________________
FlashCommchattyfig.figleaf.com
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.c
om
accessing totalTime property?
user name
2006-07-25 19:15:43
Could you run an injector tool on the server?
http://www.flashcomguru.com/index.cf
m/2005/11/4/Short-video-Using-flvmdi-to-
inject-metadata-into-flvs

Otherwise there's also an easy way for the server to tell
you the length:
Client.prototype.getStreamLength = function(p_streamName) {
	return Stream.length(p_streamName);
}

You call this from the client via nc.call, passing the
stream name (with or
without .flv extension? I don't know, try both)

Stefan







> -----Original Message-----
> From: flashcomm-bounceschattyfig.figleaf.com 
> [mailto:flashcomm-bounceschattyfig.figleaf.com] On
Behalf Of 
> Rich Rodecker
> Sent: 25 July 2006 20:05
> To: FlashComm Mailing List
> Subject: [FlashComm] accessing totalTime property?
> 
> hello,
> 
> we have a setup where we are streaming videos with
flash 
> media server.  some of these are recorded from webcams,
and 
> some are uploaded videos of various file types and
converted 
> to flv using ffmpeg.  as far as we can tell, ffmpeg
doesnt 
> add metadata to the flv's, which means no duration
data.  I 
> read that fms sends a totalTime property with the video

> though, but I don't know how to access it client-side.
 
> Anyone know how I can do this?
> 
> also, we are trying to target flash player 7, which
means no 
> FLVPlayback component.
> 
> thanks,
> 
> rich
> _______________________________________________
> FlashCommchattyfig.figleaf.com
> 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.c
om
> 


_______________________________________________
FlashCommchattyfig.figleaf.com
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.c
om
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )