-
Notifications
You must be signed in to change notification settings - Fork 194
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
Aspect ratio set #232
Labels
duplicate
This issue or pull request already exists
Comments
I've got partial results with:
|
Same as #21 |
Me neither. The problem is that the two changes above do the correct ratio, but in Lovelace bottom of the card remains black. Card height is not correctly adjusted. |
So we waiting some JS guru :) |
Posted something to #21 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please add an option to enforce card's aspect ratio, similar to HA's picture entity card.
My Hikvision camera's substream has an aspect ratio of 4:3 while the video itself is actually 16:9, and it appears vertically stretched.
If we could set the card height not to reszize automatically to video's aspect, but instead, with optional parameter allow setting a custom card aspect ratio (for 16:9 this is 1.78) it would be great.
VLC displays the stream correctly but I'm sure there's a glitch in the stream itself. No way to fix it in the camera (could use the main stream of 2K resolution, that has the correct ratio, but it's too much for Lovelace, useless here. Substream is enough.)
The text was updated successfully, but these errors were encountered: