Page 1 of 1

Reloading still images when streaming

Posted: 20 Sep 2008 04:45
by 6threplicant
Hello,

I'm using the following command in Linux to stream a jpeg image:

Code: Select all

vlc -vvv --sout "#transcode{vcodec=mp2v,vb=128}:standard{mux=ts,access=http,url=localhost:1234}" fake: --fake-file=myimage.jpg --fake-fps=10
It works well, except that replacing the source image with a newer one doesn't have any effect on the one carried by the stream; vlc keeps sending the original image as though it has been cached or something. I tried using the "--fake-file-reload" option that is listed as current in the wiki. However, running "vlc -p fake --advanced" does not list it as featured. In fact, vlc won't run if I add this option to the preceding command.

Any suggestions as to how get vlc to reload the image so that the stream outputs the most current image?

Thanks!

Re: Reloading still images when streaming

Posted: 20 Sep 2008 15:49
by dionoea
Which VLC version do you use?

Re: Reloading still images when streaming

Posted: 20 Sep 2008 19:17
by 6threplicant
Thanks for your quick reply.

I'm using version 0.8.6a Janus in Linux.

Cheers

Re: Reloading still images when streaming

Posted: 22 Sep 2008 21:47
by dionoea
That option is new in 0.9.x.

Re: Reloading still images when streaming

Posted: 24 Sep 2008 04:54
by 6threplicant
I managed to install version 0.9.2 in Ubuntu Linux, but I could not get the "fake" functionality working either. I get the exact same problem I experienced in the Windows version as mentioned in: viewtopic.php?f=4&t=50154 (vlc complains about being unable to access the dvd).

By the way, I tried documenting this issue in the bug tracker, but I had trouble figuring out how to do so.

In a nutshell, version 0.8.6 supports the "fake" functionality well, but there's no "--fake-file-reload" option. Ver. 0.9.2 is supposedly incorporates the later option, but calling "fake: ..." simply doesn't work. :( . In addition, there are other segmentation faults.

Is there some other workaround for loading (and updating) jpeg images for streaming that does not rely on "fake"?

Re: Reloading still images when streaming

Posted: 24 Sep 2008 20:39
by dionoea
Nope. (fake: works fine here)

Re: Reloading still images when streaming

Posted: 20 Oct 2008 17:40
by borregoja
Try fake:// and not fake: , work in linux and windows.