Use FFMPEG for streaming on Linux. The number of video frames is only 9fps. The command is as follows: ffmpeg -re -i /dev/video0 -codec:v mpeg1video -r 25 -s 480x480 -framerate 15 -b:v 400k -bf 0 - f mpegts -muxdelay 0.001 http://xxxx/test-.httpts
I believe you need hardware acceleration to encode video for streaming, i made a ltl research and found some links, posted here
If you achieve any progress plz share it.