I have managed to stream a theora/ogg file created with VLC to the new Icecast 2.2.0 server that supports Theora.
I stream the file to the server using the command...
oggfwd my.server.net 8010 pwd /test.ogg <test_stream.ogg
Where my.server.net is the server address and pwd is the password.
Now I would like to do live streaming. It seems the best way to stream to the server is to encode using VLC then take that stream and wrap a password around it using oggfwd. So I stream to 127.0.0.1 using VLC then use curl to receive the stream, firstly to a test file...
curl 127.0.0.1:1234 > test_stream.ogg
This works so far, but when I try and pipe the stream into oggfwd curl just hangs and doesn't make any progress...
curl 127.0.0.1:1234 | oggfwd my.server.net 8010 pwd /test.ogg
Has anyone had any success trying to achieve this? I am basically trying to achieve what is described here...
http://www.v2v.cc/~j/ffmpeg2theora/examples.html
... but with a video-4-linux source instead of a DV source.
Should I maybe try to use ffmpeg to capture the v4L source and spit out DV for ffmpeg2theora instead of using VLC to encode?