Skip to content

Instantly share code, notes, and snippets.

@dstoc
Created January 16, 2016 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dstoc/96421211386148407565 to your computer and use it in GitHub Desktop.
Save dstoc/96421211386148407565 to your computer and use it in GitHub Desktop.
Feed rtsp to ffserver as webm via mpegts
ffmpeg -i rtsp://${SOURCE} -vcodec copy -f mpegts -\
| ffmpeg -i pipe:0 -crf 10 -b:v 2M -c:v libvpx -g 25 http://${TARGET}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment