If we use a computer (called A) to encode raw data to .mvc bitstream with VPP and sample_encode program.
Then we can generate the .mvc file.
And then we can transfer this .mvc file through TCP to another computer (called B).
While still receiving the .mvc file, can we run the sample_decode at the same time ?
I have tested for several times, and I found that we can only execute the sample_decode program when the transmission of .mvc is done. In other words, the fileReader function in the sample_decode program will be blocked if the file is still under transmission.
The Media SDK provides "sample_decode" sample to illustrate common decode usages of the Media SDK API. The sample is by no means designed to work for all desired usages. I suggest you explore the sample implementation (such as the file reader class) to find ways to extend the functionality to your needs.