Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Weird screen aspect ratio

Bufis FamilyBufis Family Posts: 74Members, Plex Pass Plex Pass

Whenever I watch a movie on my phone, the movie doesn't fill the whole screen, instead playing inside a frame with black borders surrounding it. I was wondering if there was any way to correct this?
My Plex Server is an Nvidia SHIELD TV, latest version.

Answers

  • MovieFan.PlexMovieFan.Plex Posts: 15,639Members, Plex Pass, Plex Ninja Plex Employee

    The Plex player will fit the video to fit within your screen. If you are seeing black bars everywhere, then your original video has these black bars on them. Plex does not remove these, nor scale the video. Best to re-rip the video and remove the black bars there.

  • Bufis FamilyBufis Family Posts: 74Members, Plex Pass Plex Pass

    @MovieFan.Plex said:
    The Plex player will fit the video to fit within your screen. If you are seeing black bars everywhere, then your original video has these black bars on them. Plex does not remove these, nor scale the video. Best to re-rip the video and remove the black bars there.

    Perhaps I should elaborate.
    When I watch a movie on my SHIELD via Direct Play, the video doesn't have the black borders. But any transcoding at all results in the borders being added. It's not the MKV rips themselves. (I've played them directly via Kodi as well, and had no border issues.) The rips are also all DVD rips, so 576p max. Whenever I watch a movie on my phone, my WiFi isn't the best, so I transcode the file down to 480p.

  • MovieFan.PlexMovieFan.Plex Posts: 15,639Members, Plex Pass, Plex Ninja Plex Employee

    Can you provide the xml for a movie that causes this? You can find instructions in my signature on where to find this. Also provide an image of the screen so I can see exactly what you mean.

  • Bufis FamilyBufis Family Posts: 74Members, Plex Pass Plex Pass
    edited July 13

    @MovieFan.Plex said:
    Can you provide the xml for a movie that causes this? You can find instructions in my signature on where to find this. Also provide an image of the screen so I can see exactly what you mean.

    Ok then. Here's the info for my copy of 'I, Robot' (one of my favorite sci-fi movies, kind of a hidden gem). The movie is in widescreen (2:35:1).
    XML (Wow that's a lot of HTML): >

    <MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="Action" librarySectionUUID="bba24a86-6e62-4860-8599-cfd78ab2cda7" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1499372417">
    <Video ratingKey="46" key="/library/metadata/46" guid="com.plexapp.agents.imdb://tt0343818?lang=en" librarySectionID="1" librarySectionKey="/library/sections/1" studio="Twentieth Century Fox Film Corporation" type="movie" title="I, Robot" contentRating="PG-13" summary="In 2035, where robots are common-place and abide by the three laws of robotics, a techno-phobic cop investigates an apparent suicide. Suspecting that a robot may be responsible for the death, his investigation leads him to believe that humanity may be in danger." rating="7.1" viewOffset="1413957" viewCount="2" lastViewedAt="1499850331" year="2004" tagline="Laws are made to be broken." thumb="/library/metadata/46/thumb/1499420559" art="/library/metadata/46/art/1499420559" duration="6883509" originallyAvailableAt="2004-07-15" addedAt="1497980947" updatedAt="1499420559" chapterSource="media" primaryExtraKey="/library/metadata/467" ratingImage="imdb://image.rating">
    <Media videoResolution="480" id="46" duration="6883509" bitrate="7599" width="720" height="480" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="mpeg2video" container="mkv" videoFrameRate="NTSC" videoProfile="main">
    <Part accessible="1" exists="1" id="46" key="/library/parts/46/1497980947/file.mkv" duration="6883509" file="/storage/RASPBERRYPI/Plex Storage/Plex/Movies/Action/I, Robot.mkv" size="6538100907" container="mkv" videoProfile="main">
    <Stream id="5726" streamType="1" codec="mpeg2video" index="0" bitrate="5999" language="English" languageCode="eng" anamorphic="1" bitDepth="8" chromaSubsampling="4:2:0" colorRange="tv" colorSpace="smpte170m" frameRate="29.970" height="480" level="8" pixelAspectRatio="186:157" profile="main" refFrames="1" scanType="interlaced" width="720"/>
    <Stream id="5727" streamType="2" selected="1" default="1" codec="ac3" index="1" channels="6" bitrate="448" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" title="Surround 5.1"/>
    <Stream id="5728" streamType="2" codec="dca" index="2" channels="6" bitrate="768" language="English" languageCode="eng" audioChannelLayout="5.1(side)" profile="dts" samplingRate="48000" title="Surround 5.1"/>
    <Stream id="5729" streamType="2" codec="ac3" index="3" channels="2" bitrate="192" language="Español" languageCode="spa" audioChannelLayout="stereo" samplingRate="48000" title="Stereo"/>
    <Stream id="5730" streamType="2" codec="ac3" index="4" channels="2" bitrate="192" language="Français" languageCode="fre" audioChannelLayout="stereo" samplingRate="48000" title="Stereo"/>
    <Stream id="5731" streamType="3" default="1" codec="vobsub" index="5" language="English" languageCode="eng"/>
    <Stream id="5732" streamType="3" codec="vobsub" index="6" language="Español" languageCode="spa"/>
    <Stream id="5733" streamType="3" codec="vobsub" index="7" language="Español" languageCode="spa"/>
    <Stream id="5734" streamType="3" codec="vobsub" index="8" language="Français" languageCode="fre"/>
    </Part>
    </Media>
    <Genre id="1160" filter="genre=1160" tag="Crime"/>
    <Genre id="981" filter="genre=981" tag="Drama"/>
    <Genre id="1575" filter="genre=1575" tag="Mystery"/>
    <Genre id="196" filter="genre=196" tag="Sci-Fi"/>
    <Genre id="23" filter="genre=23" tag="Action"/>
    <Genre id="93" filter="genre=93" tag="Thriller"/>
    <Director id="2958" filter="director=2958" tag="Alex Proyas"/>
    <Writer id="2959" filter="writer=2959" tag="Jeff Vintar"/>
    <Writer id="234" filter="writer=234" tag="Akiva Goldsman"/>
    <Producer id="983" filter="producer=983" tag="John Davis"/>
    <Producer id="2976" filter="producer=2976" tag="Topher Dow"/>
    <Producer id="2977" filter="producer=2977" tag="Wyck Godfrey"/>
    <Producer id="2978" filter="producer=2978" tag="Laurence Mark"/>
    <Producer id="2979" filter="producer=2979" tag="Michael Lee Baron"/>
    <Country id="28" filter="country=28" tag="US"/>
    <Role id="2843" filter="actor=2843" tag="Will Smith" role="Del Spooner" thumb="http://image.tmdb.org/t/p/original/2iYXDlCvLyVO49louRyDDXagZ0G.jpg"/>
    <Role id="837" filter="actor=837" tag="Bridget Moynahan" role="Susan Calvin" thumb="http://image.tmdb.org/t/p/original/sNdD2Cos4aecowtWPpd0hcM8izY.jpg"/>
    <Role id="12" filter="actor=12" tag="Alan Tudyk" role="Sonny" thumb="http://image.tmdb.org/t/p/original/6QuMtbD8kmhpwWhFKfNzEvHRLOu.jpg"/>
    <Role id="2960" filter="actor=2960" tag="James Cromwell" role="Dr. Alfred Lanning" thumb="http://image.tmdb.org/t/p/original/f9HU6zS2K2DCRt2WoJBK61ElqPJ.jpg"/>
    <Role id="2961" filter="actor=2961" tag="Bruce Greenwood" role="Lawrence Robertson" thumb="http://image.tmdb.org/t/p/original/his8sEwC8FLC4dAxVSu9GNicE6Z.jpg"/>
    <Role id="2962" filter="actor=2962" tag="Shia LaBeouf" role="Farber" thumb="http://image.tmdb.org/t/p/original/anP0tygzniIok6L3OxcSZ9TYCF3.jpg"/>
    <Role id="2963" filter="actor=2963" tag="Chi McBride" role="Lt. John Bergin" thumb="http://image.tmdb.org/t/p/original/cesCeJZ5gSywA9lTYReB5uhkfek.jpg"/>
    <Role id="2964" filter="actor=2964" tag="Jerry Wasserman" role="Baldez" thumb="http://image.tmdb.org/t/p/original/wNIZZXmI0LMnf2231auSExQz7FT.jpg"/>
    <Role id="2965" filter="actor=2965" tag="Peter Shinkoda" role="Chin" thumb="http://image.tmdb.org/t/p/original/4Puo4QPIgclnNW9y8gBmr174g9E.jpg"/>
    <Role id="2966" filter="actor=2966" tag="David Haysom" role="NS4 Robot and NS5 Robot" thumb="http://image.tmdb.org/t/p/original/cd7Ga4zbicZfDCCs648lfzfQ9aq.jpg"/>
    <Role id="2967" filter="actor=2967" tag="Adrian Ricard" role="Granny" thumb="http://image.tmdb.org/t/p/original/wmVCNkaNLHMqCYXHoWvf2i6R65i.jpg"/>
    <Role id="2968" filter="actor=2968" tag="Fiona Hogan" role="V.I.K.I." thumb="http://image.tmdb.org/t/p/original/2bjG8i27GUKP6Bbr5r8syF5ZN50.jpg"/>
    <Role id="2969" filter="actor=2969" tag="Sharon Wilkins" role="Asthmatic Woman" thumb="http://image.tmdb.org/t/p/original/sDuWTO0LZpvfPagJPshQWqOmeOE.jpg"/>
    <Role id="2970" filter="actor=2970" tag="Craig March" role="Detective" thumb="http://image.tmdb.org/t/p/original/w1C567OoZDQZltGTRmEYeqCgxoF.jpg"/>
    <Role id="2971" filter="actor=2971" tag="Darren Moore" role="Homeless Man" thumb="http://image.tmdb.org/t/p/original/vpeIHH5JKKSO1gBCFPYm1cZUXaI.jpg"/>
    <Role id="2972" filter="actor=2972" tag="Emily Tennant" role="Young Girl" thumb="http://image.tmdb.org/t/p/original/s7u9JSQWV3vll3ywpyCuacIVcPB.jpg"/>
    <Role id="2973" filter="actor=2973" tag="Tiffany Lyndall-Knight" role="Mob Woman" thumb="http://image.tmdb.org/t/p/original/15M9lq3ralCL1xC0bGmLkbaje7W.jpg"/>
    <Role id="2974" filter="actor=2974" tag="Aaron Douglas" role="USR Attorney #1" thumb="http://image.tmdb.org/t/p/original/b8YqqTBvNvRn8ajWgr5yMCA6tUg.jpg"/>
    <Role id="2975" filter="actor=2975" tag="Angela Moore" role="Wife"/>
    <Field locked="1" name="thumb"/>
    <Extras size="0"></Extras>
    </Video>
    </MediaContainer>
    

    And a quick screenshot:

    I noticed while finding a movie to grab the XML for, some of the movies, for example my copy of 'The Terminator', only had bars on the sides. (I checked, the movie's in widescreen.)
    Here's Terminator's XML: >`

    <MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="3" librarySectionTitle="Horror/R" librarySectionUUID="fc454f9e-64a9-4c3d-afe8-a004aa8e3a46" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1499372417">
    <Video ratingKey="1541" key="/library/metadata/1541" guid="com.plexapp.agents.imdb://tt0088247?lang=en" librarySectionID="3" librarySectionKey="/library/sections/3" studio="Orion Pictures" type="movie" title="The Terminator" titleSort="Terminator" contentRating="R" summary="In the post-apocalyptic future, reigning tyrannical supercomputers teleport a cyborg assassin known as the "Terminator" back to 1984 to kill Sarah Connor, whose unborn son is destined to lead insurgents against 21st century mechanical hegemony. Meanwhile, the human-resistance movement dispatches a lone warrior to safeguard Sarah. Can he stop the virtually indestructible killing machine?" rating="10.0" audienceRating="8.9" viewOffset="999227" viewCount="3" lastViewedAt="1499850169" year="1984" tagline="Your future is in his hands." thumb="/library/metadata/1541/thumb/1499758309" art="/library/metadata/1541/art/1499758309" duration="6432993" originallyAvailableAt="1984-10-26" addedAt="1499062880" updatedAt="1499758309" audienceRatingImage="rottentomatoes://image.rating.upright" chapterSource="mixed" primaryExtraKey="/library/metadata/2948" ratingImage="rottentomatoes://image.rating.certified">
    <Media videoResolution="480" id="3897" duration="6432993" bitrate="8813" width="720" height="480" aspectRatio="1.66" audioChannels="6" audioCodec="ac3" videoCodec="mpeg2video" container="mkv" videoFrameRate="NTSC">
    <Part accessible="1" exists="1" id="3897" key="/library/parts/3897/1499062880/file.mkv" duration="6432993" file="/storage/RASPBERRYPI/Plex Storage/Plex/Movies/Horror, R/The Terminator.mkv" size="7086708420" container="mkv">
    <Stream id="11157" streamType="1" codec="mpeg2video" index="0" bitrate="7469" language="English" languageCode="eng" anamorphic="1" bitDepth="8" chromaSubsampling="4:2:0" frameRate="29.970" height="480" level="-99" pixelAspectRatio="186:157" refFrames="1" scanType="interlaced" width="720"/>
    <Stream id="11158" streamType="2" selected="1" default="1" codec="ac3" index="1" channels="6" bitrate="448" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" title="Surround 5.1"/>
    <Stream id="11159" streamType="2" codec="ac3" index="2" channels="6" bitrate="448" language="Français" languageCode="fre" audioChannelLayout="5.1(side)" samplingRate="48000" title="Surround 5.1"/>
    <Stream id="11160" streamType="2" codec="ac3" index="3" channels="6" bitrate="448" language="Español" languageCode="spa" audioChannelLayout="5.1(side)" samplingRate="48000" title="Surround 5.1"/>
    <Stream id="11161" streamType="3" default="1" codec="vobsub" index="4" language="English" languageCode="eng"/>
    <Stream id="11162" streamType="3" codec="vobsub" index="5" language="Français" languageCode="fre"/>
    <Stream id="11163" streamType="3" codec="vobsub" index="6" language="Español" languageCode="spa"/>
    </Part>
    </Media>
    <Genre id="196" filter="genre=196" tag="Sci-Fi"/>
    <Genre id="23" filter="genre=23" tag="Action"/>
    <Director id="15164" filter="director=15164" tag="James Cameron"/>
    <Writer id="14787" filter="writer=14787" tag="James Cameron"/>
    <Writer id="16207" filter="writer=16207" tag="Gale Anne Hurd"/>
    <Producer id="8355" filter="producer=8355" tag="Gale Anne Hurd"/>
    <Country id="943" filter="country=943" tag="USA"/>
    <Role id="237" filter="actor=237" tag="Arnold Schwarzenegger" role="The Terminator" thumb="http://image.tmdb.org/t/p/original/dulCsiwzZihFGmjtGA6p0yDWEN1.jpg"/>
    <Role id="16054" filter="actor=16054" tag="Michael Biehn" role="Kyle Reese" thumb="http://image.tmdb.org/t/p/original/sTk3ltlHRvRg5quheWBxaLdLgC8.jpg"/>
    <Role id="15165" filter="actor=15165" tag="Linda Hamilton" role="Sarah Connor" thumb="http://image.tmdb.org/t/p/original/wigRPJg2V4Gbk8YX9zFn2Zdz2Wl.jpg"/>
    <Role id="16208" filter="actor=16208" tag="Paul Winfield" role="Lieutenant Ed Traxler" thumb="http://image.tmdb.org/t/p/original/6oc80tWtRg8pRAPXOhV3FQBvBR5.jpg"/>
    <Role id="16018" filter="actor=16018" tag="Lance Henriksen" role="Detective Vukovich" thumb="http://image.tmdb.org/t/p/original/wf4Pr9RxsHGd0O9fLPiB3Al8IVC.jpg"/>
    <Role id="16209" filter="actor=16209" tag="Bess Motta" role="Ginger Ventura" thumb="http://image.tmdb.org/t/p/original/pHbJBDT0bYimybwMGPs6AnO59ZN.jpg"/>
    <Role id="15167" filter="actor=15167" tag="Earl Boen" role="Dr. Peter Silberman" thumb="http://image.tmdb.org/t/p/original/haOeh8ZWSjD9PgQvWqvQIHfXK5A.jpg"/>
    <Role id="16210" filter="actor=16210" tag="Rick Rossovich" role="Matt Buchanan" thumb="http://image.tmdb.org/t/p/original/f2bFBUT1WRImsKVkSq7A3yACFAa.jpg"/>
    <Role id="4040" filter="actor=4040" tag="Bill Paxton" role="Punk Leader" thumb="http://image.tmdb.org/t/p/original/53Ln1wTC0OCLzBF4HNlwhMXYgOU.jpg"/>
    <Role id="16211" filter="actor=16211" tag="Brian Thompson" role="Punk" thumb="http://image.tmdb.org/t/p/original/bjBHdq7uPEzrjDk96nNlbDBNKo6.jpg"/>
    <Role id="1292" filter="actor=1292" tag="Franco Columbu" role="Future Terminator" thumb="http://image.tmdb.org/t/p/original/Ajjtqewy65900sHWWkPMdhTZ2E4.jpg"/>
    <Role id="16212" filter="actor=16212" tag="**** Miller" role="Pawnshop Clerk" thumb="http://image.tmdb.org/t/p/original/m4Yx1MaNn3H95HLTBCMNHOfUVv8.jpg"/>
    <Role id="16213" filter="actor=16213" tag="Joe Farago" role="TV Anchorman" thumb="http://image.tmdb.org/t/p/original/dQjYsy8S1qInUEZRw8FVRrg3p85.jpg"/>
    <Role id="16214" filter="actor=16214" tag="Shawn Schepps" role="Nancy"/>
    <Role id="16215" filter="actor=16215" tag="Bruce M. Kerner" role="Desk Sergeant"/>
    <Role id="15192" filter="actor=15192" tag="William Wisher Jr." role="Policeman" thumb="http://image.tmdb.org/t/p/original/de02nApZCmOPJ8d8nWT9HdRHOU9.jpg"/>
    <Role id="16216" filter="actor=16216" tag="Hettie Lynne Hurtes" role="TV Anchorwoman" thumb="http://image.tmdb.org/t/p/original/eK8h640jtiZS3Uw9P7M4Lx6JIfm.jpg"/>
    <Role id="16217" filter="actor=16217" tag="Philip Gordon" role="Mexican Boy" thumb="http://image.tmdb.org/t/p/original/6mOvBZogB9XWjmxRrSiTkBCiyut.jpg"/>
    <Role id="16218" filter="actor=16218" tag="Stan Yale" role="Derelict"/>
    <Role id="16219" filter="actor=16219" tag="Leslie Morris" role="Customer"/>
    <Role id="16220" filter="actor=16220" tag="Wayne Stone" role="Tanker Driver"/>
    <Role id="16221" filter="actor=16221" tag="John E. Bristol" role="Phone Booth Man"/>
    <Role id="16222" filter="actor=16222" tag="Patrick Pinney" role="Bar Customer" thumb="http://image.tmdb.org/t/p/original/eU2rqG140FCPwzIjJTymVOd5RBY.jpg"/>
    <Role id="16223" filter="actor=16223" tag="Greg Robbins" role="Motel Customer"/>
    <Role id="16224" filter="actor=16224" tag="Marianne Muellerleile" role="Wrong Sarah" thumb="http://image.tmdb.org/t/p/original/5Qex2uBzsjqSRUFeeW4sT7FhuYH.jpg"/>
    <Role id="8222" filter="actor=8222" tag="Marian Green" role="Dancer shot by the Terminator (uncredited)" thumb="http://image.tmdb.org/t/p/original/wdZ0oSSnZ8jLyodqG4Y0CwA1qeL.jpg"/>
    <Role id="16225" filter="actor=16225" tag="J. Randolph Harrison" role="Policeman (uncredited)"/>
    <Role id="16226" filter="actor=16226" tag="Darrell Mapson" role="Bar Patron at Pay Phone with Sarah (uncredited)"/>
    <Extras size="0"></Extras>
    </Video>
    </MediaContainer>
    

    And a quick screenshot:

    I apologize for the long post, I couldn't get the spoilers to work.

  • MovieFan.PlexMovieFan.Plex Posts: 15,639Members, Plex Pass, Plex Ninja Plex Employee

    Hmm. Neither of those images look right to me. Both XML's indicate that the aspect ratio should be 1.78:1, which should fill up the screen (assuming you have a 1.78:1 screen). Both look like they are being played at 4:3. Your I, Robot file might have the black bars at the top and bottom embedded into the file. Can you playback the video then grab me the log from the Plex app on your phone?

    Next time, for the XML, save it to a file and upload the file.

  • Bufis FamilyBufis Family Posts: 74Members, Plex Pass Plex Pass

    @MovieFan.Plex said:
    Hmm. Neither of those images look right to me. Both XML's indicate that the aspect ratio should be 1.78:1, which should fill up the screen (assuming you have a 1.78:1 screen). Both look like they are being played at 4:3. Your I, Robot file might have the black bars at the top and bottom embedded into the file. Can you playback the video then grab me the log from the Plex app on your phone?

    Next time, for the XML, save it to a file and upload the file.

    I don't know what size my phone screen is, but my phone is a Samsung Galaxy On5, if that helps.
    And my log file is attached. (I made sure to open up 'I, Robot' before grabbing them.)

  • MovieFan.PlexMovieFan.Plex Posts: 15,639Members, Plex Pass, Plex Ninja Plex Employee

    I see a problem in your log. It's not scaling the video properly horizontally, but it is filling the screen vertically. So if you see black bars at the top and bottom, those are embedded into the file. We won't be able to remove those. But it looks like that video is encoded wrong. The black bars already make the video the proper ratio so it should be displayed at a 4:3 ratio to keep the image the proper shape, so this bug is actually beneficial in this case. If properly scaled, your image will be much wider and everyone will look short and fat.

    The fix will actually make I, Robot look worse but will make Terminator look correct.

  • MovieFan.PlexMovieFan.Plex Posts: 15,639Members, Plex Pass, Plex Ninja Plex Employee

    I believe the issue is with the Android app but could you play the movie again and get me the PMS log just so I can check something?

  • Bufis FamilyBufis Family Posts: 74Members, Plex Pass Plex Pass
    edited July 13

    @MovieFan.Plex said:
    I believe the issue is with the Android app but could you play the movie again and get me the PMS log just so I can check something?

    Sure. The server's logs are attached.

Sign In or Register to comment.