Created
July 28, 2019 20:51
-
-
Save mikhailnov/4f3ab9daeabd54bef9e37f230d6b98e8 to your computer and use it in GitHub Desktop.
Трансляция вконтакте м захватом видео с iOS RTMP Streamer и звука из подключенного к компу микрофона
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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