Skip to content

Instantly share code, notes, and snippets.

/stream.sh Secret

Created Nov 12, 2017
Embed
What would you like to do?
#!/bin/bash
ffmpeg \
-f alsa -ac 2 -i hw:ALSA,0,0 \
-stream_loop -1 -fflags +genpts -i "loop.flv" -vcodec copy -b:v 2500k \
-acodec libmp3lame -ar 44100 -q:a 3 -b:a 128k -bufsize 1024 \
-f flv "rtsp://..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment