[streaming] frame-by-frame streaming server example using vlc?

videolanforums videolanforums at vitalit.co.uk
Fri Aug 28 17:47:37 CEST 2009


Hi,

Depending on your frame rate requirements you could start by generating an 
MJPEG stream - which you can then transcode to mpeg4 on the fly by vlc for 
your clients.

Or if your frame rates are in the seconds per frame you can use vlc 1.x to 
load, and update an image from a file - the maximum frequency of this seems to 
be one update per second (too slow for my needs).  From this "fake file" input 
you can stream directly out as mpeg4.

Hope this helps.

Matt

Maróy Ákos wrote:
> Hi,
> 
> I'm wondering how to implement an mpeg4 streaming server that takes
> images one by one, generated on the fly. (that is, the mpeg4 stream
> would not be made up of the contents of an existing mpeg4 file, or from
> a camera feed). basically I'm looking for conceptually something like this:
> 
> initialize vlc
> 
> bind to port XXX to serve clients
> 
> do until stopped {
>     generate new frame
>     set the new frame as the next frame to serve
> }
> 
> de-iniitalize everything
> 
> 
> and then clients would connect to the server, and receive the mpeg4
> stream made up of the generated images.
> 
> also, I'd like to read this stream from a google android phone.
> 
> any help would be appreciated..
> 
> 
> Akos
> 
> _______________________________________________
> streaming mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/streaming


More information about the streaming mailing list