This shows you the differences between two versions of the page.
beyond:tv-mode [2023/11/16 18:19] Bob Varkevisser created |
beyond:tv-mode [2024/01/11 16:26] (current) Bob Varkevisser |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== TV Mode ====== | ====== TV Mode ====== | ||
+ | |||
+ | __Draft Developer Notes__ | ||
+ | |||
+ | |||
+ | TV mode is a special mode for FB4 streaming and calculation. But let’s talk about how the output is usually formed. | ||
+ | |||
+ | |||
+ | How is impact FPS? FPS is Frames per second. It calculated as – sample rate of projector divided by number of points in frame. As example, 30`000 / 500 points give us 60 FPS. Take into account that number of points in frame may change (keep in mind vector settings, clippings, etc, all of these things change number of points). So the FPS always changes. And this is not a primary parameter, this is result of point number and sample rate. | ||
+ | |||
+ | |||
+ | When laser projection recorded, it quite often flickers. On of the possible reasons – frame rate of projector does not match the frame rate of laser projector. Of course, it will not, because normally FPS is variable thing. How can we solve the problem? We need to have a special mode where you tell FPS value you want, and software will do the “magic” for you. Skip jokes, let’s see what can be changed – FPS is constant, sample rate – better do not touch, its setup for exact place. The only thing is the number of points (in fact, the talk about time, how much time we have to display the frame). | ||
+ | Now it makes sense to start from the other side. As example, we have 30K output, and we want 50 FPS. It means, we want 600 points. If the number of points per frame is less than 600 then all is easy, we just leave empty space (no output for some time). However, the problem will show up if we have more points than we can afford. Can we remove the points? No, it will be visible, a part of the frame will be lost. So, there are 2 ways – send more points than can be displayed, and FB4 will skip some of frames. And the second approach is much more correct – give two cycles (two FPS), to display the frame fully. As example, if we have 1000 points in frame, and can display only 600, then FB4 will output 600 in first cycle, and 400 in second (with wait time for 200 points). | ||
+ | Another aspect of TV mode is how the calculation core works. With fixed FPS we know what we expect – the display must be synchronized, | ||
+ | |||
+ | |||
+ | In context of network load – 3.0 mode may load network and CPU more than classic output mode. In the case of 4.0 version the load is equal or lower. | ||
+ | |||
+ | |||
+ | How to start with TV Mode. Use Master tab, TV mode panel, set desired FPS. I recommend to start from low value such as 5 FPS. Lasers will “flicker”, | ||
+ | |||
+ | |||
+ | Frequently asked question – is it really synchronized to Camera frame rate? Of course not. There is no hardware for that, and you do not have a cable between your camera and BEYOND. In fact, to make it 100% right, then there should be sync connectivity between the camera and all controllers. BEYOND offers zero cost solution, just fix FPS and see how it looks on camera. | ||
+ | |||
+ | We also provide the ability to shift start time back or forth on a few milliseconds, | ||
+ | |||
+ | |||
+ | In context of FB4 Data Transmission monitor - color indicators in status bar (pink, | ||
+ | A final remark, sometimes I mention that TV mode may help in case of network overload. Yes, it can, not so much as Performance Tunings of BEYOND, but sometimes you can use it as a trick (if you know how to use it). Another aspect is Also-To. When you do Also-To and want to sync the projectors – TV mode might help, because all projectors synchronized. | ||
+ | Overall – consider TV mode as switch between fixed FPS and variable FPS output. | ||