I'm streaming some video from an old computer (Intel Pentium 4, 3.0 GHz + HT, 512 MB RAM) to some other computers in my LAN (or sometimes to the localhost-address). This is how the command-lines look like:
Code: Select all
vlc.exe dvb-c://frequency=370000000 :dvb-modulation=256 :dvb-srate=6900 :dvb-network-name="DVB-C Tuning Space" :program=10301 :dvb-adapter=0 :sout=#udp{mux=ts,dst=127.0.0.1:5000} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep :no-qt-error-dialogs
vlc.exe dvb-c://frequency=370000000 :dvb-modulation=256 :dvb-srate=6900 :dvb-network-name="DVB-C Tuning Space" :program=10301 :dvb-adapter=0 :sout=#rtp{mux=ts,dst=225.1.1.0,port=4000} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep :no-qt-error-dialogs
The problem is, that vlc causes high cpu load (up to 100% of a single core), although it should neither decode nor encode the stream, but just pass it to the network. This results in lost/late network packets and causes visual artifacts and stuttering audio at the receiving computers. The cpu load caused by vlc depends on the input: high definition streams with H.264 codec (~10 Mbit/s) are worse than MPEG-2 streams with 720*576 pixels (~ 4 Mbit/s). I already tried different versions (1.1.11 and 2.0.5), all of them had the same problem. Interesting: When sending to 127.0.0.1, the load caused by the vlc process is higher than multicasting.
For me, it looks like vlc decodes (but doesn't display) the stream before sending it, which is unnecessary. Is there a way to reduce the cpu load?
Thanks in advance!
Edit: changed \" to "