output resolution set to 2580x1080 but resulting recording shows as 2624x1082 with green line on the right side.

mavu

New Member
Hi

I am trying to reccord gameplay from Silksong (using Eve Online here as a substitute because my son is playing silksong from my steam library currently :D)
Distribution is latest Debian 13, KDE wayland Desktop session.

The problem is as the subject says:
I have the following settings:

17:36:39.186: video settings reset: 17:36:39.186: base resolution: 3440x1440 17:36:39.186: output resolution: 2580x1080 17:36:39.186: downscale filter: Bicubic 17:36:39.186: fps: 60/1 17:36:39.186: format: NV12 17:36:39.186: YUV mode: Rec. 709/Partial 17:36:39.186: NV12 texture support enabled

the rest is in the logfile https://obsproject.com/logs/L3TYwNNRWOhIBBZ9

What I would expect, is to have a resulting video file when recording that has the content at 2580x1080
what actually comes out is https://drive.proton.me/urls/QGMZYXRS8W#AsQB9uPVa6OJ

you can see the black bar on the right side, and the green line.
if you show the media info of the file, you get this :

mavu@mars:~/obs_recordings$ mediainfo 2025-09-13_21-27-36.mp4 General Complete name : 2025-09-13_21-27-36.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso6/av01/iso2/mp41) File size : 13.8 MiB Duration : 10 s 517 ms Overall bit rate : 11.0 Mb/s Frame rate : 60.000 FPS Writing application : Lavf61.7.100 Video ID : 1 Format : AV1 Format/Info : AOMedia Video 1 Format profile : Main@L5.0 Codec ID : av01 Duration : 10 s 517 ms Bit rate : 11.0 Mb/s Maximum bit rate : 2 500 kb/s Width : 2 580 pixels Original width : 2 624 pixels Height : 1 080 pixels Original height : 1 082 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 60.000 FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 0) Bit depth : 8 bits Bits/(Pixel*Frame) : 0.066 Stream size : 13.8 MiB (100%) Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Codec configuration box : av1C Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 10 s 517 ms Bit rate mode : Constant Bit rate : 442 b/s Nominal bit rate : 160 kb/s Maximum bit rate : 160 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 581 Bytes (0%) Title : Track1 Default : Yes Alternate group : 1

as you can maybe see in this screenshot, the video source fills the whole canvas. (hard to see, but the log should show it too.)

Screenshot_20250913_211503.png

21:07:18.682: [pipewire] Stream 0x5638140f4f10 state: "unconnected" (error: none) 21:07:18.686: PipeWire initialized 21:07:18.689: [pipewire] Screencast session created 21:07:18.690: [pipewire] Asking for monitor and window 21:07:24.558: [pipewire] source selected, setting up screencast 21:07:24.562: [pipewire] Server version: 1.4.2 21:07:24.562: [pipewire] Library version: 1.4.2 21:07:24.562: [pipewire] Header version: 1.4.2 21:07:24.562: [pipewire] Created stream 0x5638140f4f10 21:07:24.562: [pipewire] Stream 0x5638140f4f10 state: "connecting" (error: none) 21:07:24.563: [pipewire] Playing stream 0x5638140f4f10 21:07:24.563: [pipewire] Stream 0x5638140f4f10 state: "paused" (error: none) 21:07:24.620: [pipewire] Negotiated format: 21:07:24.620: [pipewire] Format: 12 (Spa:Enum:VideoFormat:BGRA) 21:07:24.620: [pipewire] Modifier: 0x0 21:07:24.620: [pipewire] Size: 3440x1440 21:07:24.620: [pipewire] Framerate: 0/1 21:07:24.620: [pipewire] Negotiated format: 21:07:24.620: [pipewire] Format: 12 (Spa:Enum:VideoFormat:BGRA) 21:07:24.620: [pipewire] Modifier: 0x200000020837b04 21:07:24.620: [pipewire] Size: 3440x1440 21:07:24.620: [pipewire] Framerate: 0/1 21:07:24.622: [pipewire] Stream 0x5638140f4f10 state: "streaming" (error: none) 21:27:36.695: --------------------------------- 21:27:36.695: [FFmpeg VAAPI encoder: 'advanced_video_recording'] settings: 21:27:36.695: device: /dev/dri/by-path/pci-0000:0c:00.0-render 21:27:36.695: rate_control: CQP 21:27:36.695: profile: 0 21:27:36.695: level: -99 21:27:36.695: qp: 20 21:27:36.695: bitrate: 0 21:27:36.695: maxrate: 0 21:27:36.695: keyint: 120 21:27:36.695: width: 2580 21:27:36.695: height: 1080 21:27:36.695: b-frames: 0 21:27:36.695: ffmpeg opts: 21:27:36.695: 21:27:36.700: --------------------------------- 21:27:36.701: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: stereo 21:27:36.701: 21:27:36.701: [ffmpeg muxer: 'adv_file_output'] Using muxer settings: 21:27:36.701: movflags=frag_keyframe+empty_moov+delay_moov 21:27:36.710: ==== Recording Start =============================================== 21:27:36.710: [ffmpeg muxer: 'adv_file_output'] Writing file '/home/mavu/obs_recordings/2025-09-13_21-27-36.mp4'... 21:27:47.352: [ffmpeg muxer: 'adv_file_output'] Output of file '/home/mavu/obs_recordings/2025-09-13_21-27-36.mp4' stopped 21:27:47.352: Output 'adv_file_output': stopping 21:27:47.352: Output 'adv_file_output': Total frames output: 632 21:27:47.352: Output 'adv_file_output': Total drawn frames: 638 21:27:47.352: ==== Recording Stop ================================================

full log (contains more earlier recordings, this is the same log with the last recording test ) https://obsproject.com/logs/xCncJtNr25kNIO9V

Can anyone help me with this? where is this extra space on the right side coming from?
why does the mediainfo show a "Original width : 2 624 pixels" and "Original height: 1 082 pixels"?

and what can i do to get a recording from a fullscreen game, with 3440x1440 native resolution, in a file that is 2580x1080?

Or failing that, how can i record a fullscreen game at 3440x1440 and get any result without extra blank space and green line?

feel free to request any additional information, i will try to provide it.
 

mavu

New Member
ok, as a try, i lowered the output resolution to 1720x720, and now get a recording which still has a black bar on the right side, but a much smaller one, and mediainfo reports:

General Complete name : 2025-09-13_22-00-02.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso6/av01/iso2/mp41) File size : 7.21 MiB Duration : 10 s 688 ms Overall bit rate : 5 662 kb/s Frame rate : 60.000 FPS Writing application : Lavf61.7.100 Video ID : 1 Format : AV1 Format/Info : AOMedia Video 1 Format profile : Main@L4.0 Codec ID : av01 Duration : 10 s 683 ms Bit rate : 5 658 kb/s Maximum bit rate : 2 500 kb/s Width : 1 720 pixels Original width : 1 728 pixels Height : 720 pixels Display aspect ratio : 2.39:1 Frame rate mode : Constant Frame rate : 60.000 FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 0) Bit depth : 8 bits Bits/(Pixel*Frame) : 0.076 Stream size : 7.21 MiB (100%) Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Codec configuration box : av1C Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 10 s 688 ms Bit rate mode : Constant Bit rate : 435 b/s Nominal bit rate : 160 kb/s Maximum bit rate : 160 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 581 Bytes (0%) Title : Track1 Default : Yes Alternate group : 1

so, 1728 width instead of 1720. and height seems correct.
VLC confirms this. video is "less wrong", no green line, and only a small black bar on the right.
 
Top