TBSniller / piccap

PicCap - Hyperion Sender App | Ambilight for LG WebOS TVs
MIT License
313 stars 34 forks source link

Cannot capture HDMI sources #59

Open Doridian opened 2 years ago

Doridian commented 2 years ago

I have an AppleTV plugged into my LG TV. PicCap captures the UI of the TV just fine (like, menus and the such), but no HDMI sources at all. Just installed today, so on the latest release. webOS version (not TV version) is 4.4.2-10 I assume a part of the issue is it says Video: Not capturing in the UI no matter which option I pick.

Do I need to pick a special combination of quirks or something?

The TV info command result is

root@LGwebOSTV:~# grep -h -E '"(hardware_id|core_os_release|product_id|webos_manufacturing_version|board_type)"' /var/run/nyx/*
    "board_type": "O18_ATSC",
    "hardware_id": "HE_DTV_W18O_AFABATAA",
    "product_id": "OLED65C8PUA",
    "core_os_release": "4.4.2-10",
    "webos_manufacturing_version": "05.50.10",
Doridian commented 2 years ago

Actually, I managed to get it to work after a lot of trial and error. Turns out if I reboot my TV and let the startup script autostart piccap, it works. But as soon as I change any setting or start/stop the server, HDMI capture stops working until I reboot the TV entirely.

asvictory3 commented 2 years ago

I had very similar issues. On 0.4.1/2, I saw very infrequent initialization of video capturing, but I had menus work every time. I tried every possible combination of quirks without reliable success. I resorted back to installing 0.2.3 which worked more reliably. (But I had to set up a homebridge plugin for SSH command to start/stop PicCap manually because it wouldn’t auto start - thats just me looking for convenience in HomeKit).

***I’m not 100% sure, but I think on the C8, PicCap works reliably with the “Old TV (libvt + libgm)” setting which isn’t available on the 0.4.2 release. If this is possible to bring back into a future release that would probably solve our problems.

"board_type": "O18_ATSC", "hardware_id": "HE_DTV_W18O_AFABATAA", "product_id": "OLED55C8PUA", "core_os_release": "4.4.1-1004", "webos_manufacturing_version": "05.45.04

popy2k14 commented 2 years ago

Try also lower the resolution. This worked for me when i lowered it to 256x144 on my OLED65B19LA.

asvictory3 commented 2 years ago

I use 192x108

Doridian commented 2 years ago

After running more "trials" yesterday. Pretty much my experience is: No matter the settings (all quirks disabled), when PicCap's service autostarts, it works (as long as my TV is compatible with the settings I made).

If I manually stop and start it, or change any setting and save it to the service (using the UI), video capture stops working until I reboot the entire TV and have the service auto-started again, at which point it will work just fine with the new settings.

As this also applies to me manually running the PicCap portion of the autostart, I think my experience boils down to "the first start of the PicCap service works, but every restart or reload breaks HDMI"

silfa718 commented 1 year ago

Actually, I managed to get it to work after a lot of trial and error. Turns out if I reboot my TV and let the startup script autostart piccap, it works. But as soon as I change any setting or start/stop the server, HDMI capture stops working until I reboot the TV entirely.

This is the only way I can HDMI capture to work. Turn TV ON>>Open Piccap>>Settings>>Reboot

TBSniller commented 1 year ago

This might be related to this issue: https://github.com/webosbrew/hyperion-webos/pull/99 We should check again when this is merged

jordiadan commented 1 year ago

webosbrew/hyperion-webos#99

When are you going to merge the PR?

stason325 commented 1 year ago

Actually, I managed to get it to work after a lot of trial and error. Turns out if I reboot my TV and let the startup script autostart piccap, it works. But as soon as I change any setting or start/stop the server, HDMI capture stops working until I reboot the TV entirely.

This is the only way I can HDMI capture to work.

Turn TV ON>>Open Piccap>>Settings>>Reboot

Same thing for me. My setup: webos 4.4.2-10, rooted, hbc 0.6.2, piccap 0.4.2, hyperhdr on tv @TBSniller Any chance to fix it in new release soon?

Cellivar commented 1 year ago

Running the 0.4.3 update and I'm observing the same behavior. Video: Not Capturing, no HDMI, menus and apps work great. The difference is a reboot doesn't fix it. I've tried a few different settings and several reboots through the PicCap settings screen and it won't show HDMI colors.

Edit: After more fiddling I got it working specifically with the resolution 256x144, no other resolutions work.

Blackspell01 commented 1 year ago

So does it work without a reboot every time now? And does it recognise DRM content over the Apple TV?