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

running salsify with preloaded videos #93

Open
ushasigh opened this issue May 11, 2023 · 1 comment
Open

running salsify with preloaded videos #93

ushasigh opened this issue May 11, 2023 · 1 comment

Comments

@ushasigh
Copy link

Hi,
I see that the salsify codebase contains a file fake-webcam.cc. Is there a way to run the the salsify system with saved videos in .y4m format instead of a real webcam.

@sadjad
Copy link
Member

sadjad commented May 18, 2023

Yes! The easiest way to do this is to use ffmpeg to create a virtual webcam from a .y4m file (https://github.com/excamera/alfalfa/blob/master/scripts/fake-camera#L14), and then use that camera with Salsify (--device option). This approach requires v4l2loopback on Linux.

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

No branches or pull requests

2 participants