Last active
August 29, 2015 14:12
-
-
Save davibe/24b136577037c8e96041 to your computer and use it in GitHub Desktop.
nginx-rtmp on ec2 test script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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