This is a simple example of how a screen recorder button can be configured in Gradio.
Depending on your current settings, you may need to grant permission to your browser to record your screen or to use your microphone if recording a voiceover.
When there is time I may make it into a standalone component using the new support for custom components.
This demo has a dependency on ffmpeg to convert webm files to mp4 format. On linux (debian) install with apt-get install ffmpeg.
This demo uses the Media Recording API of supported browsers. Some details on Media Recording API limitations can be found here
This is a simple example of how a screen recorder button can be configured in Gradio.
Depending on your current settings, you may need to grant permission to your browser to record your screen or to use your microphone if recording a voiceover.
When there is time I may make it into a standalone component using the new support for custom components.
This demo has a dependency on ffmpeg to convert webm files to mp4 format. On linux (debian) install with apt-get install ffmpeg.
This demo uses the Media Recording API of supported browsers. Some details on Media Recording API limitations can be found here