Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #24

Open
JoshuaCarroll opened this issue Sep 7, 2016 · 6 comments
Open

Documentation #24

JoshuaCarroll opened this issue Sep 7, 2016 · 6 comments

Comments

@JoshuaCarroll
Copy link

I run the driver and see the output:

$ sudo ./gchd
FIFO: /tmp/gchd.ts has been created.
Waiting for user to open it.

What exactly is it waiting for me to do at this point?

@tolga9009
Copy link
Owner

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

@tolga9009 tolga9009 changed the title Documentation: Documentation Sep 7, 2016
@JoshuaCarroll
Copy link
Author

JoshuaCarroll commented Sep 7, 2016

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!

@JoshuaCarroll
Copy link
Author

If you want, I'll submit a pull request to update your README.md with Mac instructions. Just let me know.

JoshuaCarroll added a commit to JoshuaCarroll/elgato-gchd that referenced this issue Sep 8, 2016
@ghost
Copy link

ghost commented Sep 13, 2016

JoshuaCarroll, all the Elgato cards support Macintosh out of box, except the HD60 Pro.

@JoshuaCarroll
Copy link
Author

@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.

@ghost
Copy link

ghost commented Jan 30, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants