Recording rtsp through host interface
Posted: 22 May 2011 16:07
Hi,
I'm recording a streaming in this way: rtsp://teams:teams@10.200.0.95/img/media.sav --rtsp-tcp --no-sout-audio --rtsp- caching=0 --sout "#std{mux=mp4,access=file,dst=cam-3.mp4}
It takes 1 second in order to start, and I need to be faster. So, in order to do that I execute vlc like that:
vlc -I rc --rc-host localhost:10000
But the next command doesn't work:
echo "rtsp://user:pass@10.200.0.95/img/media.sav --rtsp-tcp --no-sout-audio --rtsp- caching=0 --sout '#std{mux=mp4,access=file,dst=cam-3.mp4}'" | netcat localhost 10000
The command doesn't work.
How can do this?
Thks!!
I'm recording a streaming in this way: rtsp://teams:teams@10.200.0.95/img/media.sav --rtsp-tcp --no-sout-audio --rtsp- caching=0 --sout "#std{mux=mp4,access=file,dst=cam-3.mp4}
It takes 1 second in order to start, and I need to be faster. So, in order to do that I execute vlc like that:
vlc -I rc --rc-host localhost:10000
But the next command doesn't work:
echo "rtsp://user:pass@10.200.0.95/img/media.sav --rtsp-tcp --no-sout-audio --rtsp- caching=0 --sout '#std{mux=mp4,access=file,dst=cam-3.mp4}'" | netcat localhost 10000
The command doesn't work.
How can do this?
Thks!!