Open JoshuaCarroll opened 8 years ago
Hi there,
this driver exposes the video & audio stream as a file, a FIFO file (non-growing) per default. This is wanted behaviour for streaming to Twitch etc. You can load it into OBS, using Media Source
and manually typing /tmp/gchd.ts
for source path. Please note, OS X doesn't support listing FIFO files in Finder, that's why you need to manually type the path.
If you just want to record footage to your HDD, then you can use -f disk
, which will create a normal file, which can be found using Finder. For an alternate path, use -o ~/my/path/filename.ts
.
Thanks for reporting, we definitely need to improve documentation. I've created a Wiki, but didn't had the time to start writing. I will use this issue for tracking documentation.
Cheers, Tolga
Totally makes sense. The problem is that OBS Studio on Mac, you can't manually enter a value. So I dropped into the console and created a file that I knew the driver would overwrite.
sudo echo "a" > /stream/gchd.ts
Also, since you can't manually enter a value, I needed to be able to locate the file in the OBS Finder window. That's why I used the /stream/gchd.ts
path.
Next I opened OBS and created a Media object and pointed it at the /stream/gchd.ts
file.
Lastly I opened the driver with the command:
sudo ./gchd -o /stream/gchd.ts
OBS working great on Mac with your driver!
If you want, I'll submit a pull request to update your README.md with Mac instructions. Just let me know.
JoshuaCarroll, all the Elgato cards support Macintosh out of box, except the HD60 Pro.
@medicap, while that is what the documentation says, the standard Elgato driver for Mac does not load in OBS Studio (which is also what the documentation says). So if one wants to use an Elgato in OBS Studio on a Mac, this project is the only solution of which I am aware.
For those interested, you can get a video4linux skeleton that may be able to handle elgato with small modifications, here: http://lxr.free-electrons.com/source/Documentation/video4linux/v4l2-pci-skeleton.c?v=3.15
I run the driver and see the output:
What exactly is it waiting for me to do at this point?