Comments (5)
@leonid-shevtsov any ideas? I'm getting the same issue and not sure of how to go about getting headless to work on OSX.
from headless.
Same issue here using OSX.
I get this on the log file:
avconv version 12, Copyright (c) 2000-2016 the Libav developers
built on Mar 6 2017 22:35:59 with Apple LLVM version 8.0.0 (clang-800.0.42.1)
Unknown input format: 'x11grab'
from headless.
Avfoundation won't let you grab video from the Xvfb display - only the screen of your Mac. So it's not a direct replacement.
Are you sure you need to grab from Xvfb specifically? If not, you don't need headless at all.
from headless.
Hi @leonid-shevtsov, thanks for your work on this tool. Trying to use it to record some RSpec/Capybara tests running on PhantomJS/Selenium, but having the same problem. I can actually reproduce it with the test suite — running rspec spec/integration_spec.rb:19
fails with no specific error message besides the assertion, but if you add a log_file_path
and read it you see the error message. This happens with both avconv
and ffmpeg
, with latest and older versions of both (going back to libav 9.10 and ffmpeg 2.7.2, which based on their CHANGELOGs still support x11grab, but clearly don't?).
I've noticed that the Travis CI build configured for this repo is still passing. That runs on Linux and I see how it runs sudo apt-get install -y libav-tools
, but I'm unclear reading the printout on what actual versions are installed. I wonder if you could throw some light here? I'm also confused because these versions are kind of old, so presumably this hasn't been working for a while? Or I'm missing something, which is quite possible given that I know nothing about ffmpeg
or avconv
.
Thank you!
from headless.
I attempted to use this and specified the path to ffmpeg but headless still complains it can't be found yet i can run ffmpeg from commandline
#<Headless:0x00007ff76052e6d0 @display=99, @xvfb_launch_timeout=10, @autopick_display=true, @reuse_display=true, @Dimensions="1280x1024x24", @video_capture_options={:provider_binary_path=>"/usr/local/bin/ffmpeg"}, @destroy_at_exit=true, @pid=18221, @old_display="/private/tmp/com.apple.launchd.7tpGUVqPN2/org.macosforge.xquartz:0", @at_exit_hook_installed=true>
(byebug) continue
Error Message: /usr/local/bin/ffmpeg not found on your system. Install it or change video recorder provider
Stacktrace:
> 698 | headless.video.start_capture
from headless.
Related Issues (20)
- "Cannot establish any listening sockets" error precludes autopick: true
- Dimension problem HOT 1
- audio problem
- Display socket is taken but lock file is missing on mac within sidekiq
- Chrome Webdriver hangup on ruby 2.6 HOT 1
- New release? HOT 2
- cant require file HOT 2
- read_nonblock issue HOT 1
- How could I produce a fragmented mp4? HOT 2
- Display socket is taken but lock file is missing HOT 14
- Run Concurrently (using different ports?) HOT 5
- Question: how do you anticipate headless to work with Docker Selenium HOT 4
- Audio Video recording HOT 1
- Few ideas HOT 1
- import: unable to open X server `localhost:100' @ error/import.c/ImportImageCommand/364. HOT 2
- Running headless with flash HOT 1
- dimensions not the same as what I've set HOT 1
- how to use on command line
- Using headless in a multithreaded program
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headless.