blob: 558c12ec8dd65799d01a91dcc1fd9ef3eb7a9655 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# reflecting purposes
name=southcam
# vlc input
#source="rtsp://151.216.234.23/live.sdp"
source="rtsp://151.216.249.4:554/live.sdp"
# vlc dst=
destination="[::1]:5002/$name.ts.metacube"
while :; do
vlc -I dummy -vv --network-caching 500 $source vlc://quit --sout "#std{access=http{metacube},mux=ts,dst=$destination}"
sleep 1
done
|