Result stream and video record have black border.
See original GitHub issueResult video stream and video record have black border. Device screen size : 1080 x 2076 And prepareVideo with width = 1080 and height = 1920 I call this method for streaming and recording video but my video always have black border. I need help to fix this
if (rtmpDisplay!!.prepareVideo(
1080,
1920,
fps,
bitrate,
orientation,
density_dpi
)
)

Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why Does My Video Have 2 Black Bars on the Sides? [Aspect ...
If you see black bars on either side of your video, you have an issue with the aspect ratio of your image. Here...
Read more >Question / Help - Obs settings and black bars left and right
hello i need help, I would like to stream and record to 720p or higher , but I always have black bars on...
Read more >How To: Avoid Black Bars Around Your Video | Brightcove
The reason you get these black bars is because your player and your video are not the same aspect ratio. In today's day...
Read more >How to Remove Black Bars from Your Video - Wistia Blog
This article explains why black bars appear on the top or sides of your embedded video, and how you can eliminate them!
Read more >Black bars are displayed on the top and bottom of the TV ...
It is still possible to see black bars at the top and bottom of the picture if you have an HDTV with a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m working on it.
This error was because stream resolution and device resolution have different aspect ratio. You need stream or record to same aspect ratio to avoid black border. For this reason, to keep aspect ratio the result will have border. This isn’t a bug. This is working as expected