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

This forum is about all development around libVLC.
RicoPL
New Cone
New Cone
Posts: 7
Joined: 07 Jan 2013 17:06
Operating System: Mac OS
Location: Poland

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

Postby RicoPL » 25 Jan 2013 13:12

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 25 Jan 2013 14:18

Embed the JPEG images in a "Motion" JPEG stream.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

RicoPL
New Cone
New Cone
Posts: 7
Joined: 07 Jan 2013 17:06
Operating System: Mac OS
Location: Poland

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

Postby RicoPL » 25 Jan 2013 22:03

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..


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests