image streaming with fake-file option

About encoding, codec settings, muxers and filter usage
vio
New Cone
New Cone
Posts: 9
Joined: 20 Nov 2005 10:08

image streaming with fake-file option

Postby vio » 13 Jan 2006 18:56

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

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

Postby dionoea » 14 Jan 2006 00:15

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)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vio
New Cone
New Cone
Posts: 9
Joined: 20 Nov 2005 10:08

Postby vio » 14 Jan 2006 08:32

thanks. I'll do this. Vio

JiBe
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 12:03

Postby JiBe » 25 Oct 2006 20:47

Did you find how to refresh the picture ? :)
thx

JiBe

JiBe
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 12:03

Postby JiBe » 25 Oct 2006 21:17

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....


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 38 guests