Live streaming issues
Posted: 01 Dec 2010 14:17
I'm looking for a solution to streaming a usb webcam over the internet, that is accessible from normal web browsers and android.
So far i have been able to stream via rtsp as a mpeg-ts h.264 stream, but it is only playable using android or vlc and i could not find any webplayer able to play this stream.
I also tried streaming over http as a flv h.264 and it is playable via flowplayer and vlc but it's not real time as it starts buffering for several minutes, the longer the stream server has been running the longer it takes flowplayer(and also vlc) to play the stream.
Streaming as ogg theora vorbis over http works and is playable with the cortada java applet but the image quality quite low.
When i try to stream via rtsp as mpeg-ts mpeg4 part 2, the stream is playable usings the IBM ISMA applet but the quality is even lower than ogg theora, in comparison with mpeg-ts h.264, needs a bitrate 4 to 8 times higher to archieve the same quality as h.264 as wel as mpeg4 part2 having a higher cpu usage.
The streaming server is a pentium3 900mhz running xp and has about 90% cpu usage when transcoding to rtsp mpeg-ts h.264 using x.264. The webcam is 320x240 pixels, runs on 10fps and i have an upload of 200kbps max available to the stream server.
Also for some strange reason vlc does not support transcoding to the mp4 nor the webm container when streaming, which makes most webplayer applets and the html5 video tag useless to my goals.
Any suggestions and working implemetations are welcome.
So far i have been able to stream via rtsp as a mpeg-ts h.264 stream, but it is only playable using android or vlc and i could not find any webplayer able to play this stream.
I also tried streaming over http as a flv h.264 and it is playable via flowplayer and vlc but it's not real time as it starts buffering for several minutes, the longer the stream server has been running the longer it takes flowplayer(and also vlc) to play the stream.
Streaming as ogg theora vorbis over http works and is playable with the cortada java applet but the image quality quite low.
When i try to stream via rtsp as mpeg-ts mpeg4 part 2, the stream is playable usings the IBM ISMA applet but the quality is even lower than ogg theora, in comparison with mpeg-ts h.264, needs a bitrate 4 to 8 times higher to archieve the same quality as h.264 as wel as mpeg4 part2 having a higher cpu usage.
The streaming server is a pentium3 900mhz running xp and has about 90% cpu usage when transcoding to rtsp mpeg-ts h.264 using x.264. The webcam is 320x240 pixels, runs on 10fps and i have an upload of 200kbps max available to the stream server.
Also for some strange reason vlc does not support transcoding to the mp4 nor the webm container when streaming, which makes most webplayer applets and the html5 video tag useless to my goals.
Any suggestions and working implemetations are welcome.