Starlionblue 80 Posted December 14, 2020 Share Posted December 14, 2020 Some movies appear on screen with black bars on all sides in the "Auto" mode. I have to actively select "Cover" to get full screen. This is Emby Theater for Windows. I get that the aspect ratio doesn't always match the monitor, but that should mean only black bars on the sides, not top and bottom as well. Find below is Video info for one of the offending ones. Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 31 min 41 s Bit rate mode : Variable Bit rate : 4 131 kb/s Maximum bit rate : 6 375 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.187 Stream size : 937 MiB (83%) Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Link to comment Share on other sites More sharing options...
Luke 37335 Posted December 14, 2020 Share Posted December 14, 2020 Hi, the black bars could be part of the video itself. Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 14, 2020 Author Share Posted December 14, 2020 12 minutes ago, Luke said: Hi, the black bars could be part of the video itself. Fair point. But when I select "Cover" the video goes perfectly to the edges. It seems strange that this would happen if the bars are part of the video. Link to comment Share on other sites More sharing options...
Luke 37335 Posted December 14, 2020 Share Posted December 14, 2020 Mpv might be detecting it and incorporating that into the cover stretch. Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 14, 2020 Share Posted December 14, 2020 Can you share a sample of the video? Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 15, 2020 Author Share Posted December 15, 2020 (edited) Sure 10 hours ago, sooty234 said: Can you share a sample of the video? Here's one of the offending ones. :) Media info below. General Unique ID : 43133736713799391000251894693735139304 (0x207341696F0D99663B021AC05A4387E8) Complete name : Sample.mkv Format : Matroska Format version : Version 4 File size : 64.7 MiB Duration : 1 min 0 s Overall bit rate mode : Variable Overall bit rate : 9 041 kb/s Writing application : mkvmerge v51.0.0 ('I Wish') 64-bit Writing library : libebml v1.4.0 + libmatroska v1.6.2 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4 Format settings : CABAC / 3 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 3 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1 min 0 s Bit rate mode : Variable Bit rate : 8 394 kb/s Maximum bit rate : 10.7 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.162 Stream size : 60.0 MiB (93%) Language : English Default : Yes Forced : No Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 1 min 0 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 4.58 MiB (7%) Language : English Service kind : Complete Main Default : Yes Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 79 b/s Count of elements : 9 Stream size : 395 Bytes (0%) Title : Arabic Language : Arabic Default : No Forced : No Text #2 ID : 4 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 46 b/s Count of elements : 9 Stream size : 232 Bytes (0%) Title : Czech Language : Czech Default : No Forced : No Text #3 ID : 5 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 45 b/s Count of elements : 9 Stream size : 225 Bytes (0%) Title : Danish Language : Danish Default : No Forced : No Text #4 ID : 6 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 48 b/s Count of elements : 9 Stream size : 238 Bytes (0%) Title : German Language : German Default : No Forced : No Text #5 ID : 7 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 80 b/s Count of elements : 9 Stream size : 397 Bytes (0%) Title : Greek Language : Greek Default : No Forced : No Text #6 ID : 8 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 48 s 520 ms Bit rate : 35 b/s Count of elements : 11 Stream size : 216 Bytes (0%) Title : English (SDH) Language : English Default : No Forced : No Text #7 ID : 9 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 50 s 520 ms Bit rate : 36 b/s Count of elements : 10 Stream size : 231 Bytes (0%) Title : Spanish Language : Spanish Default : No Forced : No Text #8 ID : 10 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 44 b/s Count of elements : 9 Stream size : 221 Bytes (0%) Title : European Spanish Language : Spanish Default : No Forced : No Text #9 ID : 11 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 46 b/s Count of elements : 9 Stream size : 231 Bytes (0%) Title : Finnish Language : Finnish Default : No Forced : No Text #10 ID : 12 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 45 b/s Count of elements : 9 Stream size : 223 Bytes (0%) Title : French Language : French Default : No Forced : No Text #11 ID : 13 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 50 s 560 ms Bit rate : 52 b/s Count of elements : 10 Stream size : 329 Bytes (0%) Title : Hebrew Language : Hebrew Default : No Forced : No Text #12 ID : 14 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 50 s 480 ms Bit rate : 34 b/s Count of elements : 8 Stream size : 216 Bytes (0%) Title : Croatian Language : Croatian Default : No Forced : No Text #13 ID : 15 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 44 b/s Count of elements : 9 Stream size : 221 Bytes (0%) Title : Hungarian Language : Hungarian Default : No Forced : No Text #14 ID : 16 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 43 b/s Count of elements : 9 Stream size : 215 Bytes (0%) Title : Indonesian Language : Indonesian Default : No Forced : No Text #15 ID : 17 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 50 s 880 ms Bit rate : 33 b/s Count of elements : 10 Stream size : 211 Bytes (0%) Title : Italian Language : Italian Default : No Forced : No Text #16 ID : 18 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 640 ms Bit rate : 47 b/s Count of elements : 7 Stream size : 235 Bytes (0%) Title : Japanese Language : Japanese Default : No Forced : No Text #17 ID : 19 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 51 b/s Count of elements : 9 Stream size : 256 Bytes (0%) Title : Korean Language : Korean Default : No Forced : No Text #18 ID : 20 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 40 b/s Count of elements : 9 Stream size : 202 Bytes (0%) Title : Malay Language : Malay Default : No Forced : No Text #19 ID : 21 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 42 b/s Count of elements : 9 Stream size : 210 Bytes (0%) Title : Norwegian Language : Norwegian Default : No Forced : No Text #20 ID : 22 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 50 s 520 ms Bit rate : 46 b/s Count of elements : 9 Stream size : 293 Bytes (0%) Title : Dutch Language : Dutch Default : No Forced : No Text #21 ID : 23 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 44 b/s Count of elements : 9 Stream size : 221 Bytes (0%) Title : Polish Language : Polish Default : No Forced : No Text #22 ID : 24 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 46 b/s Count of elements : 9 Stream size : 232 Bytes (0%) Title : Portuguese Language : Portuguese Default : No Forced : No Text #23 ID : 25 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 42 b/s Count of elements : 9 Stream size : 212 Bytes (0%) Title : Brazilian Portuguese Language : Portuguese Default : No Forced : No Text #24 ID : 26 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 50 b/s Count of elements : 9 Stream size : 247 Bytes (0%) Title : Romanian Language : Romanian Default : No Forced : No Text #25 ID : 27 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 70 b/s Count of elements : 9 Stream size : 350 Bytes (0%) Title : Russian Language : Russian Default : No Forced : No Text #26 ID : 28 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 43 b/s Count of elements : 9 Stream size : 216 Bytes (0%) Title : Swedish Language : Swedish Default : No Forced : No Text #27 ID : 29 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 119 b/s Count of elements : 9 Stream size : 592 Bytes (0%) Title : Thai Language : Thai Default : No Forced : No Text #28 ID : 30 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 47 b/s Count of elements : 7 Stream size : 233 Bytes (0%) Title : Turkish Language : Turkish Default : No Forced : No Text #29 ID : 31 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 58 b/s Count of elements : 9 Stream size : 291 Bytes (0%) Title : Vietnamese Language : Vietnamese Default : No Forced : No Text #30 ID : 32 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 39 b/s Count of elements : 9 Stream size : 195 Bytes (0%) Title : Simplified Chinese Language : Chinese Default : No Forced : No Text #31 ID : 33 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 39 s 520 ms Bit rate : 49 b/s Count of elements : 9 Stream size : 243 Bytes (0%) Title : Traditional Chinese Language : Chinese Default : No Forced : No Edited December 15, 2020 by Starlionblue Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 15, 2020 Share Posted December 15, 2020 It definitely has the padding, but when I play it, it plays correctly. And just to make sure that it wasn't because of my updates, I grabbed the latest release from git. If you look at the video details, it's 1920x1080 so it's full frame with only padding at the top and bottom. So it should play correctly. I tried the 'fill' and 'cover' options, and the picture didn't change, as it's already full frame. In mpv In Theater Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 15, 2020 Author Share Posted December 15, 2020 My monitor is 3840x1600 so it should also show bars like yours. But instead I get this... Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 15, 2020 Share Posted December 15, 2020 So your monitor is super wide and not 3840x2160? Or is that a typo? Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 7 hours ago, sooty234 said: So your monitor is super wide and not 3840x2160? Or is that a typo? The native resolution is indeed 3840x1600. A smidgen wider than 21:9. I think the marketing moniker would be "Ultrawide". Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 27 minutes ago, Starlionblue said: The native resolution is indeed 3840x1600. A smidgen wider than 21:9. I think the marketing moniker would be "Ultrawide". Ok, well that is why you have this issue. The black bars are part of the video. It's not anamorphic. So it keeps the aspect ratio and fills the height of the display. But the width fits inside the of the display dimensions. If the black bars weren't part of the video, and lets use the height of the video a 1600, then it would fill your screen. When you use cover, it forces the video outside of those dimensions to fill the width but extend beyond the height. Find a movie that has the padding but the video itself is wider than your monitor, and try watching that. You'll see the box in the middle, and when you hit 'cover' it should fill the width but have partial black bars at the top and bottom. The rest of the padding will be pushed beyond the dimensions of your display. I wonder if setting the monitor aspect would help? It looks like Luke is using three different commands here. Setting monitor aspect ratio is probably what you should do, but I don't know how that will interact with how Luke has written the instruction. I say just try it, and see what happens. Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 2 hours ago, sooty234 said: Ok, well that is why you have this issue. The black bars are part of the video. It's not anamorphic. So it keeps the aspect ratio and fills the height of the display. But the width fits inside the of the display dimensions. If the black bars weren't part of the video, and lets use the height of the video a 1600, then it would fill your screen. When you use cover, it forces the video outside of those dimensions to fill the width but extend beyond the height. Find a movie that has the padding but the video itself is wider than your monitor, and try watching that. You'll see the box in the middle, and when you hit 'cover' it should fill the width but have partial black bars at the top and bottom. The rest of the padding will be pushed beyond the dimensions of your display. I wonder if setting the monitor aspect would help? It looks like Luke is using three different commands here. Setting monitor aspect ratio is probably what you should do, but I don't know how that will interact with how Luke has written the instruction. I say just try it, and see what happens. I just tried it in VLC. You're absolutely correct. There are indeed bars at the top and bottom. I feel so silly now. How would I change the monitor aspect in practice? Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 You create a file called mpv.conf You put this line in it: monitoraspect=21:9 Put the file in the same parent folder that Theater is installed in. Not the Emby-Theater folder, but where the Emby-Theater folder is. Then play your video. I'm curious to see what the outcome is. Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 Or you can just use 'cover' if that gives you what you want. Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 Damn! I missed a bit in the instructions. Create a folder called mpv and put that file in there. Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 Just now, sooty234 said: Damn! I missed a bit in the instructions. Create a folder called mpv and put that file in there. Didn't work unfortunately. I've tried placing the folder in both %appdata%Roaming\ and %appdata%\Roaming\Emby-Theater Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 Are you sure the file isn't mpv.conf.txt Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 (edited) 1 minute ago, sooty234 said: Are you sure the file isn't mpv.conf.txt It's mpv.conf. Thanks for checking though. I've made that mistake many times. Edited December 16, 2020 by Starlionblue Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 And your directory should look like this Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 Thanks. I only have the conf file but at leas the folder is in the right place. Do you use mpv.io as an external player in Emby or is the functionality built in? Just to check, I installed the MPV.io player. Unfortunately I get the same effect when playing the video there. I'm lost and stumped. Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 I use mpv for everything. It's the player in Theater. I was just messing around with that option and it does have an effect. Attach your mpv.conf. You'll need to add the .txt extension Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 But it may just stretch the image. Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 (edited) 12 minutes ago, sooty234 said: I use mpv for everything. It's the player in Theater. I was just messing around with that option and it does have an effect. Attach your mpv.conf. You'll need to add the .txt extension Here you go. Should I put "--" in front, as in "--monitoraspect=21:9"? mpv.txt.conf Edited December 16, 2020 by Starlionblue Link to comment Share on other sites More sharing options...
sooty234 266 Posted December 16, 2020 Share Posted December 16, 2020 The dashes don't matter. You've got it written correctly, but I think it might just stretch the frame. You could try using the decimal. monitoraspect=2.4 And I meant put .txt on the end but it worked out. Link to comment Share on other sites More sharing options...
Starlionblue 80 Posted December 16, 2020 Author Share Posted December 16, 2020 10 minutes ago, sooty234 said: The dashes don't matter. You've got it written correctly, but I think it might just stretch the frame. You could try using the decimal. monitoraspect=2.4 And I meant put .txt on the end but it worked out. Yeah I saw that I got the extension mixed up. I tried 2.4. Doesn't do anything. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now