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

mjpeg_vaapi #21

Open
randellhodges opened this issue Aug 21, 2018 · 1 comment
Open

mjpeg_vaapi #21

randellhodges opened this issue Aug 21, 2018 · 1 comment

Comments

@randellhodges
Copy link

https://github.com/pvizeli/ha-ffmpeg/blob/898491671e8dc60b140a0353b0cddeb234e11906/haffmpeg/camera.py#L15

I'm attempting to pass in via the extra command line arguments in HA the parameters I need to use mjpeg_vaapi. One of the arguments I'm passing in is
-c:v mjpeg_vaapi

When I debug, I see
'-c:v', 'mjpeg', '-vaapi_device', '/dev/dri/renderD128', '-c:v', 'mjpeg_vaapi'

I'm not sure if ffmjpeg will ignore the first, or ignore the second.

Would it be possible only default the -c:v if one isn't passed in?

@pvizeli
Copy link
Member

pvizeli commented Mar 26, 2019

Yeah, only filter would be merged. I think that need as an option into mjpeg and Home Assistant

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