Page 1 of 1

How to play fake stream that is created from set of JPEGs

Posted: 25 Jan 2013 13:12
by RicoPL
Basically I have an IP Camera that can send me single frames in JPEG format.
I've already builded a class that sends repetitive requests for current frame.
The frame is stored as QImage object and it is constantly updated.

I've read few topics on the forum and articles on the internet and I'm little confused.
invmem vs. imem - which one should I use? I'm not sure but, isn't invmem deprecated?

If I should use imem, does any one can give me any tips, how to use it?
I don't know even how to start... any piece of code would be helpfull.


Thanks in advance

Re: How to play fake stream that is created from set of JPEG

Posted: 25 Jan 2013 14:18
by RĂ©mi Denis-Courmont
Embed the JPEG images in a "Motion" JPEG stream.

Re: How to play fake stream that is created from set of JPEG

Posted: 25 Jan 2013 22:03
by RicoPL
I thought about that and I know how to create MJPEG stream (the structure). The thing I don't know is how to use created on the fly stream as medium for vlc player... How to set it as an input..