Skip to content

Instantly share code, notes, and snippets.

@iameli
Last active August 11, 2017 05:40
Show Gist options
  • Select an option

  • Save iameli/9703418db9ec2f7ea8b25461e09f4bde to your computer and use it in GitHub Desktop.

Select an option

Save iameli/9703418db9ec2f7ea8b25461e09f4bde to your computer and use it in GitHub Desktop.
Useful ffmpeg commands
# Generate a 1080p realtime test video with sine wave audio
ffmpeg -re -f lavfi -i 'testsrc=size=1920x1080:rate=30:duration=-1' -i 'sine=frequency=1000:duration=-1' -c:v libx264 -preset veryfast -c:a aac -f flv rtmp://localhost/stream/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment