Skip to content

Instantly share code, notes, and snippets.

@johnboiles
Created June 16, 2018 03:00
Show Gist options
  • Save johnboiles/2d199eaf52bbd760c76fd3817ec955dd to your computer and use it in GitHub Desktop.
Save johnboiles/2d199eaf52bbd760c76fd3817ec955dd to your computer and use it in GitHub Desktop.
EZ-WifiBroadcast in the cloud
# Receives packets over udp, transforms dual-fisheye to equirectangular and sends out over RTMP
rx -d 100 -p 0 -d 100 -b 24 -r 12 -f 768 -s 10.0.0.21 -u 6000 | tee >(ffmpeg -f h264 -i - -i /home/xmap_insta360.pgm -i /home/ymap_insta360.pgm -filter_complex remap -vcodec h264 -b:v 3000k -strict experimental -f flv rtmp://space.prscp.net/live/payload360) | ffmpeg -f h264 -i - -vcodec copy -strict experimental -f flv rtmp://space.prscp.net/live/payload360unstitched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment