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.
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by Daniquito; 20th Sep 2022 at 14:51.
Similar Threads
-
Choose quality of streaming video in FFMPEG
By jilboobseksi in forum Video Streaming DownloadingReplies: 2Last Post: 11th Jun 2020, 12:49 -
360 degree video live streaming- missing side data in ffmpeg transcoding
By iamy2rams in forum Video Streaming DownloadingReplies: 0Last Post: 27th May 2020, 11:07 -
FFMpeg Streaming Errors ?
By PowerFalcon in forum Video Streaming DownloadingReplies: 1Last Post: 6th Dec 2018, 05:50 -
Streaming x264 1080i using ffmpeg?
By nalwolf in forum Video Streaming DownloadingReplies: 0Last Post: 24th Jun 2018, 15:25 -
If Streaming from VLC to ffmpeg then metadata gets lost
By FishFloat in forum Video Streaming DownloadingReplies: 1Last Post: 25th May 2018, 06:50