LinusTrinus icon indicating copy to clipboard operation
LinusTrinus copied to clipboard

LinusTrinus error on raspberrypi 4

Open thunderzips opened this issue 3 years ago • 5 comments

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.

thunderzips avatar Jul 11 '20 18:07 thunderzips

me too

nkv123 avatar Jul 16 '20 22:07 nkv123

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.

ghost avatar Jul 26 '21 15:07 ghost

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)

TheAwesome98-Real avatar Aug 05 '21 19:08 TheAwesome98-Real

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

saintbyte avatar Jul 07 '22 10:07 saintbyte

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

SaintAnd avatar Aug 11 '22 23:08 SaintAnd