rse / vingester

Ingest Web Contents as Video Streams
https://vingester.app
GNU General Public License v3.0
193 stars 16 forks source link

Can't restart a browser if using headless/ffmpeg-> recording #73

Open timboxyz opened 2 years ago

timboxyz commented 2 years ago

In Vingester 2.8 on Linux Mint 20.3 Cinnamon if using headless/ffmpeg->file you cannot restart a browser. Headless/NDI and Frameless are OK. This happens even if you change the output type/sink before attempting to restart. You have to restart Vingester.

I note that before initially starting the browser Vingester CPU is ~2.5% which rises to about 70% on my old laptop. However on stopping the browser the CPU only drops back to around 25% usage.

Htop confirms that a Vingester thread with a --type=renderer parameter is the culprit. Ffmpeg quits shortly after the browser is stopped. After about 10 minutes (using the sample expert-1 browser) this thread stops and CPU usage drops back to ~7%. However it is still not possible at this point to restart the browser.

I tried enabling the console to see what was going on but no separate console appeared or anything in /var/log/syslog.

timboxyz commented 2 years ago

I have just repeated this test on MacOS 12.4 and can confirm that I do not see the issue on this platform, so it appears to be a linux thing.