wargio / Twitch-Streamer-Linux

This is a script dedicated to stream to Twitch.tv with Webcam support
217 stars 39 forks source link

Low FPS on Livecoding fork #45

Closed wargio closed 9 years ago

wargio commented 9 years ago

They made a fork of ths script and the performance is low.

From @rodrigograca31

Notes:

Some screenshots of the output I'm getting:

rodrigograca31 commented 9 years ago

Here you can see my PC specs and my script configuration:

rodrigograca31 commented 9 years ago

Ok the low FPS problem seams to be a slow internet problem... If I use -save it says 24 or 25 frames, but when I run it without the -save parameter it drops to 8, 9 or 10 ...

About the -threads $THREADS -thread_queue_size 512 change, did not work and stopped with an error:

Option thread_queue_size (set the maximum number of queued packets from the demuxer) cannot be applied to output file rtmp://eumedia1.livecoding.tv:1935/livecodingtv/rodrigograca31?t=X -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to. Error parsing options for output file rtmp://eumedia1.livecoding.tv:1935/livecodingtv/rodrigograca31?t=X. Error opening output files: Invalid argument

I've changed it in the entire script...

wargio commented 9 years ago

ok, so it's the slow internet connection that affects the FPS. sorry for the CPU speculation, but i used this script on an old pc, and it was working pretty well, so i thought yours was older then mine xD

But if you have an i7, you should be ok ;)

Forget about -thread_queue_size you have a small problem with their server. your ping is too high to have a decent live session.

Anyway, try to use a vpn. maybe it will help!

rodrigograca31 commented 9 years ago

VPN will probably make it horse... since it will be another "hop"... It's because in the end I'm using a mobile network...