In the diploma C ++ project, you need to work with MPEG transport stream video files ( * .ts format), namely: you need to get blocks of files of a sufficiently long length from the file (no more than 53840 bits per block), and after certain manipulations, write new blocks into a new *. ts file. I want to do without special libraries like OpenCV.
I already understood that working with non-text files is not fundamentally different from working with text files, but a couple of questions remained unclear:
- How should I open the file?
- How should read / write data be organized?