C# - TagLib 获取 ISO 块偏移值
C# - TagLib Get ISO chunk offset values
所以我正在使用 TagLib 尝试提取 ChunkOffset 值。
我已经对代码进行了这么多。而我这样做的方式肯定是错误的。
TagLib.File f = new TagLib.Mpeg4.File("C:\file.mp4");
//Code from here
TagLib.Mpeg4.BoxHeader Box = new TagLib.Mpeg4.BoxHeader();
TagLib.Mpeg4.IsoHandlerBox Handle = new TagLib.Mpeg4.IsoHandlerBox(Box, f, *what goes here??* );
//To here is quite obviously wrong
TagLib.Mpeg4.IsoChunkOffsetBox offsetbox = new TagLib.Mpeg4.IsoChunkOffsetBox(Box, f, Handle);
uint[] array = offsetbox.Offsets;
我尝试编辑 BmffViewer 来完成这个任务并且成功了。不过 TagLib 不走运。
所以我正在使用 TagLib 尝试提取 ChunkOffset 值。
我已经对代码进行了这么多。而我这样做的方式肯定是错误的。
TagLib.File f = new TagLib.Mpeg4.File("C:\file.mp4");
//Code from here
TagLib.Mpeg4.BoxHeader Box = new TagLib.Mpeg4.BoxHeader();
TagLib.Mpeg4.IsoHandlerBox Handle = new TagLib.Mpeg4.IsoHandlerBox(Box, f, *what goes here??* );
//To here is quite obviously wrong
TagLib.Mpeg4.IsoChunkOffsetBox offsetbox = new TagLib.Mpeg4.IsoChunkOffsetBox(Box, f, Handle);
uint[] array = offsetbox.Offsets;
我尝试编辑 BmffViewer 来完成这个任务并且成功了。不过 TagLib 不走运。