leonid-shevtsov / headless

Create a virtual X screen from Ruby, record videos and take screenshots.
http://leonid.shevtsov.me/en/headless
MIT License
968 stars 113 forks source link

audio problem #102

Open oncul opened 6 years ago

oncul commented 6 years ago

i added extra but video doesnt have sound

headless = Headless.new(dimensions: '1080x1920x24' ,video: {log_file_path: STDERR, frame_rate: 30, codec: 'libx264', devices: ["-draw_mouse 0"], extra: %w(-acodec libmp3lame -ar 44100 -ab 128k -threads 0) })