This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vlc_streaming [2009/09/12 06:05] k2patel created |
vlc_streaming [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
Following is my setup:\\ | Following is my setup:\\ | ||
- | Streaming server on - 5454\\ you can setup any port | + | Streaming server on - 5454 you can setup any port\\ |
Protocol - RTSP\\ | Protocol - RTSP\\ | ||
- | Listening on All ip : 0.0.0.0\\ You can bind to single ip using real ip | + | Listening on All ip : 0.0.0.0 You can bind to single ip using real ip\\ |
Line 15: | Line 16: | ||
vlc --ttl 12 -vvv --color -I telnet --telnet-password videoTest --rtsp-host 0.0.0.0:5454 | vlc --ttl 12 -vvv --color -I telnet --telnet-password videoTest --rtsp-host 0.0.0.0:5454 | ||
</code> | </code> | ||
+ | |||
+ | If your OS require to have root access in order to create Socket.\\ | ||
+ | Your might need to use vlc-wrapper. | ||
+ | |||
+ | <code bash> | ||
+ | vlc-wrapper --ttl 12 -vvv --color -I telnet --telnet-password videoTest --rtsp-host 192.168.1.5:5454 --logfile vlc_stream.log --logmode text & | ||
+ | </code> | ||
+ | |||
+ | == Options to server == | ||
+ | Maximum 3 connection | ||
+ | <code bash> | ||
+ | --rtsp-throttle-users 3 | ||
+ | </code> | ||
+ | |||
+ | <code bash> | ||
+ | --logfile <string> | ||
+ | --logmode {text,html,syslog} | ||
+ | </code> | ||
+ | |||
+ | ==== Setup server from telnet ==== | ||
+ | |||
Now Setting up the Streaming Services\\ | Now Setting up the Streaming Services\\ | ||
Line 21: | Line 43: | ||
telnet localhost 4212 | telnet localhost 4212 | ||
</code> | </code> | ||
+ | Supply password - videoTest - if you are pasting command | ||
Create Stream name | Create Stream name | ||
Line 27: | Line 50: | ||
</code> | </code> | ||
- | Create Stearm file | + | Create Stearm file (it is safe to use "" for PATH since any space in name could be an issue.) |
<code bash> | <code bash> | ||
- | new Luck input Luck/Luck.2009.avi | + | setup Luck input "Luck/Luck.2009.avi" |
</code> | </code> | ||
Now you need to start your vlc player and provide following URL | Now you need to start your vlc player and provide following URL | ||
<code bash> | <code bash> | ||
- | rtsp://localhost:5554/Test | + | rtsp://localhost:5454/Test |
</code> | </code> | ||