Skip to content

Instantly share code, notes, and snippets.

@dimavs
Created July 18, 2015 09:51
Show Gist options
  • Save dimavs/9166fbafcf47d6f47a1d to your computer and use it in GitHub Desktop.
Save dimavs/9166fbafcf47d6f47a1d to your computer and use it in GitHub Desktop.
HttpPort 8080
HttpBindAddress 0.0.0.0
RtspPort 8554
RtspBindAddress 0.0.0.0
CustomLog -
<Stream test.mp4>
Format rtp
File "/tmp/test.mp4"
</Stream>
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 500M
Launch ffmpeg -f v4l2 -i /dev/video0
</Feed>
<Stream live.sdp>
Format rtp
Feed feed1.ffm
VideoCodec libx264
VideoFrameRate 30
VideoBitRate 512
VideoSize 320x240
AVOptionVideo preset medium
NoAudio
</Stream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment