Intel Media SDK streaming output

928 Views Asked by At

So i'm trying to use Intel Media SDK to Encode camera frames using Intel Quick Sync technology, so far i have managed to encode raw frames coming in from the camera from OpenCV into final output of raw mfxBitStream

Now my question is, i would like to stream the encoded output to lets say, VLC or anything else how can i do that?

Any help would be much appreciated :)

2

There are 2 best solutions below

0
F.bernal On

you can save your output in a file, a then add it to VLC. I did it sometime ago and it works.

0
Dmitry Vasilyev On

You can use the following command: (where video.yuv - the output of sample_decode application):

vlc --demux rawvideo --rawvid-fps 25 --rawvid-width 1920 --rawvid-height 1088 --rawvid-chroma I420 video.yuv