Corrupted summary text

Paging @Chillbo as this could be a skin issue.

Check out the following two screenshots, paying attention to the text in the bottom left corner, below the picture. This one looks fine:

This one does not:

It seems to be just that one film that produces corrupted text. I’m not sure what’s special about it.

Here’s MediaInfo for the file in question:

General
ID                                       : 1 (0x1)
Complete name                            : E:\Video\Film Emergency Storage\Flying Swords of Dragon Gate.3d.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 20.0 GiB
Duration                                 : 2 h 2 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 23.4 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video #1
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : 27
Duration                                 : 2 h 2 min
Bit rate mode                            : Variable
Maximum bit rate                         : 28.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Video #2
ID                                       : 4114 (0x1012)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Stereo High@L4.1
MultiView_Count                          : 2
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : 32
Duration                                 : 2 h 2 min
Bit rate mode                            : Variable
Maximum bit rate                         : 15.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : 134
Duration                                 : 2 h 2 min
Bit rate mode                            : Variable
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossless
Delay relative to video                  : -17 s 400 ms
Language                                 : Chinese

I’m running the 4.9 test build, so it could be connected to that.

Do you have a sample of that file so I could test myself? It looks like the skin is doing something wrong or rather I’ve overlooked an edge case in the conditional visibilities of the media flags.

I have prepared a sample. Is there anywhere specific that you’d like me to upload it to?

Okay, you should be able to download the sample from here:

https://www.transfernow.net/files/?utm_source=EusVel042020&utm_medium=&utm_content=en

Will check this out and see what’s up here :+1:t2:

Unfortunately, that sample doesn’t help. Kodi is not reading the codec information here at all as the information is delivered in the stream too late (after about 17MB). Therefore, I don’t see any media flag information except the length…

M2TS files don’t have stream information like other containers do. That make them candidates for flaky readouts by Kodi. The default analysis done by Kodi’s ffmpeg is only 50KB. If the information required is not found there, it’s either missing entirely or only partially available.

Well, it could be that the sample (and the original) are weird in some way; but even so, it’s clear from the way it looks that Kodi is displaying one line of text immediately on top of another instead of below it; and no matter what state the file is in, it shouldn’t be doing that.

I verified that it does the same thing with the sample file.

The issue is I can’t reproduce it here. It looks very much to me like your Kodi has only picked up audio codec information, but no video codec information. In that case the media flags should not show anything as that’s not valid information for a video - which the media flags are only made for.

Could you show me a screenshot of the video info dialog of that video showing both the video information (below the MPAA rating) and the audio stream information (on the second video info dialog page by default)? That could give me a hint as to which information your Kodi database is providing for this particular video.

And could you let me know the output of dpkg -l | grep mediacenter-skin-osmc? As I’ve reworked the media flags again a short while ago, I’d like to make sure you’re using the latest skin version.

That (analyseduration) will change to improve some more M2TS playback issues we have been having.

I’m not sure which dialog you mean. This?

Or this?

osmc@Vero4K:~$ dpkg -l | grep mediacenter-skin-osmc

ii  mediacenter-skin-osmc                18.2.0-37                         all          OSMC skin for mediacenter

The first one of the two is the one I’m looking for. Could you post a screenshot of the second page of that dialog - by pressing the ‘Plot’ button focused in that screenshot?

Ok. You’re not seeing any audio or video codec information like I do here. Thank you for the screenshots!

Last, but not least: which setting for the media flags have you set in the skin settings under ‘Advanced’?

Media flags information shown: File first.

FYI you can ssh and run

kodi-send -a TakeScreenshot

instead of using your phone if you want.

1 Like

Where does it put the resulting picture?

The first time you take a screenshot it should ask you but the setting is is in settings>system>logging>screenshot folder>

I just set mine to /home/osmc/Pictures/ and grab them via SMB as that folder is already shared by default (if you have SMB installed that is).

Thank you! Although I can’t reproduce, I had one idea what could cause this - although it’s an extreme corner case of Kodi providing only partial information for a video which it normally shouldn’t do.

Hopefully the issue is now addressed with the following commit: #4246783

If you’re on our 3.14 kernel (March update), you may test this via staging (should have synced in about an hour):

  1. Login via the command line
  2. Edit the file /etc/apt/sources.list
  3. Add the following line: deb http://apt.osmc.tv stretch-devel main
  4. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  5. Your system should have have received the update.

Please see if the issue is resolved.

I’m on 4.9, I’m afraid.

I’m being told that you can use the staging repo while being in the 4.9 testing channel :slightly_smiling_face: