Motion Tracking Funscript Generator v0.5.x

I run Vanilla os. Vanilla os supports the installation if nix packages via its own packagemanager “apx”. Would it be possible to provide such a package?

A release in the official nixpkgs is not planned by me as the administrative effort is high and the additional benefit is low.

However, a quick test in vanilla os 2.0 VM showed me that it is possible to install the nix package manager. I was able to use the commands from the ubuntu installation instructions 1:1 and was able to launch the program in the vm.

Got a potential improvement


When showing this window, show a frame coresponding to the first point and the last point to more easily pinpoit a change in scene

Also if might add to it, is there any way we can filter out low frequency sin waves like in the picture? Its currently caused by camera movement.

after executing:

nix run github:michael-mueller-git/Python-Funscript-Editor --refresh – --generator

the shell gets stuck at 100% building the opencv dependencies. The whole computer gets irresponsible.

Any ideas?

the shell gets stuck at 100% building the opencv dependencies. The whole computer gets irresponsible.

Any ideas?

One way such an appearance can occur is if your ram is full.
Check with watch free -h in a second terminal while executing the nix command.

I can’t think of any other reasons why the system becomes unresponsive :thinking:

Also if might add to it, is there any way we can filter out low frequency sin waves like in the picture? Its currently caused by camera movement.

Since Version V0.5.5 there are some buttons in the MTFG OFS Window in the post processing area that can help you to remove some camera movements. These function were original create by quickfix in post-processing-for-ofs-mtfg-lua-script.

I added your feature request to github #25

You could also try to use my cachix cache:

sudo /nix/var/nix/profiles/default/bin/nix-shell -p cachix
cachix use mtfg
exit # leave root shell

Then try the command again:

nix run github:michael-mueller-git/Python-Funscript-Editor --refresh -- --generator

it shows this window:
image

and in terminal it gives the following output:

run workaround for ubuntu
non-network local connections being added to access control list
Warning: Force QT_QPA_PLATFORM=xcb for better user experience
playsound is relying on another python subprocess. Please use `pip install pygobject` if you want playsound to run more efficiently.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(process:34496): Gtk-WARNING **: 06:00:16.226: Locale not supported by C library.
	Using the fallback 'C' locale.

(python3.9:34496): dbind-WARNING **: 06:00:16.289: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.

after running:

nix run github:michael-mueller-git/OFS --refresh --impure

it shows this error message:

error:
       … while setting up the build environment

       error: bind mount from '/etc/resolv.conf' to '/nix/store/sna21qf2lixychxfh4g93xmvmnc1p5j3-OFS-f5c8f69.drv.chroot/root/etc/resolv.conf' failed: No such file or directory

If you have any idea, help is welcome. Otherwise i’ll maybe run OFS under Windows

The output from MTFG looks good so far.

I also added the OFS stuff to my mtfg cachix cache. In theory, if you execute the command now, you shouldn’t have to build anything when using my mtfg cachix cache.

Which exact version of vanilla os are you using (Settings : System : Info)? - I just find it strange that it behaves completely differently for you than it does for me in my test vanilla os 2 vm. Do you have any special setup on settings of your vanilla os?. What kind of hardware are you running the system on (Mainly interested in your GPU)? I was able to enter all commands in the “Black Box” terminal which uses VSO v2 and there were no problems. :thinking:

Thank you, now it works :slight_smile:

1 Like