19/09/2022
For many who click on the Offer… switch you could pick ranging from Shed case and you may Shed pc. If you are okay in just casting one to app, next great, but we would like to throw the new digital display. Unfortunately, indeed there is apparently an excellent Chrome http://datingmentor.org/disabled-dating/ insect one suppresses united states of creating one – it sees the latest shared desktop due to the fact a display, never as a couple separate house windows.
So, already casting regarding Chrome are a no-go, though it might improvement in the long run. The high quality was fine, efficiency are ok so there was just regarding the an one half-2nd slowdown ranging from mouse type in and you may visual views. Maybe not okay for gambling, but okay for the majority workplace opportunities.
Very, package B is using mkchromecast to cast a region of the screen. You could install it along with you can be work at it to your –look for parameter to get the names of your own chromecasts on the network (come across contour 5).
Understanding the name then you’re able to create a more difficult demand to make use of ffmpeg to pick up X11 that have a certain proportions and you may off a particular offset and you will load the new films for the chromecast of choice: All the parameters over will be remain repaired getting finest streaming rate. New -n parameter lets you discover their wished output chromecast, -roentgen determine the fresh new framerate, -s is short for your digital monitor size, if you find yourself :0.0+1600,0 represents brand new counterbalance from where we should bring. Which counterbalance checks out as follows: read from Xserver :0.0, which have an offset regarding +1600 pixels towards the x-axis and you can a great 0 offset with the new y-axis. The latest x well worth would be your laptop’s display depth in the pixels, to make certain that ffmpeg can forget about your own physical display screen. This new y value is actually 0 as the X11 checks out the brand new y axis including the big, heading down.
The concept is always to start an excellent VNC host that is cropped with the digital screen proportions and on the tv side fool around with a good VNC reader program to demonstrate the fresh server’s information
Today, the outcome looks better. Except results are nowhere near exactly what Chrome can do. Even with ffmpeg parameter tuning, on account of system buffers, compression buffers, etc., there is certainly an effective 5-6 second slowdown between your step and the display reaction. Thus, this is merely compatible because an additional display to possess papers, email address and you will things that doesn’t need correspondence (elizabeth.g. seeing logs browse from the).
New VNC method
We can do better. Let’s shed the brand new screen via VNC? This is what I attempted in my own earlier blog post, in a good convoluted way that did not work you to better given that I got to fully capture/transportation and you may render out-of-display 1 / 2 of the fresh pc. Had We invested more time understanding x11vnc’s guidelines ( I might discovered out of the -clip option that does that! The big virtue is that you could “cast” to your VNC-permitted program, you do not need to work on Android os on your Odroid, and then have, if for example the smart Tv provides an excellent VNC consumer app, it can be utilized physically.
We developed a little layer software that creates the latest digital screen while having starts x11vnc regarding history instead verification. Please adjust they to match your demands: New fascinating x11vnc details needed was: -geometry set the newest solution of your target VNC concept and ought to match your digital display proportions -video describes a target quality (1280×720) and you may a counterbalance about most recent screen (1600 pixels on the side of brand new X11 machine, into x axis, 0 pixels throughout the y-axis). The fresh offset is to suit your number 1 display dimensions when the stretching to help you the proper, and ought to end up being bad and you will match the virtual display proportions if extending left of your head display -posts and -noxdamage boost movies responsiveness