maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] [Fremantle] pythoneye h264 remote desktop (https://talk.maemo.org/showthread.php?t=93178)

pythoneye2 2014-05-13 01:16

[Announce] [Fremantle] pythoneye h264 remote desktop
 
a gstreamer based remote desktop (only video at the moment) streaming client and streamer mostly written in python.

(vnc like but for low bandwith networks but needs a good server cpu (recomment 2ghz dual core (cant have enough of that))
What does it? I made videos for you: n900 connected to openvpn via 3g connected to dsl server serving the desktop,
browsing the net and watching a "HD" youtube video. (sorry for bad quality my n900 was in use, videos are in alpa.tar.gz)

First: All is done at your own risk! Look at the code if you are unsure.

Features:
video is x264 encoded
you can zoom and scroll remotely
basic keyboard support
touchscreen cant act as mouse-touchpad-relative-"view follows pointer" (hoover mode possible),
touchscreen-absolute input or just as scroll device
volume keys act as mousekeys (first click acts strange somehow(shows volume bar again))
network is udp based
supposed to work over 300 ms, 1 mbit network connection (so 3g client to dsl server was the goal
(there is room for improvement))
python based: easy hackable!
n900 uses dsp! (amazing)

ugly things:
you probably have to compile a gstreamer plugin for the server side, the cheap way i do it, is messy and takes a while
everything is barely working
i guess it is a security nightmare (but it is assumed to work over a vpn, trusted enviroment)
there are useless buttons and text entrys

known bugs:
this is alpha.. endless bugs and missing execeptions and crashes (not too often i hope)
it should not harm..

missing features:
sound
zoom/focus to pointer
right click in touchsreen mode per long press (all timing based recognition is missing)
latency slider in gui (a nicer gui)
tab/esc keys
much more

More Details in README

alpha.tar.gz

(oh too big for maemo.org)

Is it working for you?

pythoneye2 2014-06-02 10:39

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
version alpha2
sound support, better left and right click support, bugfixes

ugly things:
screen is green until first keyframe (usually 1-10 sec)
screen looks strange after scrolling (workaround scroll a tiny bit again)

known bugs:
this is alpha.. endless bugs and missing execeptions and crashes (not too often i hope)
it should not harm..
screen stays black, increase latency and try again, sometimes it fails to start only
if you use sound, increase latency to >1000

still missing features:
zoom/focus to pointer
latency slider in gui (a nicer gui), (harder to implement than expected)
tab/esc keys
much more

http://www.file-upload.net/download-...a2.tar.gz.html

bla1 2014-06-02 11:30

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
Absolutely awesome. Any plans/ideas how to allow users to skip compiling gstreamer plugin on server, without sacrificing effectivness?

pythoneye2 2014-06-02 20:49

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
im scratching my head for a while, tried a few pipelines,

i tried implementing scaling as a python gstreamer filter (I got amazing 1 fps).
If i drop zooming theora may work, but it has many drawbacks like cpu load and some lags and some missing options. Perhaps I manage to get a version without zooming.
But next thing to look at is how gstreamer1.0 works and i may also try the ffvideoscale plugin.

Estel 2014-07-10 00:25

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
Keeping my thumb fr this project, such a virtual desktop "on steroids" would be really useful!

Cheers,
/Estel

pythoneye2 2018-08-03 18:58

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
I finally got it working on Ubuntu 16.04 (without sound)
and i always wanted to make a better video:
now starring supertuxkart via wlan on N900

supertuxkart hardware requirements for advanced linux gaming
Recommended
GPU (Recommended): NVIDIA GeForce 660 GTX or AMD Radeon HD 7870 series card or higher; At least 1 GB VRAM (video memory).
GPU (Minimal, With this setup the game might be choppy): NVIDIA GeForce 470 GTX, AMD Radeon 6870 HD series card or Intel HD Graphics 3000; At least 512 MB VRAM (video memory).
CPU: Intel Core i3 (or better) or AMD processor, 2.8 GHz or faster.
At least 1 GB of free RAM
Disk space: 700MB

no problem for a Nokia N900 ;)

pythoneye16.04_V10.tar.gz

pythoneye2 2020-10-20 00:25

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
alpha3
sound is working most of the times with evils forces of aac and a hell lot of monkey patching and dpkg -i packages from ubuntu 14.04

tested mostly on ubuntu 20.04 64bit.

So finally you can watch youtube videos with sound with pythonremoteeye.

http://www.filedropper.com/pythonremoteeyealpha3tar

pythoneye2 2020-10-20 00:54

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
A fix for onboard to show keys and not "?" question marks in tightvncserver. Implements or emulates a basic us keyboard.

Its good enough for me but not good enough to push.

Bug Report:
https://bugs.launchpad.net/onboard/+bug/1001736

http://www.filedropper.com/onboardgtk

It uses PyUserInput as backend.
so for python3 for example you need
apt-get install python3-pip
pip-3.2 install PyUserInput

install on ubuntu:
# backup
cp /usr/lib/python3/dist-packages/Onboard/OnboardGtk.py /usr/lib/python3/dist-packages/Onboard/OnboardGtk.py.org
# overwrite
cp ./IOnboardGtk.py /usr/lib/python3/dist-packages/Onboard/OnboardGtk.py

known errors:
num lock is not working so no numbers via numpad
the key to the right of left shift just produces "<" always
most long press keys wont work (ö ..)

Maemish 2020-10-20 03:46

Re: [Announce] [Fremantle] pythoneye h264 remote desktop
 
I don't understand a thing (no need to explain either) but 10 points for making it work. And it seems it only took 6 years! Really appreciate the effort people are puting on this device. My N900 is resting a bit and have been using android for a week cause I need to reflash the device and just do not want to go through the procedure at the moment.


All times are GMT. The time now is 07:52.

vBulletin® Version 3.8.8