scivision / PyLivestream

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

Unknown input format: '0:0' #4

Closed Bigbear325 closed 6 years ago

Bigbear325 commented 6 years ago

Hi I'm on a MacOS, after configure the youtube.key. I got the error of: Unknown input format: '0:0'.

I think it's a FFmpeg error?

I find from stream.ini, [darwin] there is a acap:0:0 how can I configure this one?

besides, I find from your description: where to configure the sys.platform specific parameters. in Stream.ini?

thank you so much!!

scivision commented 6 years ago

what do you get from:

ffmpeg -f avfoundation -list_devices true -i ""

this will tell what device index your desktop is at. The code may need to be refactored a bit to handle MacOS and Windows better, I primarily use Linux.