sudais90 / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

writeHeader() writes zero duration onMetaData tag #253

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
 I create output container:

IContainerFormat outFormat = IContainerFormat.make();
  outFormat.setOutputFormat("flv", null, null);
  outContainer.open(outputStream, outFormat);

and then I make setMetaData

outMetadata = IMetaData.make();
     outMetadata.setValue("totalduration", "290000");
     if (outMetadata!=null){
     outContainer.setMetaData(outMetadata);

As result I expect to see FLV header of the container with filled duration tag. 
But It always writes zero values. See screenshot in attachment (zeroTag.png). 

Original issue reported on code.google.com by vadym.vi...@gmail.com on 21 Nov 2010 at 6:32

Attachments: