[Red5] FLV metadata
Dominick Accattato
daccattato at gmail.com
Tue Oct 4 18:46:05 PDT 2005
Jason, thanks for the input. Do you see a server like Red5 doing any
injection of FLV metadata. I would imagine that it could be a nice additions
for some video upload sites. But then should this be handled by a third
party?
Reading this information could also be helpful for a server. One possible
scenario would be to read all the metadata in and allow a Red5 admin console
to view statistical data on the flv's on the file server. Just trying to
bounce around some ideas here. We look forward to hearing more from the
community on how this could be useful!
On 10/4/05, jason justman <jason at jasonjustman.com> wrote:
>
> metadata is extremly important when dealing with FLV. the injection
> process is a manual user intervention process that should have really
> been automated via Flash video encoder software.
>
> the most important metadata attribute really is duration and
> lastKeyFrame for handling scrubbing.
>
> extending the mediaDisplay/netstream class for the onMetaData function
> is key to eliminating an xml workflow to store this information:
>
> media_display._playerImpl._ns.onMetaData = function (obj) {
> trace("media_display._playerImpl._ns::onMetaData()");
> if(!obj.duration)
> trace("***WARNING***: Video has no duration");
>
> media_display._playerImpl._ns.md_time_target.totalTime =
> obj.duration;
> for(var props in obj)
> trace(props + "="+obj[props]);
> if(obj.lastkeyframetimestamp)
> this.cti_callback(obj.lastkeyframetimestamp);
> else
> this.cti_callback(obj.duration - (obj.duration/30) *2);
> //when this is missing make a guess at the last keyframe
> trace("Video Duration is: "+obj.duration);
> trace("Video Rate is:"+obj.videodatarate);
> trace("Audio Rate is:"+obj.audiodatarate);
> }
>
>
> j
>
> Dominick Accattato wrote:
>
> > Well as Danielle Fischer wrote, metadata is just amf code that is
> > infected into the flv. So basically we need to figure out what we
> > want to do. Does the RED5 server want to:
> >
> > * process metadata
> > * inject metadata
> >
> > if so, what metadata would we like to inject? To get an idea of what
> > others are injecting take a look at Buraks page.
> > http://www.buraks.com/flvmdi/
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Red5 mailing list
> >Red5 at osflash.org
> >http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20051004/1a1e727b/attachment.htm
More information about the Red5
mailing list