Chapter 10. Stream from encoding cards and other capture peripherals
• hurry-up allows the encoder to decrease the quality of the stream if the CPU can’t keep up with the encoding rate
• vt=800000 is the tolerance in kbit/s for the bitrate of the outputted video
• deinterlace tells VLC to deinterlace the video on the fly,
• 192.168.0.42 is either:
• the IP address of the machine you want to unicast to;
• or the DNS name the machine you want to unicast to;
• or a multicast IP address.
• 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11
routers).
Stream with DirectShow
Note: This is only possible under Windows
Install your peripheral drivers
You need to install your peripherals under Windows with the appropriate drivers. Nothing else is necessary.
Stream with VLC in command line
% C:\Program Files\VideoLAN\VLC\vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="VGA USB Camera" adev="USB Camera" size="640x480" --sout=#rtp{mux=ts,dst=239.255.42.12,port=5004}
Note: You need to precise the complete path to find vlc program or to launch the command from the correct directory.
• vvv is to activate the verbose mode
• rc is to activate the remote control interface (MS/DOS console)
• 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11
routers),
• vdev="VGA USB Camera" is the name of the video peripheral that DirectShow will use (this is only an exemple),
• adev="USB Camera" is the name of the audio peripheral,
• size="640x480" is the resolution (you can also put the standard size like subqcif (128x96), qsif (160x120), qcif
(176x144), sif (320x240), cif (352x288) or vga (640x480)).
• 239.255.42.12 is either:
50
Comentarios a estos manuales