stream-rtsp
Transcode & Play RTSP Video Streams in Browser
File Explorer
- dash.html
- hls.html
- manifest.webmanifest
- webrtc.html
- webrtc.js
- https.crt
- https.key
- serve.js
- config.go
- go.mod
- http.go
- main.go
- stream.go
- .eslintrc.json
- .gitignore
- .hintrc
- .markdownlint.json
- config.json
- favicon.ico
- LICENSE
- package.json
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
ffmpeg
View Details ▼
ffmpeg
Video conversion tool.
See also: `gst-launch-1.0`.
ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound.mp3}}
Extract the sound from a video and save it as MP3:
ffmpeg -i {{path/to/input_audio.flac}} -ar 44100 -sample_fmt s16 {{path/to/output_audio.wav}}
Transcode a FLAC file to Red Book CD format (44100kHz, 16bit):
ffmpeg -i {{path/to/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:1000' -r 15 {{path/to/output.gif}}
Save a video as GIF, scaling the height to 1000px and setting framerate to 15:
node
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
npm start
View Details ▼
npm start
This command is an alias of `npm run start`.
tldr npm run
View documentation for the original command:
