scivision / PyLivestream

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

Running PyLivestream command #27

Closed dreamGoAndHaveFun closed 5 years ago

dreamGoAndHaveFun commented 5 years ago

Hey,

I guess I'm missing something, I didn't succeed to run your beautiful project on a Raspberry Pi 3 model B+ running raspbian...

I tried with pip : python3 -m pip install PyLivestream ('3' is required, because having python 2.6 also installed, just "python" raises an error) I get a success message, then... I'm unable to find the stream.ini file ^^' I guess it's relative to pip, but I don't find any helpful keyword for Google...

Besides, if i'm right pip only fetches packages we can then use in Python, thus why the usage of "WebcamLivestream" in documentation does not look like a Python function ? Where to use it ? If I run it into the bash, I obviously get a "command not found"...

Thousands thanks !

DreamGoAndHaveFun

scivision commented 5 years ago

Hmm, I think I need to improve the PyPi package, this is in planning. However I'm not sure when I can get to it, it may be a few weeks. Thanks for reporting!

dreamGoAndHaveFun commented 5 years ago

Cool ! No problem :)

Do you have any workaround meanwhile ?

scivision commented 5 years ago

I would install the development version via Git:

git clone https://github.com/scivision/pylivestream

cd pylivestream

pip install -e .
scivision commented 5 years ago

This was fixed by https://github.com/scivision/PyLivestream/releases/tag/v1.9.2