Skip to content

Instantly share code, notes, and snippets.

@mercurytoxic
Created September 10, 2020 05:20
Show Gist options
  • Save mercurytoxic/4caf936785c98135e8334cb83a80d3a0 to your computer and use it in GitHub Desktop.
Save mercurytoxic/4caf936785c98135e8334cb83a80d3a0 to your computer and use it in GitHub Desktop.
How to pipe rtsp into /dev/video0
ffmpeg -i rtsp://<ip address>/<path> -f v4l2 -pix_fmt yuv420p /dev/video0
example: ffmpeg -i rtsp://10.10.10.193/live/ch00_0 -f v4l2 -pix_fmt yuv420p /dev/video0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment