Skip to content

Instantly share code, notes, and snippets.

@imVinayPandya
Forked from dstoc/feed.sh
Created January 11, 2017 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imVinayPandya/d1418462114726fb34df8e67c201cf13 to your computer and use it in GitHub Desktop.
Save imVinayPandya/d1418462114726fb34df8e67c201cf13 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