Using JPEG files as input for streaming MJPEG
Posted: 05 Aug 2008 02:49
Hi folks,
I did several searches on the subject and couldn't find an answer to this question.
Is VLC capable of taking a plain JPEG file in some directory as input and streaming out as a MJPEG stream? More info... I have another process that's running and will be generating a JPEG file (let's call it capture.jpg) on regular intervals. This process will write capture.jpg to a dir, let's say /tmp/capture, something like 5 times a second. Is it possible for me to start VLC as another process, give it the path to /tmp/capture/capture.jpg and just have it stream that file out as a MJPEG stream?
In VLC player there is a "Open Directory..." off the main menu, but there is no option for streaming anything found in that directory, or maybe I'm looking at the wrong feature or something. Anyways, I'd very much appreciate someone replying to me on this.
Thank you in advance.
-Jac
I did several searches on the subject and couldn't find an answer to this question.
Is VLC capable of taking a plain JPEG file in some directory as input and streaming out as a MJPEG stream? More info... I have another process that's running and will be generating a JPEG file (let's call it capture.jpg) on regular intervals. This process will write capture.jpg to a dir, let's say /tmp/capture, something like 5 times a second. Is it possible for me to start VLC as another process, give it the path to /tmp/capture/capture.jpg and just have it stream that file out as a MJPEG stream?
In VLC player there is a "Open Directory..." off the main menu, but there is no option for streaming anything found in that directory, or maybe I'm looking at the wrong feature or something. Anyways, I'd very much appreciate someone replying to me on this.
Thank you in advance.
-Jac