Skip to content

Instantly share code, notes, and snippets.

@e1ectr0cut1e
Created November 21, 2016 18:48
Show Gist options
  • Select an option

  • Save e1ectr0cut1e/fda80613e4c2d834d3197304921174b4 to your computer and use it in GitHub Desktop.

Select an option

Save e1ectr0cut1e/fda80613e4c2d834d3197304921174b4 to your computer and use it in GitHub Desktop.
ffmpeg -f lavfi -i anullsrc -re -rtsp_transport tcp -analyzeduration 0 -i rtsp://admin:[email protected]/h264/ch${channel}/main/av_stream -c:v libx264 -c:a libfaac -ar 44100 -ac 2 -preset ultrafast -tune zerolatency -crf 30 -g 20 -f flv rtmp://127.0.0.1/live/ch${channel}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment