scivision / PyLivestream

Pure Python FFmpeg-based live video / audio streaming to YouTube, Facebook, Periscope, Twitch, and more
Apache License 2.0
707 stars 156 forks source link

Need some help #79

Closed leothewolf closed 2 years ago

leothewolf commented 2 years ago

Hey there I have been through all the stuff I mean the whole repo but I am not able to use it for my purpose Ill define my purpose here can you pls help make out a code out of it:

So I wanna play a video which is 11hr long on my youtube channel which is store in D:\ and every time it ends I wanna replay it or put it on loop, can someone pls tell me the exact code I should put in a .py file?

leothewolf commented 2 years ago

Yes the command would be like:

FileGlobLivestream /home/user/myaudio youtube -glob "*.mp3" -image /home/user/pictures/myimg.png

Originally posted by @scivision in https://github.com/scivision/PyLivestream/issues/20#issuecomment-458217040

I found this thing in issues but how exactly to use it?

tabanger commented 2 years ago

You need to install Python on your Windows machine, and then install PyLivestream. Since it's Windows, you probably also need to install ffmpeg.

After that, you configure pylivestream.ini file with your YouTube key. Then you can run the following command at the command-line to endlessly loop your video file:

FileLoopLivestream D:\path\to\videofile.mp4 youtube

leothewolf commented 2 years ago

You need to install Python on your Windows machine, and then install PyLivestream. Since it's Windows, you probably also need to install ffmpeg.

After that, you configure pylivestream.ini file with your YouTube key. Then you can run the following command at the command-line to endlessly loop your video file:

FileLoopLivestream D:\path\to\videofile.mp4 youtube

Aha got it working thanks a lot man!!May god bless you!!