I'm trying to use the org.red5.io.flv.impl.FLV class. I specify true for 
the generateMetadata, I just want to read the metadata for a bunch of 
FLV files and dump them into a file.  But hasMetaData always returns 
false... is there somthing else I have to do?
Here is basically what I am doing.

            File f = new File(name);
            System.out.println(f.exists());
            FLV flv = new FLV(f, true);
            if(flv.hasMetaData()) {
                IMetaData md = flv.getMetaData();
                System.out.println(md.toString());
            } else {
                System.out.println("No metadata");
            }


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to