Note: I had posted to https://github.com/koying/SPMC/issues/786 but I might have made a mistake as SPMC is based on KODI code. I’m sorry.
Hardware: Nvidia Shield TV 16G (2017); Shield experience 5.1, Android 7.0, SPMC 16.5.5 & Kodi 17.
This only occurs when mpeg2 files use hardware acceleration on the shield; if ‘accelerate MPEG2’ is set to ‘HD and up’ or ‘Never’ then software decode is used and the correct resolution is used.
All MPEG2’s inside MKV with a ‘Sequence Display Extension’ will have this issue, which is represented in mediainfo as:
Display aspect ratio : 16:9
Original display aspect ratio : 2.40:1 (can the original display aspect ratio be ignored for HW acceleration; the appearance of this original display aspect ratio is caused by the presence of a Sequence Display Extension flag of 540).
Sample with this issue: https://dl.dropboxusercontent.com/u/1399…281%29.mkv
**Doesn’t display correctly. Should be 720×576 but direct plays 540×576 instead. The Sequence Display Extension is set at 540, which causes the issue; can SPMC/Kodi ignore this?**
Using hardware acceleration:
Using software decode:
Another sample: https://dl.dropboxusercontent.com/u/1399…281%29.mkv
**Should be 720×480 but plays as 540×480 instead. Again, the Sequence Display Extension is set as 540, which is causing the issue.**
Someone else had this issue too: https://github.com/raspberrypi/firmware/issues/507
My original post via SPMC: https://github.com/koying/SPMC/issues/786
Is this something that SPMC or Kodi could correct or is it simply something that cannot be avoided because of the hardware decoder that Nvidia uses? I have tried contacting Nvidia but they did not respond to a support request and removed my post from the forum.
Running files through restream (http://www.videohelp.com/software/Restream) caused all sorts of new issues; the program does allow you to remove or Reflag the Sequence Display Extension though, so it is a shame it caused further problems by using it.