Jason,
Can you send me a patched class? I cannot get your patch to patch. My
subversion keeps rejecting it.
Paul
Jason Powell wrote:
> Most of the MetaData stuff under the FLV class are either place holders
> or incomplete (at least they were as of the last revision I checked out).
> I put a couple patches up on JIRA (one against SVN r1817 and r2073) that
> makes it work (you can even insert cues).
>
> Jason
>
> Paul deCoursey wrote:
>
>> I am using the Flash video encoder CS3, and there is no setting that I
>> can find. When the FLV is loaded as a progressive http stream in Flash
>> I get meta data there. I have no doubt that there is meta data. And
>> when I dropped it into the oflaDemo, it does generate metadata. The
>> deal is, I want to use parts of Red5 for reading and getting info about
>> FLV files, I am not going to use the server itself.
>>
>> Any help is appreciated.
>>
>> Paul
>>
>> Nathan P. Johansen wrote:
>>
>>
>>> Hi Paul,
>>>
>>> How were your FLV files encoded? If it is always returning false, then
>>> perhaps they don't have any metadata. A quick way to check this would be
>>> to drop the files under the oflaDemo application and try to play them
>>> there, then check the streams folder and see if the .meta files were
>>> created for your FLV files. If they did, but are empty, then perhaps you
>>> need to look at how your FLV files are being encoded so they contain
>>> metadata.
>>>
>>> Otherwise, I'm not that familiar with the FLV class you're using, so
>>> someone else might notice something in your code that I wouldn't.
>>>
>>> Nathan
>>>
>>>
>>> On Fri, 8 Jun 2007, Paul deCoursey wrote:
>>>
>>>
>>>
>>>
>>>> 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