The container appears to have built correctly, but now I'm stuck on "Installing the driver...", when attempting a Vulkan driver reinstall. Did you say it was coming from backports?
I never saw the small console, but there's this in the log:
[CC] Vulkan driver: 37 of 37 packages in
[CC] Vulkan driver could not be set up: libvulkan.so.1 still will not load
After a browser refresh, I got this on the Closed Captions page:
Driver setup failed: libvulkan.so.1 still will not load
Processing triggers for libc-bin (2.36-9+deb12u14) ...
Selecting previously unselected package mesa-vulkan-drivers:amd64.
(Reading database ... 38274 files and directories currently installed.)
Preparing to unpack .../mesa-vulkan-drivers_25.0.7-2~bpo12+1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (25.0.7-2~bpo12+1) ...
Setting up mesa-vulkan-drivers:amd64 (25.0.7-2~bpo12+1) ...
Processing triggers for libc-bin (2.36-9+deb12u14) ...
(Reading database ... 38307 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-1_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.2.13.dfsg-1) over (1:1.2.13.dfsg-1) ...
Setting up zlib1g:amd64 (1:1.2.13.dfsg-1) ...
Processing triggers for libc-bin (2.36-9+deb12u14) ...
Can I install the drivers manually for now? If so, what's the command?
Using your image -- all good. Much better approach on installing the drivers. How big is the driver package? This seems like something we should consider baking in.
Very cool. More accurate, but sentence oriented. It's great that you've included options. It's interesting how the GPU usage is much more burst oriented -- which seems like it could be better with multiple tuners in use.
Still no data on my GPU USAGE graph...
@anon38303228 BRAVO!!!
I got two simultaneous programs closed captioning using apple silicon CPU only using the recommended Nemotron model. I need to play more with all the nifty other changes you made. Very nice. In your experience , if a GPU is used, does it improve any of the slight lag im experiencing. This could be a bullet item to look into later to solve how to get the GPU support on apple silicon Macs for this. But otherwise here are a few screenshots of my activity monitor with zero, one , and two closed caption slipstream sessions going on....
Still very usable and VERY MUCH APPRECIATED. once again BRAVO!
@bnhf seems like the merge worked. I used beta2 tag for this.
I verified the ffmpeg version, pyatv version, etc.
existing tuning scripts seem to be working great, now with CC support!!
Thanks to both of you, and if any more testing needed (perhaps someday some kind of GPU support for the apple folks) just let me know...
The :beta3 tag should also work for you, and has all the latest -- so give it a try.
I just loaded the beta3 up and am using Cohere. I noticed now with two channels running, im getting much improved CPU loading. It's roughly 75% idle for either one or two simultaneous transcribes!!
Ive played with the roll-up and the sentence length on my "benchmark" station which is a live TV broadcast of a sports radio talk show. So no background noise, just well isolated studio talk. As opposed to a live sporting event - that's the next test.
So far the accuracy is very nice. There is some delay, but I think where Im getting distracted is more in the presentation settings...
Is there a way to have an adjustment in capture settings for the word wrap width (caption box width)?
I think the delay wouldn't be as noticeable if the "caption box" was wider. All the extra rollup can be distracting.
@anon38303228 Since going to beta3, I'm having some issues similar to what @mnwxman132 is describing.
The Closed Captions are not taking advantage of the real estate on the screen, and often disappear faster than I can read them. Sometimes they're dismissed when they could be left up -- i.e. there's no new dialog.
Also, I tried to switch back to Nemotron model, and the log indicated that happened. However, it sure looked to me like the Cohere sentence-based model was still being used.
Ive been playing with those button combos between sentence length, roll up speed and number of lines. I also noticed that the width is dynamically adjusting at times depending on the material.
I'll keep playing with this - Its really impressive what you have done!!! Many thanks for all your contributions to the community!!
Try watching the Colts/Patriots game on NFL Network, and I think you'll see what I mean. Lot's of captions disappear before you can read them, and I'm not seeing any difference in the way the two models I'm trying are rendering.
I was able to switch models. I had to save the settings in the web UI, and then stop and then restart playback from channels.
I did it that way too, and the log says the Nemotron model is being used -- but to me, it doesn't render like the Nemotron model I was using in :beta2. It looks identical to Cohere.
@anon38303228 Any chance of some sort of "minimum time to display"? I'm currently watching WNBA Playback on the NBA Channel, and more often than not, I'm seeing all three lines display at once for one second or less.
That much captioning displayed all at once, for such a short amount of time, might as well be skipped. Are there any CC standards for these kinds of settings?
Is there any chance that the iGPU in my 14th Gen i9 is speeding things up faster than designed?
I went back to beta2 for now, and can confirm the Nemotron model is looking much better than the model i used on beta3.
You probably already know this, but Google's AI spit out the following for CC "best practices":
Display Duration: Minimum of 1 second for single-line text, 1.5 seconds for two lines, and 2 seconds for three lines.
Speed Limits: Generally capped between 120 to 160 words per minute depending on the target audience and medium.
And I think we can safely say, that the "target audience" here is mostly "old dudes" (not including you of course). 
If you pushed your changes to PR#20, I'm going to build from that. Right at the moment you're pushing your PR commits against "main", and I'm pushing mine to "beta", so you haven't picked up changes I've made -- which is fine for now.
:beta3 now has all of your current commits.
Seems better. I set the reading speed at 130 wpm. I still think the minimum time on screen should be adjustable (if possible). Also, would it be possible to not have a blank line between CC lines? I think that could make reading easier as well.
Ive been playing with the updated beta3. Ive used both the Cohere and the Nemotron models with various settings.
The presentation of both has improved, so there aren't the issues with a flurry of buffered text showing up and quickly then disappearing, like me and @bnhf observed earlier. I settled on 130 WPM and the Nemotron model for now.
However, at least on the Nemotron model, which I like a little better, Im noticing that the text delay after watching for several minutes seems to increase at times to up to 20 seconds behind. Eventually it resets and re-syncs itself.
I tried playing with the roll up speed but had no affect...
Ill keep playing more, but definitely improved since the first beta3


