Posts: 336
Joined: Jul 2011
Reputation:
8
I was just wondering how XBMC reads the video resolution of the files?
Obviously if the pixel width is 1080, 720, 576, 540 or 490 then it's obvious but I have some videos that I've encoded with handbrake that have come out as 720x592 instead of 720x576 (not sure why, they've all come from the same dvd source). XBMC then returns these as 720 and so makes it look like they are HD, when they aren't.
At the moment I'm guessing that XBMC displays anything with a pixel width over 576 as 720, is there any way to change this or am I going to have to re-encode these videos to actually have them read as SD, like they really are?
Thanks
Posts: 3,956
Joined: Dec 2008
Reputation:
62
<visible>stringcompare(ListItem.VideoResolution,720)</visible>
Does not work for you?
Posts: 672
Joined: Aug 2010
Reputation:
13
pieh
Retired Team-Kodi Member
Posts: 672
you can also make partial nfo file including only some streamdetails - resolution in this case
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
My previous forum/trac nickname: grajen3
Posts: 2,901
Joined: Jun 2009
Reputation:
7
I've tried faking the video resolution in an nfo and as soon as you play the video it reverts again even with "extract video information" turned off in XBMC
Current HTPC •
Lian-Li PC-C37 • Gigabyte GA-E7AUM-DS2H • Intel C2D E8400 E0 Stepping • OCZ Vertex SSD • 4GB Corsair TwinX XMS2 DDR2 • Corsair HX650W Modular PSU (Free Upgrade) • LG CH08LS10 Blu-Ray Drive • Scythe Big Shuriken • Acousti DustPROOF 70mm Fan
Posts: 3,956
Joined: Dec 2008
Reputation:
62
Returning 720 HD for 720x592 is maybe worth fixing in XBMC. It's little silly, IMHO.
Posts: 35
Joined: Feb 2013
Reputation:
0
Hi,
i know this thread over two years old, but i just encountered the same problem.
I ripped a TV show DVD box, and some of the dvds are 720*592 and some are 720*576. No idea why.
So some episodes show up as HD and some as SD in xbmc.
Could we just expand the allowed heigth of PAL to 592 while still returning 576? Or would this lead to problems elsewhere?
Posts: 35
Joined: Feb 2013
Reputation:
0
Ah, great.
Thanks for letting me know.
I am new to the bugtracker, may I subscribe to a bug somehow to get notified about updates? I did not find this option...
Posts: 1,012
Joined: Jan 2007
Reputation:
32
I got one for you, a 960x720 video is not registering as 720p, but it would be if your order was reversed. So as it stands now if I want this particular video to register as a 720p (HD), I'm going to have to add at least a singular pixel to the width. Correct? Or do you plan to reorder the check to start with the higher resolutions at the top?
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)