Skip to content

Instantly share code, notes, and snippets.

@davibe
Created December 23, 2014 12:21
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/968717c056f79a7a9c6a to your computer and use it in GitHub Desktop.
Save davibe/968717c056f79a7a9c6a to your computer and use it in GitHub Desktop.
nginx-rtmp on ec2 create sample media with gst-launch-1.0
gst-launch-1.0 \
videotestsrc num-buffers=2400 ! \
video/x-raw,width=854,height=480 ! \
clockoverlay font-desc="Sans Italic 100" ! \
x264enc bframes=0 key-int-max=10 tune=zerolatency bitrate=1024 ! \
h264parse ! flvmux streamable=true name=mux ! \
filesink location="test_origin.flv" \
audiotestsrc num-buffers=2400 ! voaacenc ! mux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment