You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible to use the wrapper on a streaming/byte-wise usage?
On an older version of your wrapper, i made some modifications to be able to push byte-arrays of the file contents into a method and get the mediainfo after i have pushed all data from file to this method. But that was 1+ years ago and i'm not able to maintain this "private fork". So i wanted to know, if this is possible with the current version of your wrapper.
Basically i was utilizing "OpenBufferContinue" with "Option("File_IsSeekable", "0");" and "OpenBufferInit(FileSize, 0L);".
Why have i done this?
I have some larger files i need to get media info from. Beside this, i also calculate some other file hashes of these files. Because of that, i do read those files byte per byte and push those bytes to the "consumers" i need/want to have informations from.
My modified MediaInfoWrapper.cs:
Methods of interest should be:
public MediaInfoWrapper(long FileSize, string pathToDll, ILogger logger = null)
public bool AddBytesToRead(byte[] bytesToRead, int offset, int length)
Hi there,
is it possible to use the wrapper on a streaming/byte-wise usage?
On an older version of your wrapper, i made some modifications to be able to push byte-arrays of the file contents into a method and get the mediainfo after i have pushed all data from file to this method. But that was 1+ years ago and i'm not able to maintain this "private fork". So i wanted to know, if this is possible with the current version of your wrapper.
Basically i was utilizing "OpenBufferContinue" with "Option("File_IsSeekable", "0");" and "OpenBufferInit(FileSize, 0L);".
Why have i done this?
I have some larger files i need to get media info from. Beside this, i also calculate some other file hashes of these files. Because of that, i do read those files byte per byte and push those bytes to the "consumers" i need/want to have informations from.
My modified MediaInfoWrapper.cs:
Methods of interest should be:
The text was updated successfully, but these errors were encountered: