Another Green Screen

I found a bunch of videos which are giving me the green screen, where audio plays, but the video is just a block of solid green. MediaInfo shows something similar to this (some have a slightly different ‘Writing Library’) on the files in question:

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP2
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Muxing mode                              : Packed bitstream
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 48 min 55 s
Bit rate                                 : 922 kb/s
Width                                    : 560 pixels
Height                                   : 416 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.165
Stream size                              : 323 MiB (92%)
Writing library                          : XviD 1.0.3 (UTC 2004-12-20)

I just updated to the latest release and it’s happening there, just like it was on the previous OSMC version. If you want a copy of the video file, let me know how you’d like it provided. Also, let me know if a Kodi log file would help and, if so, where you’d prefer I upload it (pastebin, etc.).

Thanks.

Does the issue occur if you disable hardware acceleration?

The bitstream is probably unsupported.

Just checked, and it does not occur with HW acceleration disabled. Gonna be annoying to remember to keep switching that on and off, but at least there’s a workaround.

Thanks.

You could just set acceleration to HD and up and it should work.

Sam

Ah, that’d work just fine. Thanks for the tip, Sam! Since these are in SD, I set mpeg2, mpeg4, and h264 acceleration to “HD and up”. That seems to be working. If I come across some HD content that gives a green screen, I’ll change them to disabled.

You shouldn’t find a lot of XVid in higher resolutions, so I think you’ll be fine.

Sam

LOL! Very good point! :sweat_smile:

However, I did find it a bit odd that I needed to turn on HW acceleration for some MPEG2 videos at just 480p because they were stuttering:

Video
ID                                       : 1
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Format settings, picture structure       : Frame
Codec ID                                 : V_MPEG2
Codec ID/Info                            : MPEG 1 or 2 Video
Duration                                 : 25 min 0 s
Bit rate mode                            : Variable
Bit rate                                 : 4 419 kb/s
Maximum bit rate                         : 9 800 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.427
Time code of first frame                 : 00:59:59;00
Time code source                         : Group of pictures header
Stream size                              : 790 MiB (96%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601