Streaming raw video
Posted: 25 Nov 2003 04:14
Hello,
I'm currently using the VideoLAN suite (VLS and VLC) to stream video signals captured from analogue capture cards. For this project, the aim is to capture multiple sources using a single server and to stream these "live" through a specially designed network. Note that this set-up with the single server is only for prototyping purposes - it is intended to possibly form the basis for a larger system.
To achieve the "live" functionality it is desired to have a latency of less than or equal to 100ms. After some tinkering to compile VLS and VLC and attempting to optimise the streaming process, the signal is delay by around 1 second - a value that is unacceptable for the requirements of the project. My question then is; is it possible to stream the raw video signal without encoding? I am guessing that a large amount of time (as well as CPU processor usage) is dedicated to encoding into either mpeg-4 or mpeg-1. For the system, bandwidth is not an issue - this is the cheap component of the system meaning it would be very possible to support raw streaming if such a process were supported by VLS and VLC.
Thus is it possible, or would it be possible, to stream in this way, without encoding? I would attempt to have a look at such a solution in the code myself, however I am not a strong programmer, having minimal experience in C++ and Java only. Any thoughts would be greatly appreciated and feedback as to whether this is a good idea for further developement.
Thanks
Matthew Pritchard
I'm currently using the VideoLAN suite (VLS and VLC) to stream video signals captured from analogue capture cards. For this project, the aim is to capture multiple sources using a single server and to stream these "live" through a specially designed network. Note that this set-up with the single server is only for prototyping purposes - it is intended to possibly form the basis for a larger system.
To achieve the "live" functionality it is desired to have a latency of less than or equal to 100ms. After some tinkering to compile VLS and VLC and attempting to optimise the streaming process, the signal is delay by around 1 second - a value that is unacceptable for the requirements of the project. My question then is; is it possible to stream the raw video signal without encoding? I am guessing that a large amount of time (as well as CPU processor usage) is dedicated to encoding into either mpeg-4 or mpeg-1. For the system, bandwidth is not an issue - this is the cheap component of the system meaning it would be very possible to support raw streaming if such a process were supported by VLS and VLC.
Thus is it possible, or would it be possible, to stream in this way, without encoding? I would attempt to have a look at such a solution in the code myself, however I am not a strong programmer, having minimal experience in C++ and Java only. Any thoughts would be greatly appreciated and feedback as to whether this is a good idea for further developement.
Thanks
Matthew Pritchard