Black screen while watching some iptv streams

Discussion in 'General Support' started by doskabouter, January 12, 2019.

  1. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,767
    Likes Received:
    734
    Location:
    Nuenen
    Ratings:
    +1,084 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Hi,



    Sometimes when I tune to a channel I only get a black screen without any audio.
    Mediaportal responds normally while watching that black screen so it's no hangup.

    I've compiled a testset with logs (from mp1.19, just tested with 1.20 and it has the same problems)
    In the zip you'll find 2 folders: Black RTL 4 (this is the channel that gives me the black image) and for comparison also a successful watch of a different channel (Ok RTL 5).
    First I thought it was the tvserver which didn't decode things correctly but both the tsbuffer.ts files play correctly in vlc.
    I've also added a streaminfo,txt file in both folders with the stream-properties as shown by mediainfo.
    Do see some differences in there, but I don't know if they can cause the image to remain black.

    After checking with graphstudio (does indeed the same as MP: black screen on the RTL4 .ts file and normal playback of the RTL 5 .ts file) there are also some differences in the graphbuilding, all in the Video renderer (4. [Microsoft DTV-DVD Video Decoder]/(Video Output 1) -> [Video Renderer]/(VMR Input0))
    Code (Text):
    1.  
    2. RTL 5 Ok                                RTL 4 Black
    3. Major:   MEDIATYPE_Video                Major:   MEDIATYPE_Video      
    4. Subtype: MEDIASUBTYPE_NV12              Subtype: MEDIASUBTYPE_NV12    
    5.     bFixedSizeSamples:    TRUE              bFixedSizeSamples:    TRUE
    6.     bTemporalCompression: FALSE             bTemporalCompression: FALSE
    7.     lSampleSize:    3110400                 lSampleSize:    3110400  
    8.     cbFormat: 1136                          cbFormat: 1152            
    9. Format:  FORMAT_VIDEOINFO2              Format:  FORMAT_VIDEOINFO2    
    10. VIDEOINFOHEADER2:                       VIDEOINFOHEADER2:            
    11.     rcSource: (0,0,1920,1080)               rcSource: (0,0,1920,1080)  
    12.     rcTarget: (0,0,1920,1080)               rcTarget: (0,0,1920,1080)  
    13.     dwBitRate:622080000                     dwBitRate:622080000      
    14.     dwBitErrorRate: 0                       dwBitErrorRate: 0        
    15.     AvgTimePerFrame:400000                  AvgTimePerFrame:400000    
    16.     dwInterlaceFlags:     129               dwInterlaceFlags:     129  
    17.     dwCopyProtectFlags:   0                 dwCopyProtectFlags:   1  
    18.     dwPictAspectRatioX:   16                dwPictAspectRatioX:   1920
    19.     dwPictAspectRatioY:   9                 dwPictAspectRatioY:   1080
    20.     dwControlFlags: 0                       dwControlFlags: 679518337  
    21. BITMAPINFOHEADER:                       BITMAPINFOHEADER:            
    22.     biSize:   40                            biSize:   40              
    23.     biWidth:  1920                          biWidth:  1920            
    24.     biHeight: 1080                          biHeight: -1080          
    25.     biPlanes: 1                             biPlanes: 1              
    26.     biBitCount:     12                      biBitCount:     12        
    27.     biCompression:  0x3231564E              biCompression:  0x3231564E
    28.     biSizeImage:    3110400                 biSizeImage:    3110400  
    29.     biXPelsPerMeter:0                       biXPelsPerMeter:0        
    30.     biYPelsPerMeter:0                       biYPelsPerMeter:0        
    31.     biClrUsed:0                             biClrUsed:0              
    32.     biClrImportant: 0                       biClrImportant: 0        
    33.  
    Notable changes: dwFormat.dwCopyProtectFlags.dwPictAspectRatioX,dwPictAspectRatioY, dwControlFlags and biHeight
    What strikes me as odd (triple checked it) is that the playable file has the dwCopyProtectFlags set to 1 while the non-playable is 0.
    If it were the other way around, I would kind of expect the behavior...

    Is this file indeed not playable with standard directshow codecs, or am I missing something here?
     

    Attached Files:

    • testtv.7z
      File size:
      41.4 MB
      Uploaded:
      January 12, 2019
      Views:
      24
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,227
    Likes Received:
    6,188
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,179 / 9
    Home Country:
    France France
    Show System Specs
    Hi :)
    Yep not playable with LAV Filter along in graph studio, this is weird, it plays correctly with VLC :)
    Maybe @Owlsroost has an idea :p
     
  4. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,767
    Likes Received:
    734
    Location:
    Nuenen
    Ratings:
    +1,084 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    I suspect VLC has some more trickery for playback than LAV...
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!