Skip to content

Instantly share code, notes, and snippets.

@snobu
Created August 3, 2018 13:50
Show Gist options
  • Select an option

  • Save snobu/442b4b90f600ae283f72ad7714e1c838 to your computer and use it in GitHub Desktop.

Select an option

Save snobu/442b4b90f600ae283f72ad7714e1c838 to your computer and use it in GitHub Desktop.
ffmpeg-stream-to-media-services
ffmpeg -stream_loop -1 -i .\INPUT_FILE.webm -strict -2 -c:a aac -b:a 128k -ar 44100 \
-r 24 -g 60 -keyint_min 48 -b:v 1500000 -c:v libx264 -preset medium -bufsize 1500k -maxrate 1500k \
-f flv rtmp://livedrm-amsd-euwe.channel.media.azure.net:1935/live/66eexxxxxxxxxxxxx5231f59e/mystream1
@snobu
Copy link
Copy Markdown
Author

snobu commented Aug 3, 2018

Note: -strict experimental (or -strict -2) was previously required for this encoder, but it is ​no longer experimental and these options are unnecessary since 5 December 2015.

From https://trac.ffmpeg.org/wiki/Encode/AAC#NativeFFmpegAACEncoder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment