Skip to content

Instantly share code, notes, and snippets.

@tkuennen
Created July 10, 2018 21:04
Show Gist options
  • Select an option

  • Save tkuennen/0cd366679e13f698105b70cb612e312f to your computer and use it in GitHub Desktop.

Select an option

Save tkuennen/0cd366679e13f698105b70cb612e312f to your computer and use it in GitHub Desktop.
RSTP-to-HLS-Stream
ffmpeg -rtsp_transport tcp -i rtsp://<user>:<password>@192.168.0.218/live/ch1 \
-acodec copy \
-vcodec copy \
-hls_wrap 40 \
-flags -global_header \
/var/www/html/cam/cam1.hls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment