Giter Site home page Giter Site logo

Video recording with sound about images HOT 7 CLOSED

raduburla avatar raduburla commented on July 23, 2024
Video recording with sound

from images.

Comments (7)

GhaziTriki avatar GhaziTriki commented on July 23, 2024 1

@aandryashin Thank you very much for the PR. It is pushing Selenoid into an upper level.

from images.

vania-pooh avatar vania-pooh commented on July 23, 2024

@raduburla I think that's possible but you are the first person requesting this.

  1. We are using ffmpeg to record video - you could create your own video recorder container using by modifying our build files: https://github.com/aerokube/selenoid-images/tree/master/selenium/video Selenoid allows to override video recorder image by specifying -video-recorder-image flag.
  2. You could build you own browser images using ours as a base (in FROM instruction) and then install required software for Chrome. Then you just replace our images by yours in browsers.json and reload Selenoi configuration (or restart its container). snd-dummy is also not enabled in our images, not sure how to do this with Docker - probably vie enabling it on the host machine.

from images.

ihor-mutel avatar ihor-mutel commented on July 23, 2024

Hi,

First, thank you for this great piece of software, works out of the box like a charm.

I have a particular use case where a videoconference should be recorded and I need help figuring out if it's even posible to achieve.

As the title suggests, I need to record the selenoid browser session with sound.

Doing this on a server with no sound card might be tricky.

From my research the following steps should be taken:

  1. enable on the host OS snd-dummy (https://superuser.com/questions/344760/how-to-create-a-dummy-sound-card-device-in-linux-server)
  2. on the browser machine:
    • install alsa-utils and define /etc/asound.conf
    • install pulseaudio and add user running chrome to audio group (I don't know if this step is really required if my system does not have a sound card)
  3. ffmpeg should be compiled with alsa support and should pick up the sound from the dummy sound card added

From all this I managed to do 1 by creating a custom docker image raduburla/chrome which works well, i think, chrome finds the sound devices and 2, the OS finds the virtual sound card.

With 3 I am unable to modify the image that records video, I might be missing some docker knowledge here.

The videos recorded by selenoid are still without sound.

I am missing something or what I am trying to achieve is not even possible?

Any help appreciated, thank you.

Hello, any progress on this? I also interested in how to record a video with sound. As I understand it is pretty straight forward to add additional flags for ffmpeg in video-recorder container but I'm not sure how to record get an internal audio channel in docker container.

from images.

vania-pooh avatar vania-pooh commented on July 23, 2024

@web1991t unfortunately no progress here. If you have resources to experiment - we could provide any reasonable help.

from images.

wangjin avatar wangjin commented on July 23, 2024

Hi, Iā€™m using Selenoid to record my tests screen which works pretty well. But the video recorded has no audio. I'm running Selenoid in Docker engine v20.10.11 on my mac(macOS 12.0.1) and all the settings are by default. So what else should I check? Any help appreciated, thank you.

from images.

vania-pooh avatar vania-pooh commented on July 23, 2024

@wangjin it's currently broken. #413

from images.

wangjin avatar wangjin commented on July 23, 2024

@vania-pooh Thanks for the reply, I tried the old version of chrome image(88.0) and it works!

from images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.