MyrikLD / LinusTrinus

TrinusVR streaming server for Linux
128 stars 16 forks source link

LinusTrinus error on raspberrypi 4 #12

Open thunderzips opened 4 years ago

thunderzips commented 4 years ago

I've downloaded LinusTrinus I've started LinusTrinus by entering python3 main.py from my raspberrypi 4 after starting the android client. The following is printed on my terminal. INFO:discover:Start discover INFO:discover:Find: MyIpAddress INFO:sender:{'build': 'lite', 'deviceType': 'android', 'full': False, 'height': 1080, 'id': '325195349', 'lensCenterX': 0.5363247990608215, 'lensCenterY': 0.5, 'ref': '3tsus', 'scaleInX': 2.450000047683716, 'scaleInY': 1.7000000476837158, 'scaleX': 0.14692780375480652, 'scaleY': 0.23000000417232513, 'screenCenterX': 0.5, 'screenCenterY': 0.5, 'sensorSupport': ['none', 'normal'], 'sensorVersion': 1, 'version': 75, 'videoSupport': ['none', 'mjpeg', 'limelight'], 'warpW': 0, 'warpX': 2.299999952316284, 'warpY': 0.2199999988079071, 'warpZ': 0.23999999463558197, 'width': 2340} INFO:frame_generator:ffmpeg cmd: ffmpeg -f x11grab -loglevel error -s 1600x600 -framerate 30 -i :0.0+0,0 -f mjpeg -vsync 2 -

My android device is just showing a black screen. Any help will be appreciated.

nkv123 commented 4 years ago

me too

ghost commented 3 years ago

Seeing the same on Arch-Linux on my laptop, using Trinus CBVR Lite 2.1.1 on my mobile device.

As above, device connects, then just shows a blank screen.

TheAwesome98-Real commented 3 years ago

You need to configure the ffmpeg script to point to the right vt/tty for your distribution. (2 for Ubuntu and Mint, 1 for Debian and PiOS)

saintbyte commented 2 years ago

Problem in "-s 1600x600" , find in src width and height and change to your screen dimensions

SaintAnd commented 2 years ago

You need edit -> frame_generator/ffmpeg_fg.py for example resolution display 1366x768. width = 1024 height = 750