C# - TagLib Get ISO chunk offset values

125 views Asked by At

So I'm working with TagLib trying to extract the ChunkOffset values.

I've gotten this far with the code. And the way I'm doing it is definitely wrong.

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;
1

There are 1 answers

0
AudioBubble On BEST ANSWER

I tried editing BmffViewer to achieve this task and it worked. No luck with TagLib though.