Live Stream

Credentials from AWS IVS

export STREAM_KEY=
export INGEST_ENDPOINT=

Stream using ffmpeg

ffmpeg -re \
    -i $VIDEO_FILEPATH -i $CAPTIONS_FILEPATH \
    -r 30 -c:v libx264 -pix_fmt yuv420p -profile:v main -preset veryfast -x264opts "nal-hrd=cbr:no-scenecut" -minrate 3000 -maxrate 3000 -g 60 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv \
    rtmps://$INGEST_ENDPOINT:443/app/$STREAM_KEY

Also available:

--ss 00:00:00 # starting point
-stream_loop -1

results matching ""

    No results matching ""