PyLivestream icon indicating copy to clipboard operation
PyLivestream copied to clipboard

default: No such process

Open alexdeslauriers16 opened this issue 3 years ago • 2 comments

Trying to go live on twitch and I get the error:

Press Enter to go live on ['twitch'] Or Ctrl C to abort.

ffmpeg -loglevel error -f x11grab -s 640x480 -i :0.0+50,30 -f pulse -i default -codec:v libx264 -pix_fmt yuv420p -preset veryfast -b:v 500k -g 60 -codec:a aac -b:a 96k -ar 44100 -maxrate 500k -bufsize 250k -strict experimental -f flv rtmp://live-ymq.twitch.tv/app/{MY_KEY_WAS_HERE}

default: No such process

My code is simply

import pylivestream.api as pls

pls.stream_screen('pilivestream.ini', 'twitch')

And Im running this on raspberry pi.

alexdeslauriers16 avatar Nov 17 '20 23:11 alexdeslauriers16

Im having the same error when trying to stream webcam, which is a bigger issue for me

alexdeslauriers16 avatar Nov 18 '20 00:11 alexdeslauriers16

I am not sure, this command works for me to localhost or other sites. It may be something missing like v4l2 from the system or from FFmpeg as it was built.

scivision avatar Oct 18 '21 03:10 scivision