Hi,
I used to use ffserver, but I've had real stability issues with it recently and would like to switch to vlc.
I have a webcam which streams in mjpeg format and a dedicated server that I'd like to use to encode to .flv and then display on a website.
From reading the documentation, I think the command should be this:
vlc -v http://username:password@my-home-camera ... video.mjpg --sout "#transcode{vcodec=FLV1,acodec=mp3}:std{access=http,dst=server-ip-address:80/stream.flv}"
I think that's right, although in my case I don't have sound so could probably take out ",acodec=mp3". I've left it in for the moment while I work this out.
Anyway, that's the background information...
I'm running Debian Lenny (the testing version). I think the reason my streaming isn't working, is that perhaps my version of VLC isn't high enough. Possibly.
I have put in the apt sources from this page: http://www.videolan.org/vlc/download-debian.html
and now I'm on version 0.8.6h I think.
It's not quite working unfortunately, this is what I get when I run the command above.
VLC media player 0.8.6h Janus
starting VLC root wrapper... using UID 1000 (stephan)
[00000001] main private warning: Unable to get HAL device properties
[00000001] main private warning: config file /home/stephan/.vlc/vlcrc does not exist yet
[00000287] skins2 interface error: Cannot open display
[00000287] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[00000297] stream_out_standard private error: no mux specified or found by extension
[00000297] main private warning: no sout stream module matching "std" could be loaded
[00000294] stream_out_transcode private error: cannot create chain
[00000294] main private warning: no sout stream module matching "transcode" could be loaded
[00000293] main stream output error: stream chain failed for `transcode{vcodec=FLV1,acodec=mp3}:std{access=http,dst=XXXXXXXXXX.fishycam.com:80/stream.flv}'
[00000291] main input error: cannot start stream output instance, aborting
So, I'm wondering if anyone can let me know what I'm doing wrong. Also, what's the minimum version number I should be running?
Your help is appreciated, I'm going mad here!
Thanks.