Skip to content

Instantly share code, notes, and snippets.

@mikhailnov
Created July 28, 2019 20:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikhailnov/4f3ab9daeabd54bef9e37f230d6b98e8 to your computer and use it in GitHub Desktop.
Save mikhailnov/4f3ab9daeabd54bef9e37f230d6b98e8 to your computer and use it in GitHub Desktop.
Трансляция вконтакте м захватом видео с iOS RTMP Streamer и звука из подключенного к компу микрофона
# https://video.stackexchange.com/a/26258
# https://superuser.com/a/538038
# https://trac.ffmpeg.org/wiki/SupportedMediaTypesInFormats
# itoffset works only for video! https://trac.ffmpeg.org/ticket/1349
# To test: ffplay -listen 1 -i rtmp://0.0.0.0:8082/dumacast
ffmpeg \
-listen 1 -itsoffset 00:00:05.060 -i rtmp://0.0.0.0:8082/dumacast \
-f pulse -i default \
-f flv -strict -1 -preset veryfast -c:v libx264 -c:a aac "${RTMP_VK_URL}/${RTMP_VK_KEY}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment