Skip to content

Instantly share code, notes, and snippets.

@tomoto

tomoto/feeder.sh Secret

Created December 31, 2018 18:39
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 tomoto/1ff04d04f3f43ac6e79344ee616d50f4 to your computer and use it in GitHub Desktop.
Save tomoto/1ff04d04f3f43ac6e79344ee616d50f4 to your computer and use it in GitHub Desktop.
FFServer settings to "clean up"" Parrot Mambo's FPV camera stream
ffmpeg -y -i rtsp://192.168.99.1/media/stream2 -filter:v "setpts=0.2*PTS" http://localhost:8090/feed1.ffm
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 6000
CustomLog -
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 5M
ACL allow 127.0.0.1
</Feed>
<Stream test.flv>
Feed feed1.ffm
Format flv
VideoBitRate 3000
VideoBufferSize 1000
VideoFrameRate 10
VideoSize svga
VideoCodec flv
NoAudio
</Stream>
ffserver -f ffserver.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment