niedziela, 30 stycznia 2011

ffserver + ps3 eye or logitech webcam = madness

I tried many times run streaming server from server room. I'm using ffmpeg for converting video files so I would use that software for streaming (default ffmpeg rpm from OpenSuse 11.3). Finally after many changes of configuration. I understand that my version of ffmpeg is just broken (I didn't found any solution to my problem's). Latest sources from http://www.ffmpeg.org/ (http://www.ffmpeg.org/releases/ffmpeg-0.6.1.tar.gz) works very well with minimum of configuration.

All I had to do is comment lines for streaming in mpeg and uncomment streaming in swf:

<Stream test.swf>
Feed feed1.ffm
Format swf
VideoSize 320x240
VideoFrameRate 10
VideoIntraOnly
NoAudio
</Stream>

Finaly and executed:

./ffserver -f ffserver.conf &
./ffmpeg -f video4linux2 -i /dev/video0 -f ffm http://127.0.0.1:8090/feed1.ffm

Brak komentarzy: