muralikg / puppetcam

Export puppeteer tab as webm video
MIT License
322 stars 62 forks source link

trouble running on WSL #25

Closed danisharora099 closed 1 year ago

danisharora099 commented 3 years ago

chromium won't run on WSL & Xvfb won't run on Windows; why is headless: false? wouldnt running on a server require headless: true?

shubham-pixelnx commented 3 years ago

What's your usecase?

danisharora099 commented 3 years ago

@shubham-pixelnx I'm wanting to spawn a chromium instance, go to our meeting URL, record that meeting, and save it to the server. All of it needs to happen on our EC2 instance

shubham-pixelnx commented 3 years ago

@danisharora099 I've also tried the same but the framerate won't be good enough for such cases. The output will be jerky.

danisharora099 commented 3 years ago

Got it - gonna resort to server-side recording & post-processing then

shubham-pixelnx commented 3 years ago

Didn't get you, what are you planning instead?

danisharora099 commented 3 years ago

Recording individual RTP streams (diverting them from the media router to a new endpoint on ffmpeg/Gstreamer, and recording them). Once those individual streams have been recorded, using ffmpeg/Gstreamer again to assemble those A/V streams into one single file.

Note: this is only possible because I control my media router (backend).

shubham-pixelnx commented 3 years ago

Getting a bit, So do you've full control over those meeting links, to put custom code there, and so on the frontend as well?