Some black space at top and bottom when displaying in YouTube

bghayad

New Member
Hello;
I am recording using 1920x1080 the base and the scaled. When I select the resource to be windows capture, then the recording is not including the below (bottom) windows task bar, but when I uploading this video to YouTube, it is appearing some black space at the top and bottom of the screen when I maximize it, but the same video when I play it in my laptop screen with maximize screen, it is appearing very good without any spaces.

Now, if the recording was using Display Capture as resource, in this case the bottom windows task bar is appearing in the recording, this recorded video is appearing full screen at YouTube when I maximize the screen without any black spaces, but when I play this video at my laptop, it is appearing with some black spaces at the left and right of the screen.

My questions is:
How I can overcome the problem at YouTube when I used the Windows Capture as source for the recording, so I do not need to see spaces at top and bottom of the screen when maximizing it in YouTube?

Also, how I can overcome the problem when watching the recorded video at my laptop and it was recorded using the Display Capture as resource, I do not need to see any black spaces at left of right of the screen?

Appreciate the kindly help.
Regards
Bilal
 

Attachments

  • MediaPlayer_DisplayCapture_BlackSpace_Right_Left.jpg
    MediaPlayer_DisplayCapture_BlackSpace_Right_Left.jpg
    473 KB · Views: 56
  • YouTube_WindowCapture_BlackSpace_Top_Bottom.jpg
    YouTube_WindowCapture_BlackSpace_Top_Bottom.jpg
    425 KB · Views: 52

AaronD

Active Member
Is the total empty space equal to the size of the taskbar?

Window Capture only gets the window itself, not the entire screen. So if the window is 1920x1080 minus a 50-pixel taskbar, then the capture only gets 1920x1030. If you center that, then you get a 25-pixel black bar at the top, and another one at the bottom.
 

bghayad

New Member
How I can make in the Window Capture the total to be 1920x1080 without the bar?
In other words, how to make the window capture appear full screen without the bar?

Regards
Bilal
 

AaronD

Active Member
The window is always smaller by the size of the taskbar. So you need to reduce or hide the taskbar. That also means that you won't see the taskbar yourself either, until you mouse down there and it appears.

The window doesn't draw itself twice: once for the screen and once for the capture. It only draws itself once, for display on the actual screen, and the capture just takes whatever that is. If you want the window capture to be a different size, then you have to make the window itself a different size on the actual screen.
 

AaronD

Active Member
Since your example is a web browser, specifically, then you *might* be able to get away with the full screen setting in the browser. Usually triggered by F11.

That displays over the top of the taskbar, which means that you can't mouse to a different window anymore, like to OBS. Use Alt+TAB for that, and hope the full-screen capture still works.
 

bghayad

New Member
Actually using Window Capture, I am able to see the recorded video as full screen when playing it at my laptop using media player. The problem is appearing when putting the video on YouTube and need to see it using YouTube, here the black spaces are appearing. Why? How I can overcome this problem?

Regards
Bilal
 

AaronD

Active Member
Actually using Window Capture, I am able to see the recorded video as full screen when playing it at my laptop using media player. The problem is appearing when putting the video on YouTube and need to see it using YouTube, here the black spaces are appearing. Why? How I can overcome this problem?
What's your video resolution, as recorded from OBS? What's the screen resolution that works? What's the screen resolution that doesn't?

If one screen reduces to 16:9 and the other to 16:10, that'll do it. The 16:10 screen will have bars at the top and bottom when playing 16:9 content, and the 16:9 screen will have bars on the sides when playing 16:10 content.
 

bghayad

New Member
What's your video resolution, as recorded from OBS? What's the screen resolution that works? What's the screen resolution that doesn't?

If one screen reduces to 16:9 and the other to 16:10, that'll do it. The 16:10 screen will have bars at the top and bottom when playing 16:9 content, and the 16:9 screen will have bars on the sides when playing 16:10 content.

The base (canvased) and the scaled, both of them is: 1920x1080 which has aspect ratio 16:9
 

koala

Active Member
Did you consult the linked aspect ratio guide? It explains what is happening, so you understand and are able to adapt your capturing and video compositing accordingly. It's is no bug, no unusual app behavior, just math (geometry).

About the vertical black bars in your media player screenshot: You're playing back a display capture of your desktop including task bar. Desktop resolution is probably 1920x1080, and so is the video. You're playing this back in windowed mode with your real taskbar visible, so the space available for the media player is the desktop minus the Windows taskbar, so it's slightly lower than the full 1080. So it's a space of some 1920x1020 (about 60 pixels lower). The media player downscales your video from height 1080 to height 1020 to fit into that space, so it has to reduce the width as well to not distort the video. So blank space appears to the left and to the right, and this appears as vertical black bars.

With the other screenshot it isn't clear who added the black bars to the top and bottom. It might have been OBS, if you captured just your browser window and cut the Windows task bar. The space where the task bar used to be is now blank and needs to be filled by something. Either you centered your source vertically, so blank space appeared to the top and bottom, so OBS filled this blank space with black, since you didn't fill it with anything else. You upload this to Youtube and Youtube will display the black bars, since it's part of the video.
Or you reduced the height of the canvas in OBS (not 1080 any more) and created a video with some 1920x1020 (1080 minus the taskbar height), so it's not aspect ratio 16:9 any more. You uploaded that to Youtube, and since Youtube forces everything into aspect ratio 16:9, Youtube added the black bars within the Youtube player.
 
Top