Page 1 of 1

image streaming with fake-file option

Posted: 13 Jan 2006 18:56
by vio
I tried to make a stream from a local image file (jpg file mot mjpeg).
The command is:
vlc -vvv fake: --fake-file=/var/www/images/test.jpg --sout '#transcode{vcodec=WMV2,vb=600}:std{access=mmsh,mux=asfh,url=:8084}' --fake-fps=5 --fake-caching=1000 --rc-host=localhost:1084 --rc-fake-tty --loop --sout-keep
This is working fine, but when i change the file (wget from another server), the image from the stream remains the same.

rc or telnet interface does not help me to change the output stream.

Can somebody help me?

Thanks,
Vio

Posted: 14 Jan 2006 00:15
by dionoea
the fake input only loads the image once. What you could try using is the switcher module. Unfortunately, no one but Meuuh knows how to use it (you can talk to Meuuh on the videolan IRC chan: #videolan on Freenode)

Posted: 14 Jan 2006 08:32
by vio
thanks. I'll do this. Vio

Posted: 25 Oct 2006 20:47
by JiBe
Did you find how to refresh the picture ? :)
thx

JiBe

Posted: 25 Oct 2006 21:17
by JiBe
Ok, I found, using telnet control interface.
each time you need to refresh the picture send a command "control mypicturestream play", this can be scripted in php, etc....