[Question - c#] Load byte[] of m2t data and reading frame information
Context
I have Enciris lt 101 card which I read the frames in a loop and write it to m2t file. Each frame is being read and just written to the file as is. VLC can play it since each frame is a key frame also.
Question
I was wondering if it possible in parallel of writing the byte array also to:
-
load each frame in VLC play inside winform. -
Get frame statistics (like ffprobe): pts value , resolution.. etc..
and if it is possible (one of them or both) some code example would be appreciated