Created
July 27, 2018 03:02
-
-
Save jci/197411532336780ab2a4b2e48b8daba4 to your computer and use it in GitHub Desktop.
Reencode from RTSP from DVR, serve the video via OGG that can be opened using a browser.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cvlc "rtsp://IPADDR/user=username&password=password&channel=CHANNEL&stream=STREAMQLTY.sdp" --sout="#transcode{vcodec=theo,vb=1024}:http{dst=:8080/webcam.ogg}" | |
This will stream only video, not audio. | |
Be aware, your mileage may vary. | |
Change the fps by adding fps=FPS after the vcodec section. Be warned that the stream may take some time to catch up. | |
Feel free to adjust vb= for video bitrate. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment