Create videostream from image sequence

This forum is about all development around libVLC.
dnaranjo
New Cone
New Cone
Posts: 3
Joined: 26 Nov 2013 10:53

Create videostream from image sequence

Postby dnaranjo » 04 Dec 2013 13:22

Hi there,
I have an IP camera. I need to get its videostream and, frame by frame, process it (also discard some frames). Once processed I want to join the frames again and deliver the stream to other clients.

Now my question is:
- How can I create a video stream from a frame sequence (which I already have)?

It's possible for example to create the stream from an URL with:

Code: Select all

libvlc_media_new_location (libvlc_instance_t *p_instance, const char *psz_mrl)
or from a file with:

Code: Select all

libvlc_media_new_path (libvlc_instance_t *p_instance, const char *path)
But I don't know how to create it just from a sequence of images. I mean, by adding the frames in real time... Could someone give me any clue about how to get it?

Thanks in advance and sorry for my ignorance, I'm quite newbie here..

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

Re: Create videostream from image sequence

Postby Rémi Denis-Courmont » 05 Dec 2013 16:50

There is no clean API for this as yet. Some people use the imem plugin, but it's an under-documented kludge.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests