grayleonard / xvfb-record

GNU General Public License v2.0
50 stars 9 forks source link

Please support audio recording #1

Open boygiandi opened 7 years ago

boygiandi commented 7 years ago

I checked the ffmpeg command and no option for audio. Can you update the code to support audio recoding ? I really need it. Thanks

grayleonard commented 7 years ago

Haven't touched the code in a while, but I imagine adding -acodec copy to the ffmpeg command might do the trick. Let me know!

boygiandi commented 7 years ago

no, it only have video channel, no audio :(

milad2golnia commented 5 months ago

@boygiandi Maybe you should provide another input for ffmpeg, for example:

$ ffmpeg [optoins for video] -f pulse -ac 2 -i 1