1

I have tried many codes but not one was fit for my needs so i am asking now for help, i have a video that i want to stream (with no audio on it) and desktop audio from the Pi (running Ubuntu Mate 16.04) as i would play the mp3's on vlc (or any other sugestions are welcome as i would use vlc only because it has repeat and shufle)

The kids radio stream is already live but as its a non profit project my Desktop windows mashine is eating to much money by running 24/7 so i got me the Pi3b+ for this job.

Thanks in advance

Ivan

Happy Pi Owner

1 Answers1

1

Streaming the file in a loop with desktop audio to youtube works. Thanks to all!

ffmpeg -re -f alsa -i default -re -stream_loop -1 -i "/home/pi/Documents/Youtube/video720p.mp4" -c:v copy -c:a aac -f flv -max_muxing_queue_size 400 rtmp://a.rtmp.youtube.com/live2/pfjd-jhjs-k3td-xxxx

ffmpeg version 4.1, if you have a older ffmpeg version the loop command may not work...