Reading FLV header properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP metadata GroupDocs....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
In this article, you will learn how to convert note-taking formats to other formats with GroupDocs.Conversion for Node.js via Java....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
In this article, you will learn how to convert note-taking formats to other formats with GroupDocs.Conversion for .NET....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
In this article, you will learn how to apply watermark to document pages when convert document with GroupDocs.Conversion for .NET API....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
This article demonstrates how to convert a file and save it as a stream using GroupDocs.Conversion for .NET API....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
Learn this article and check how to load and convert Email documents with advanced options using GroupDocs.Conversion for Java API....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
This article explains how to add document to Spreadsheet via OLE with GroupDocs.Merger within your .NET applications....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
This article explains how to add document to Diagram via OLE with GroupDocs.Merger within your Java applications....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
This article shows how to save a file to a specified stream using GroupDocs.Metadata for Python via .NET....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputGif)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....Conversion Product Solution GroupDocs.Viewer Product Solution GroupDocs...