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

Video only shows in a narrow band center screen: ONN Android tablet #1696

Open
bill-mcbride opened this issue Jan 2, 2025 · 10 comments
Open

Comments

@bill-mcbride
Copy link

Describe the bug
A clear and concise description of what the bug is.

When viewing a video camera feed on my ONN (Walmart) android tablet, the video image is compressed into the center 1/3 of the screen. This using both your .APK and the OpenTAK-ICU application. the Video from the camera is displayed normally when using other applications. This was also reported to Enzo at OpenTAKServer, and he suggested contacting you. Image file from OTS attached.

To Reproduce
Steps to reproduce the behavior:

  1. Load .APK (RootEncoder or OpenTAK-ICU) on ONN android tablet
  2. View file/video stream on tablet (Under Old API (16-20)
  3. See error

Expected behavior
A clear and concise description of what you expected to happen. Expect full screen video display

Screenshots
If applicable, add screenshots to help explain your problem. see below:

image

OpenTAKICU_1735762042718
OpenTAKICU_1735762042718

Smartphone (please complete the following information):

EUD is ONN tablet, Mdl #

https://www.walmart.com/ip/onn-11-Tablet-Pro-128GB-2023-Model-Grey/1765670493?athcpid=1765670493&athpgid=AthenaItempage&athcgid=null&athznid=si&athieid=v0_eeNTY2LjA4LDU1MjM4LjEzLDAuMDA5NzIwMjEwNzA3MzYyMzg0LDAuNV8&athstid=CS055~CS004&athguid=i4oHFmRz2yRChW1EBEl07J5xwCOm-liXFa2e&athancid=946507988&athposb=0&athena=true

  • Library version [e.g. 2.2.7]
  • Device: ONN Tablet Mdl: 100110027
  • OS: Android ver 14
  • Media server [e.g. srs, version 5.0]
  • Class used [e.g. RtmpCamera1]

Additional context
Add any other context about the problem here.

@pedroSG94
Copy link
Owner

Hello,

Sorry for late response I was on holidays.

Did you test using my app example? Which example did you test?

@bill-mcbride
Copy link
Author

bill-mcbride commented Jan 8, 2025 via email

@pedroSG94
Copy link
Owner

pedroSG94 commented Jan 10, 2025

I don't understand how to reproduce the error. Can you share a screenshot of the RootEncoder app and explain the error?

In your screenshot I only can see an image but I don't know if the problem is the preview, when you capture a photo, video recorder or stream result.

@bill-mcbride
Copy link
Author

bill-mcbride commented Jan 10, 2025 via email

@bill-mcbride
Copy link
Author

bill-mcbride commented Jan 10, 2025 via email

@pedroSG94
Copy link
Owner

Yes, if you meant that you have black bands in the preview. This is intentional to avoid distorting the image.
The idea is to adapt the stream resolution to the screen device in the preview.
You don't have it in the record or stream, only in the preview.

@bill-mcbride
Copy link
Author

bill-mcbride commented Jan 11, 2025 via email

@bill-mcbride
Copy link
Author

Screenshot 2025-01-13 153341
same issue as noted earlier.

@pedroSG94
Copy link
Owner

Do you have any way to reproduce it consistently?

@bill-mcbride
Copy link
Author

bill-mcbride commented Jan 15, 2025 via email

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

2 participants