Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinusTrinus error on raspberrypi 4 #12

Open
thunderzips opened this issue Jul 11, 2020 · 5 comments
Open

LinusTrinus error on raspberrypi 4 #12

thunderzips opened this issue Jul 11, 2020 · 5 comments

Comments

@thunderzips
Copy link

thunderzips commented Jul 11, 2020

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
Copy link

nkv123 commented Jul 16, 2020

me too

@ghost
Copy link

ghost commented Jul 26, 2021

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
Copy link

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
Copy link

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

@SaintAnd
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants