So, I'm using ffmpeg. I can stream videos to YouTube live I've downloaded from the internet successfully using this command:
ffmpeg -re -i "C:\video.flv" -c:v libx264 -preset slow -crf 18 -c:a copy -f flv "rtmp://a.rtmp.youtube.com/live2/xyz"
When I try to stream a video that's been recorded from a specific device, that is also flv and with same command, it's not working. FFMpeg says it's transmitting, no errors there. In the live dashboard on YouTube I get a green "Starting" briefly but then it goes grey to say it's not receiving data. The only difference is the actual flv files.
Any idea why YouTube Live would say it's not receiving any data instead of giving me an error, when it clearly is receiving it because it works with other video files? Thanks
Well for anyone else that may come across this, my problem was that my video did not have audio. Not sure why that should matter, but putting a silent audio track over the video fixed my issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With