VideoHelp Forum
+ Reply to Thread
Results 1 to 1 of 1
Thread
  1. Member
    Join Date
    Sep 2022
    Location
    FRance
    Search Comp PM
    Hi, I'm trying to run a stream on YouTube with a video that loops 24/7, using FFmpeg 4.4 from a server with Ubuntu 22, it works but I'm loosing the "Live" red light on YouTube, and here is the message from the "Stream health" tab :

    "YouTube is not currently receiving data for this stream. If you believe this is incorrect, ensure you’re sending a stream and that it is configured with the correct stream key."

    Here's the script I made :

    VBR="1500k"
    FPS="24"
    QUAL="superfast"

    YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
    SOURCE="/home/ubuntu/Video.mp4"
    KEY="mykey"
    ffmpeg \
    -stream_loop -1 -i "$SOURCE" -deinterlace \
    -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$KEY"

    Any help would be appreciated.
    Thanks.
    Last edited by Daniquito; 20th Sep 2022 at 14:51.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!