Reloading still images when streaming

About encoding, codec settings, muxers and filter usage
6threplicant
Blank Cone
Blank Cone
Posts: 11
Joined: 15 Sep 2008 03:51

Reloading still images when streaming

Postby 6threplicant » 20 Sep 2008 04:45

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!

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Reloading still images when streaming

Postby dionoea » 20 Sep 2008 15:49

Which VLC version do you use?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

6threplicant
Blank Cone
Blank Cone
Posts: 11
Joined: 15 Sep 2008 03:51

Re: Reloading still images when streaming

Postby 6threplicant » 20 Sep 2008 19:17

Thanks for your quick reply.

I'm using version 0.8.6a Janus in Linux.

Cheers

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Reloading still images when streaming

Postby dionoea » 22 Sep 2008 21:47

That option is new in 0.9.x.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

6threplicant
Blank Cone
Blank Cone
Posts: 11
Joined: 15 Sep 2008 03:51

Re: Reloading still images when streaming

Postby 6threplicant » 24 Sep 2008 04:54

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"?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Reloading still images when streaming

Postby dionoea » 24 Sep 2008 20:39

Nope. (fake: works fine here)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

borregoja
New Cone
New Cone
Posts: 3
Joined: 20 Oct 2008 17:33

Re: Reloading still images when streaming

Postby borregoja » 20 Oct 2008 17:40

Try fake:// and not fake: , work in linux and windows.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests