> It would be nice to be able to pre-generate MetaData for large files. At > the moment, what I do, is use the oflaDemo app - and it takes about two or > three tries, and about a minute of patience. =)
Struggling with the same issue, I just wrote a little command line utility that pre-generated the meta data for me. When I upload a new file, I run it first. I suppose one could write a periodic process that scanned through the streams directory and generated metafiles for FLVs that didn't have them yet. > As for the "enormous" meta files that Ben is seeing - they're probably > that large because your FLV file has that many keyframes. That's what > those entries are correlated to. Not knowing what the content of your > video is (whether it's somewhat static, or very dynamic) you might try > encoding them to do automatic keyframing, but if quality is an issue, then > you might need to have all those keyframes. Also, what's the duration of > one of these FLV files? I'm guessing from the meta file that it is about > 57 minutes ...? The FLVs I'm talking about are about an hour long, and they have no video - they are audio only. Do audio only FLVs have kkeyframes? cheers, Ben > > Ben H Kram wrote: > > > Here's a new one for me - > > > > > > The meta files that are generated by Red5 for some of our audio (VP6/mp3) > > > only flvs are enormous. > > > > > > Here's a comparison of the files: > > > Bytes Name > > > 7986297 ao012.flv > > > 3615046 ao012.flv.meta > > > > > > These are large enough to cause problems on the client end when the > > > server tried to recover the meta cache. > > > > > > Example data: > > > <?xml version="1.0" encoding="UTF-8"?> > > > <FrameMetadata audioOnly="true" duration="3462733" > > > modified="1183127104000"> > > > <KeyFrame position="229" timestamp="0"/> > > > <KeyFrame position="350" timestamp="52"/> > > > <KeyFrame position="470" timestamp="104"/> > > > <KeyFrame position="591" timestamp="156"/> > > > <KeyFrame position="711" timestamp="208"/> > > > <KeyFrame position="832" timestamp="261"/> > > > <KeyFrame position="952" timestamp="313"/> > > > <KeyFrame position="1073" timestamp="365"/> > > > <KeyFrame position="1193" timestamp="417"/> > > > <KeyFrame position="1314" timestamp="470"/> > > > ... > > > <KeyFrame position="7985209" timestamp="3462315"/> > > > <KeyFrame position="7985329" timestamp="3462367"/> > > > <KeyFrame position="7985450" timestamp="3462419"/> > > > <KeyFrame position="7985570" timestamp="3462471"/> > > > <KeyFrame position="7985691" timestamp="3462524"/> > > > <KeyFrame position="7985811" timestamp="3462576"/> > > > <KeyFrame position="7985932" timestamp="3462628"/> > > > <KeyFrame position="7986052" timestamp="3462680"/> > > > <KeyFrame position="7986173" timestamp="3462733"/> > > > </FrameMetadata> > > > > > > Suggestions? > > > > > > cheers, > > > ben -- Benjamin H Kram [EMAIL PROTECTED] 617.998.8592 _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
