Chrome Capture for Channels

Did you use my support for DirecTV and puffer? Does it actually work for 60 fps. Can you right click it and see if it is actually 60

I agree but if you use a htpc or something and want all in one you may want an old i7 or newer hw

2 Likes

Your cpu is mobile and sadly not fast enough to handle it without lag. It is throttling dud to being a mobile CPU. A 7th gen i7 from eBay for 40-80 bucks will work great

1 Like

It doesn't appear that the DirecTV code for changing channels in your ncc file works for the free DirecTV stream account I tested. Does the paid DirecTV stream account behave differently? I can add in the code if it does.

Yes, I confirmed via the channels app streaming stats that the streaming for some channels were 60fps (e.g. Sling Golf Channel, MLB) while the vast majority were playing at 30fps.

What about puffer? Did you add the script on nbc to keep it going?

nbc is in there and I did try and merge your previous code for DirecTV, but I wasn't able to get it to work on the free DirecTv account. I haven't had a chance to look at puffer. I also found that the disable framerate limiting option was causing a lot of CPU usage so I removed it in the latest update and exe.

Separately, I know it's a different topic, but I also created a fork for the interesting CH4C project that @Parkside started to use a Windows/Linux PC (e.g. your Channels Server) with an external HDMI encoder. It seems to be a good option if you are running on a low power server (even Raspberry Pi), but it does require purchasing an HDMI encoder (e.g. Link Pi ~$120). I think that project code base could be merged with this one to give the user the option to use an external HDMI encoder or not at startup.

I just tried this, but it throws an error at line 248 when it is called by Channels:

TypeError: Cannot read properties of undefined (reading 'match')

I think it's because urlParam is undefined. I also found that "req" is undefined.

Clearly, I missed a step setting this up. Is this supposed to be used instead of main.js, with no other modifications?

Thanks,
-Jay

@slampman - Thanks for your response. I wasn't aware of this other option, so I'll definitely check it out.

@babsonnexus - Makes sense. In my case, I bought the mini pc for other uses, so this is an add on, but that's a good point. Thanks.

@doug8796 - Good to know. I know these chips perform worse compared to the other versions of the same generation, but surprised it would be so far behind a 5+ year old architecture. Thanks for all your work on this project.

Just started looking into ADBTuner and also saw mentions of "HDMI for Channels" and "Chrome HDMI for Channels". The first two have really long threads and there's alot of info, so trying to wade through and understand everything.

Can anyone give a quick comparison of each option so I can figure out which would work best for me?

Also, it looks like ADBTuner requires both an Android stick/box and a hardware encoder, is that correct? If I go this route, I'd only be using the encoder for this purpose, so I don't need anything fancy - any recommendations on a device?

Thanks everyone.

Interesting! I was trying this with a Lenovo Yoga 900, which is a 2 core, 4 thread mobile I7. It was better than the previous setup on an old I7 7700, but would still suffer from low throughput, freezes, and errors. I tried it on my current laptop (Dell XPS 15 9520), and it worked fairly well without logging any errors. Still not smooth, but useable. On a hunch, I tried setting the chrome process priority to realtime on the Yoga. That almost completely fixed it!. Using the web interface to watch the video, the quality improved greatly, and the throughput went from 250 kbs to 500kbs for the MSNBC stream. I was able to get 10 mb/s on the SyFy stream. I Still get some brief pauses and an occasional error in the Channels log, but now it's usable.

I tried to use the registry method of permanently setting the priority for Chrome to high (apparently realtime is not supported that way), but when chrome capture launches Chrome, up to 16 instances are spawned, and they are set to different priorities. I wrote a program to set all running instances of Chrome to realtime in order to test this. I'm looking for a way to ensure that every instance is set to high priority in the first place. I suppose realtime if fine if the machine is dedicated to this purpose, otherwise high is probably best.

Yes HDMI for channels or adbtuner requires an Android stick and an HDMI encoder, I have three of them running here now and they work pretty good. There's quite a bit of tinkering you have to do to get them set up but when it's done it's pretty reliable.

Chrome for channels on the other hand is utterly unreliable for me. I can get it to work fine with a computer that has enough horsepower (the intel n100 recommended on cube pc's here is not powerful enough), but it will routinely have the video freeze up during playback while audio continues. This is on NBC channels btw. It's almost a 50/50 shot as to whether that happens and then your recording is screwed.

1 Like

Tested on a Core i5-7300HQ + Nvidia GTX 1050 (old laptop). It gets a buffering stutter every couple of minutes coinciding with high CPU usage. I forced windows to use the Nvidia GPU for chrome which seemed to reduce the frequency of stutters, but not eliminate them.

I had a 7500 i5 desktop and it stuttered. The i7 and 1660 w as able to handle it

If you use the new code nbc should be ok (it taps a key periodically)

when I try to press play to watch a particular channel it says there is a loading error and to try to reload the page, its the same whether I use Hulu or Sling, can anyone help me I would appreciate it thanks in advance!

1 Like

when i try to play something on cc4c it says that my browser is an old version of chrome I am using ubuntu, does anyone know how i can update it or of any other fix/ Thank you!

I strongly suggest you download the Chat GPT app. Nearly all of your questions you have asked this past month could have been answered by AI. Seriously download it, you won’t be disappointed.

I downloaded it but it provided no working information? My problem is that when I try to load the channel it tells me to update chrome but I dont know how?

How did you install Chrome Capture for Channels?

through docker