Replies: 5 comments 9 replies
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Hi! I haven't forgotten about this... I've been learning git and trying to understand how this all works. After several attempts trying to make the grabber (without much success, issues with Qt, different libraries, repeated classes,...), I decided to change the framebuffer implementation a bit so that if it detects an Amlogic device, it adds it to the list. This is basically what I think is done in HyperionNG. The problem is that it is returning this error:
In the code, I saw that it tries to gather the information with:
But it is set to read-only:
So I changed it to O_RDWR, but it still gives the same error. If the device is supposed to be amvideocap0, I don’t understand the permission error. Both programs run as root:
If I change the device to /dev/amvideo:
And here I ran out of ideas... Any hint on where to continue? I think this is the right way. If it has to be amvideo, I can’t figure out the reason for the error. I know that amvideocap0 is the capture device and amvideo is the display, but I'm not clear on how to use them with the framebuffer. This is fun and you learn a lot, but it's a pain to test. Im testing from here: https://github.com/santievil/HyperHDR Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Hello again! I've been doing a few more tests and I can now capture the image, but it comes out tripled and not very well aligned... The video I've been using for testing is this one Any clue about what might be happening? I'm dumping some frames and they seem to be captured correctly: Data to test files is converted later with ffmpeg: I don't understand why this is happening. I've uploaded the version in case you want to test it: Code in: Thanks and regards! |
Beta Was this translation helpful? Give feedback.
-
Well, a couple of changes and it more or less works:
It doesn't work for videos encoded with AV1 (image appears distorted in "Live video."). |
Beta Was this translation helpful? Give feedback.
-
Hi!
This Christmas, I got a Nokia 8010, and after reading some recommendations, I decided to install CoreELEC.
Although Hyperion.ng works correctly, I set out to try installing HyperHDR.
After a few attempts (I think), I managed to compile the v21 beta1 for CoreELEC.
I haven't been able to test if everything works correctly (I don't have a capture card), but I did see that it works with Instance Screen Capture.
I would be interested in having the Amlogic grabber available, but although I have some programming knowledge, I have no idea how to implement it.
I would need some guidance if anyone knows how to approach this, at least a general overview that helps me understand it without going crazy.
Thanks for the help, cheers!
Beta Was this translation helpful? Give feedback.
All reactions