Skip to content

Instantly share code, notes, and snippets.

@davibe
Last active August 29, 2015 14:12
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 davibe/24b136577037c8e96041 to your computer and use it in GitHub Desktop.
Save davibe/24b136577037c8e96041 to your computer and use it in GitHub Desktop.
nginx-rtmp on ec2 test script
for index in {1..100}; do
sleep 0.05;
time gst-launch-1.0 \
filesrc location="test_origin.flv" ! \
flvdemux name=u u. ! queue ! \
h264parse ! \
flvmux streamable=true name=mux ! \
rtmpsink location="rtmp://boot2docker:1935/live_test_rec/test_destination_$RANDOM" 2>&1 > /dev/null &
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment